| -@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul-jobs] 956219: Add default for build diskimage image name https://review.opendev.org/c/zuul/zuul-jobs/+/956219 | 10:03 | |
| @kacper_lysiak:matrix.org | Issue with configuring zuul_job_duration and zuul_job_count metrics in StatsD — match conflict | 11:33 |
|---|---|---|
| Hi, | ||
| I'm having trouble configuring the zuul_job_duration and zuul_job_count metrics with the StatsD backend. I'm following the official documentation at https://zuul-ci.org/docs/zuul/latest/monitoring.html, and everything is set up as described there. | ||
| The issue is that both metrics (zuul_job_duration and zuul_job_count) use the same match pattern: | ||
| match: 'zuul.tenant..pipeline..project....job..*' | ||
| However, StatsD does not allow defining two metrics with the same match pattern('zuul.tenant.*.pipeline.*.project.*.*.*.job.*.*'), which results in an error and prevents the metrics from being collected. | ||
| I tried to resolve this by modifying the match pattern for one of the metrics using a regular expression, like this: | ||
| match: 'zuul\.tenant\..*\.pipeline\..*\.project\..*\..*\..*\.job\..*\.[A-Za-z_]+' | ||
| But that also doesn’t work — the metric is still not being collected. | ||
| Is there a way to properly configure both metrics so they can work in parallel, even though their naming patterns are similar? Or is there another filtering mechanism or configuration approach I should be using with StatsD? | ||
| Thanks in advance for your help! | ||
| Kacper | ||
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 954988: Stub provider documentation https://review.opendev.org/c/zuul/zuul/+/954988 | 14:31 | |
| @fajfer:reszka.org | `level=WARN source=fsm.go:293 msg="match is a super set of match but in a lower order, the first will never be matched" first_match=zuul.tenant.*.pipeline.*.project.*.*.*.job.*.* second_match=zuul.tenant.*.pipeline.*.project.*.*.*.job.*.*` | 14:40 |
| I can see the exact issue regarding this on GitHub - https://github.com/prometheus/statsd_exporter/issues/228 | ||
| @fajfer:reszka.org | looks like it was fixed in june 2019, so 6 years ago for the exporter | 14:40 |
| @jim:acmegating.com | looks like you're talking about prometheus. my recommendation would be to avoid storing those metrics in prometheus. it doesn't deal well with that level of cardinality (graphite is fine with it though). zuul now has runtime graphs directly in the web ui, so there are alternative ways of visualizing those data now. | 14:57 |
| @mnasiadka:matrix.org | Ok, I think another stupid question. Any users of the GitHub driver? Looking for an option to by default run jobs only when the uploader is from the same github org as the repository? | 15:22 |
| I see there are pipeline requirements options, but nothing around similar functionality. My downstream is persistent on this, because GH Actions have a similar option (approve CI runs for collaborators outside of GH organisation). | ||
| -@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 956187: Reduce endpoint quota limit queries https://review.opendev.org/c/zuul/zuul/+/956187 | 15:28 | |
| -@gerrit:opendev.org- Michal Nasiadka proposed: [zuul/zuul] 955373: github-reference-pipeline: Fix error in state: https://review.opendev.org/c/zuul/zuul/+/955373 | 16:03 | |
| -@gerrit:opendev.org- Michal Nasiadka proposed: [zuul/zuul] 955373: github-reference-pipeline: Fix error in state: https://review.opendev.org/c/zuul/zuul/+/955373 | 16:03 | |
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 957171: Fix race in web stats https://review.opendev.org/c/zuul/zuul/+/957171 | 17:47 | |
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: | 18:29 | |
| - [zuul/zuul] 957173: Add AsList to AWS driver https://review.opendev.org/c/zuul/zuul/+/957173 | ||
| - [zuul/zuul] 957174: AWS: Add security-group-ids parameter https://review.opendev.org/c/zuul/zuul/+/957174 | ||
| - [zuul/zuul] 957175: AWS: Remove security-group-id https://review.opendev.org/c/zuul/zuul/+/957175 | ||
| - [zuul/zuul] 957176: Add AsList to openstack driver https://review.opendev.org/c/zuul/zuul/+/957176 | ||
| -@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 956055: Add uploadplanner https://review.opendev.org/c/zuul/zuul/+/956055 | 19:10 | |
| -@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 956575: Allow control of upload methods https://review.opendev.org/c/zuul/zuul/+/956575 | 19:32 | |
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 957176: Add AsList to openstack driver https://review.opendev.org/c/zuul/zuul/+/957176 | 20:04 | |
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: | 20:12 | |
| - [zuul/zuul] 956736: Add image, flavor, label defaults section https://review.opendev.org/c/zuul/zuul/+/956736 | ||
| - [zuul/zuul] 956737: Remove backwards compatibility for some provider settings https://review.opendev.org/c/zuul/zuul/+/956737 | ||
| - [zuul/zuul] 957053: Move zuul image tags definition to base provider https://review.opendev.org/c/zuul/zuul/+/957053 | ||
| - [zuul/zuul] 957054: Move label tags to common_label https://review.opendev.org/c/zuul/zuul/+/957054 | ||
| - [zuul/zuul] 954988: Stub provider documentation https://review.opendev.org/c/zuul/zuul/+/954988 | ||
| - [zuul/zuul] 957173: Add AsList to AWS driver https://review.opendev.org/c/zuul/zuul/+/957173 | ||
| - [zuul/zuul] 957174: AWS: Add security-group-ids parameter https://review.opendev.org/c/zuul/zuul/+/957174 | ||
| - [zuul/zuul] 957175: AWS: Remove security-group-id https://review.opendev.org/c/zuul/zuul/+/957175 | ||
| - [zuul/zuul] 957176: Add AsList to openstack driver https://review.opendev.org/c/zuul/zuul/+/957176 | ||
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 957184: Avoid relative priority updates on completed requests https://review.opendev.org/c/zuul/zuul/+/957184 | 20:46 | |
| -@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul-jobs] 957188: Vendor openvswitch_bridge https://review.opendev.org/c/zuul/zuul-jobs/+/957188 | 22:35 | |
| -@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul-jobs] 957188: Vendor openvswitch_bridge https://review.opendev.org/c/zuul/zuul-jobs/+/957188 | 22:49 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!