Skip to content

Commit

Permalink
Make ExceptionRule reference DimensionMatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
echoi-splk committed Aug 2, 2024
1 parent 7baa774 commit 65e18f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 150 deletions.
13 changes: 7 additions & 6 deletions metric_ruleset/model_exception_rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

143 changes: 0 additions & 143 deletions metric_ruleset/model_exception_rule_matcher.go

This file was deleted.

2 changes: 1 addition & 1 deletion metric_ruleset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestCreateArchivedMetricRuleset(t *testing.T) {
{
Name: ruleName,
Enabled: true,
Matcher: metric_ruleset.ExceptionRuleMatcher{
Matcher: metric_ruleset.DimensionMatcher{
Type: "dimension",
Filters: []metric_ruleset.PropertyFilter{
{
Expand Down

0 comments on commit 65e18f6

Please sign in to comment.