# Gitlab Job Exporter
Prometheus exporter providing some metrics concerning gitlab job runtime
## Installation
```
pip install gitlab_job_exporter
```
In the example folder exists a sample systemd unit file template.
## Usage
Configuration file
`/etc/prometheus/gitlab_job_exporter.json`
The exporter needs a configuration file in json format. The location of that file has to be passed via command line argument:
`./gitlab_job_exporter --config /etc/prometheus/gitlab_job_exporter.json`
Example configuration file:
```json
{
"port":"9118",
"interval":"10",
"git_url":"<gitlab-url>",
"git_project_id":"1234",
"git_token":"XXXXXYYYYYYZZZZZZ",
"git_branch":"gitlab_branch_example"
}
```
Prometheus exporter providing some metrics concerning gitlab job runtime
## Installation
```
pip install gitlab_job_exporter
```
In the example folder exists a sample systemd unit file template.
## Usage
Configuration file
`/etc/prometheus/gitlab_job_exporter.json`
The exporter needs a configuration file in json format. The location of that file has to be passed via command line argument:
`./gitlab_job_exporter --config /etc/prometheus/gitlab_job_exporter.json`
Example configuration file:
```json
{
"port":"9118",
"interval":"10",
"git_url":"<gitlab-url>",
"git_project_id":"1234",
"git_token":"XXXXXYYYYYYZZZZZZ",
"git_branch":"gitlab_branch_example"
}
```
Release files for gitlab-job-exporter 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitlab-job-exporter-0.0.9.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitlab_job_exporter-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / gitlab-job-exporter-0.0.9.tar.gz
| Download URL | gitlab-job-exporter-0.0.9.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4511e10d000ae0e63ad9e361ca502d40ea8a3ae0a06f71f24a840289c7254dbc
|
|
BLAKE2b-256 checksum How to use checksums |
3152762536c2cb0e6f05dc131978582e9d8cf82e707bc9af687d6eeb008b9f76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/18.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.0
|
Release files / gitlab_job_exporter-0.0.9-py3-none-any.whl
| Download URL | gitlab_job_exporter-0.0.9-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9957ace0634d1d922d7beb6f8014c9c43b07ddb47650987704ac7435ae41c73b
|
|
BLAKE2b-256 checksum How to use checksums |
a0ee81a957901393ce932bc57ce7d7481d22083b742946e78f50760e7f57ac02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/18.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.0
|