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.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.base_git module

This module defines the common functions for error reporting for Galaxy jobs towards Git applications (e.g. Github/GitLab).

class galaxy.tools.error_reports.plugins.base_git.BaseGitPlugin[source]

Bases: galaxy.tools.error_reports.plugins.ErrorPlugin

Base definition to send error reports to a Git repository provider

issue_cache = {}
ts_urls = {}
ts_repo_cache = {}
git_project_cache = {}
label_cache = {}
git_username_id_cache = {}
git_default_repo_owner = False
git_default_repo_name = False
git_default_repo_only = True

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.gitlab module

The module describes the gitlab error plugin plugin.

class galaxy.tools.error_reports.plugins.gitlab.GitLabPlugin(**kwargs)[source]

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

Send error report to GitLab.

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

Submit the error report to GitLab

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