Skip to main content

prometheus exporter for exporting job metrics in a project

Project description

# GitLab CI Jobs Exporter This tool allows for exporting build job metrics from GitLab CI. It is used to monitor the experience as a user of the CI infrastructure. More information at https://xinau.ch/notes/prometheus-gitlab-job-exporter/

## Installation ` pip install gitlab_jobs_exporter ` In the examples folder exists a sample systemd unit file template.

## Usage Required environment variables are: - ACCESS_TOKEN api token https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html

Required arguments are: - –url url of your gitlab instance (https://gitlab.example.com) - –project project id of your jobs

Optional arguments are: - –interval the scrape interval in seconds (default 10s) - –port the port on which the server runs (default 9118)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitlab-jobs-exporter-0.2.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

gitlab_jobs_exporter-0.2.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page