Details
Assignee
UnassignedUnassignedReporter
Ron RoskensRon RoskensLabels
Components
Affects versions
Priority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Ron Roskens
Ron RoskensLabels
Components
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created May 21, 2013 at 1:08 PM
Updated September 21, 2021 at 9:15 PM
As it currently stands, the PersistRegexSelectorStrategy will do an "OR" based evaluation of its parameters to determine whether to persist a particular data source. It defaults to false and if any parameters return a TRUE, the metric is persisted.
It would be nice to be able to do the reverse, and default to TRUE, and use the matching to select which metrics to exclude. This way you could split your exclusion regexp out into individual matching parameters.
I notice that the source for PersistRegexSelectorStrategy.java has the following TODOs:
/*
TODO Implement "match-strategy" (allow/deny)
TODO Implement "match-behavior" (any/all)
*/
so it seems that some of these ideas were already thought of, just not implemented.