Difference between revisions of "Log API"
(Created page with '== Introduction == The purpose of a log API is to make detailed queries on the vistrails execution log possible. An index has been created that can answer high-level queries abo…') |
|||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
The purpose of a log API is to make detailed queries on the vistrails execution log possible. An index has been created that can answer high-level queries about workflow executions. However, to enable queries on individual module executions, the log inside each vistrail file need to be accessed. Also, to answer queries related to workflow modules such as parameters, the original workflow pipeline need to be correlated | The purpose of a log API is to make detailed queries on the vistrails execution log possible. An index has been created that can answer high-level queries about workflow executions. However, to enable queries on individual module executions, the log inside each vistrail file need to be accessed. Also, to answer queries related to workflow modules such as parameters, the original workflow pipeline need to be correlated with the execution log. | ||
The information required to process different log queries can be divided into 3 parts: | The information required to process different log queries can be divided into 3 parts: | ||
Line 34: | Line 34: | ||
* Failed executions of a specific module type | * Failed executions of a specific module type | ||
* Visual Query where a specific module type is connected to a module that have failed. | * Visual Query where a specific module type is connected to a module that have failed. | ||
* All failed executions of a module with a specific parameter. | * All failed executions of a specific module type with a specific parameter. | ||
== Summary == | == Summary == |
Revision as of 17:16, 7 February 2011
Introduction
The purpose of a log API is to make detailed queries on the vistrails execution log possible. An index has been created that can answer high-level queries about workflow executions. However, to enable queries on individual module executions, the log inside each vistrail file need to be accessed. Also, to answer queries related to workflow modules such as parameters, the original workflow pipeline need to be correlated with the execution log.
The information required to process different log queries can be divided into 3 parts:
Part 1: Queries only requiring information from the index that are fast to process
The index contains execution-level information such as:
- start-end time of pipeline executions
- user
- result (success, failed, cached, or not executed).
Example queries:
- Time range queries, e.g. executions on a specific day or month.
- Specific users or execution results
Part 2: Queries on individual module executions
The log contains module-level execution information such as:
- start-end times of module executions
- result (success, failed, cached, or not executed).
- Errors
- Execution annotations
Example queries:
- Module execution lasting more than 5 minutes
- Error annotation containing a specific word
Part 3: Queries on module types and parameters
The vistrail contain the pipeline information which includes:
- Module types
- Parameters
- Module annotations
- Connections
Example queries:
- Failed executions of a specific module type
- Visual Query where a specific module type is connected to a module that have failed.
- All failed executions of a specific module type with a specific parameter.
Summary
It would be good to ask users which types of queries are important, as not all types of queries may be required in day-to-day work.
It may be the case that most queries can be answered by using the index, and more advanced queries can be answered by using an execution viewer, that should contain all the module executions for a specific pipeline execution as well as the relevant pipeline.