Skip to content

gitlab-ci-pipelines-exporter: add support for redis configuration options#107

Open
jkruke wants to merge 1 commit into
mvisonneau:mainfrom
jkruke:main
Open

gitlab-ci-pipelines-exporter: add support for redis configuration options#107
jkruke wants to merge 1 commit into
mvisonneau:mainfrom
jkruke:main

Conversation

@jkruke

@jkruke jkruke commented May 6, 2026

Copy link
Copy Markdown

This PR adds redis TTL configuration options to the sanitized configmap.
Otherwise, redis entries always expire after 1h (metrics, refs) and 168h (projects). When using webhooks this leads to frequent metric loss for pipelines that don't run every hour. Missing metrics lead to a broken/empty Grafana Dashboard.

See TTL configuration options in the gitlab-ci-pipelines-exporter:
https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/blob/721b566a8176b61e35d43e57f522df350698df8a/pkg/config/config.go#L136-L138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant