UNCLASSIFIED - NO CUI

Skip to content

Support Regular Expression In Prometheus Target Checks

In our validatePromTarget command, we currently only support text matching. This results in us having to "hard-code" expected values in our tests.

By modifying our command logic, we can support a regular expression passed in with pattern matching to make sure we match x/x up which will work regardless of the number of actual pods installed in the cluster.

Edited by Michael Martin