galaxy.tools.error_reports.plugins package

This module describes the abstract interface for InstrumentPlugin.

These are responsible for collecting and formatting a coherent set of metrics.

class galaxy.tools.error_reports.plugins.ErrorPlugin[source]

Bases: object

Describes how to send bug reports to various locations.

plugin_type

Short string providing labelling this plugin

submit_report(dataset, job, tool, user_submission=False, **kwargs)[source]

Submit the bug report and render a string to be displayed to the user.

Submodules

galaxy.tools.error_reports.plugins.biostars module

galaxy.tools.error_reports.plugins.email module

The module describes the email error plugin.

class galaxy.tools.error_reports.plugins.email.EmailPlugin(**kwargs)[source]

Bases: galaxy.tools.error_reports.plugins.ErrorPlugin

Send error report as an email

plugin_type = 'email'
__init__(**kwargs)[source]
submit_report(dataset, job, tool, **kwargs)[source]

Send report as an email

galaxy.tools.error_reports.plugins.github module

The module describes the github error plugin plugin.

class galaxy.tools.error_reports.plugins.github.GithubPlugin(**kwargs)[source]

Bases: galaxy.tools.error_reports.plugins.base_git.BaseGitPlugin

Send error report to Github.

plugin_type = 'github'
__init__(**kwargs)[source]
submit_report(dataset, job, tool, **kwargs)[source]

Submit the error report to sentry

get_label(label, git_project, issue_cache_key)[source]

galaxy.tools.error_reports.plugins.influxdb module

The module describes the influxdb error plugin plugin.

class galaxy.tools.error_reports.plugins.influxdb.InfluxDBPlugin(**kwargs)[source]

Bases: galaxy.tools.error_reports.plugins.ErrorPlugin

Send error report to InfluxDB

plugin_type = 'influxdb'
__init__(**kwargs)[source]
submit_report(dataset, job, tool, **kwargs)[source]

Submit the error report to sentry

galaxy.tools.error_reports.plugins.json module

The module describes the json error plugin.

class galaxy.tools.error_reports.plugins.json.JsonPlugin(**kwargs)[source]

Bases: galaxy.tools.error_reports.plugins.ErrorPlugin

Write error report to a JSON file.

plugin_type = 'json'
__init__(**kwargs)[source]
submit_report(dataset, job, tool, **kwargs)[source]

Write the report to a json file.

galaxy.tools.error_reports.plugins.sentry module

The module describes the sentry error plugin plugin.

class galaxy.tools.error_reports.plugins.sentry.SentryPlugin(**kwargs)[source]

Bases: galaxy.tools.error_reports.plugins.ErrorPlugin

Send error report to Sentry.

plugin_type = 'sentry'
__init__(**kwargs)[source]
submit_report(dataset, job, tool, **kwargs)[source]

Submit the error report to sentry