Resolve "Support Regular Expression In Prometheus Target Checks"
General MR
Summary
Adds support of passing in a Regular Expression when matching the Prometheus targets expected up pods.
Using a grouping, we verify that if x pods are running in the cluster , then only x/x up
will match the regex.
This also accepts a plain text match string as currently implemented. So, it should provide backward compatibility.
A sample of this working in the Monitoring package can be found here: monitoring!393 (merged)
Also tested this on a local k8s cluster with Big Bang umbrella chart to verify the tests work as expected with a different number of pods.
Linked Issue
Issue #55 (closed)
Upgrade Notices
N/A
Merge request reports
Activity
changed milestone to %2.40.0
added gluon kindfeature statusdoing labels
assigned to @michaelmartin
added 1 commit
- e6b03a54 - support regular expressions in the validatePromTarget command
added statusreview label and removed statusdoing label
mentioned in commit 684d5a57