mvisonneau / gitlab-ci-pipelines-exporter

Prometheus / OpenMetrics exporter for GitLab CI pipelines insights
Apache License 2.0
1.25k stars 237 forks source link

Average Pipeline Run Frequency - N/A #678

Open XDavidT opened 1 year ago

XDavidT commented 1 year ago

Average Pipeline Run Frequency panel is show "N/A", not sure why ref photo: https://i.imgur.com/l2GzvSc.png

I've looked into avg(time() - gitlab_ci_pipeline_timestamp{project=~".*", ref=~".*"}) and found it's working well: https://i.imgur.com/sj78zTu.png

Not sure where the problem is, any suggestion where to start?

TosinDevOps commented 1 year ago

Hi there, I'm having the same issue as well. Where you able to resolve it? Please let me know how. Thanks!

toby181 commented 3 months ago

Hey, I stumbled across this issue and was able to fix it. If your selection for 'Fields' in "Value options" is a regex like this image

select "Numeric Fields" instead

image