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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file gitlab-jobs-exporter-0.2.0.tar.gz.

File metadata

  • Download URL: gitlab-jobs-exporter-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2+

File hashes

Hashes for gitlab-jobs-exporter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5f88ad0087d46428833119d08d983c97e4c0a605d264184c9aa168f2e8fe6958
MD5 1baab3fd1351ce369aeb54c0948d850c
BLAKE2b-256 c44054408f26dce204d2a9563aa7f119d187c74a224ed03c3ae0705a9ccbd583

See more details on using hashes here.

File details

Details for the file gitlab_jobs_exporter-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gitlab_jobs_exporter-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2+

File hashes

Hashes for gitlab_jobs_exporter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dce8a705dbe7350ea337d4591ea086a6fc48c3ff38c1463be021afafb24ac92d
MD5 230f19749966d5fe93cb82d0e3034b82
BLAKE2b-256 256f3afa264eb0b65e0140d7eb72f0ed457f7461825b4582a16247341f58392c

See more details on using hashes here.

Supported by

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