Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.job_metrics package¶
This module defines the job metrics collection framework for Galaxy jobs.
The framework consists of two parts - the JobMetrics class and
individual JobInstrumenter plugins.
A JobMetrics object reads any number of plugins from a configuration
source such as an XML file, a YAML file, or a dictionary.
Each JobInstrumenter plugin object describes how to inject a bits
of shell code into a job scripts (before and after tool commands run) and then
collect the output of these from a job directory.
-
class
galaxy.job_metrics.JobMetrics(conf_file=None, **kwargs)[source]¶ Bases:
objectLoad and store a collection of
JobInstrumenterobjects.-
__init__(conf_file=None, **kwargs)[source]¶ Load
JobInstrumenterobjects from specified configuration file.
-
format(plugin, key, value)[source]¶ Find
formatting.JobMetricFormattercorresponding to instrumented plugin value.
-
-
class
galaxy.job_metrics.JobInstrumenter(plugin_classes, plugins_source, **kwargs)[source]¶ Bases:
object
Subpackages¶
- galaxy.job_metrics.collectl package
- galaxy.job_metrics.instrumenters package
- Submodules
- galaxy.job_metrics.instrumenters.cgroup module
- galaxy.job_metrics.instrumenters.collectl module
- galaxy.job_metrics.instrumenters.core module
- galaxy.job_metrics.instrumenters.cpuinfo module
- galaxy.job_metrics.instrumenters.env module
- galaxy.job_metrics.instrumenters.hostname module
- galaxy.job_metrics.instrumenters.meminfo module
- galaxy.job_metrics.instrumenters.uname module