UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

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

Edited by Michael Martin

Merge request reports

Merge request pipeline #3719445 passed

Merge request pipeline passed for 1c29711b

Merged by Jeffrey VictorJeffrey Victor 5 months ago (Nov 5, 2024 8:29pm UTC)

Loading

Pipeline #3719585 passed

Pipeline passed for 684d5a57 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading