-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(judge): add ability to mute metric result from total score compu…
…tation (#819) Co-authored-by: Justin Field <[email protected]>
- Loading branch information
Showing
11 changed files
with
151 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
kayenta-integration-tests/src/test/resources/canary-configs/prometheus/muted-metric.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"name": "integration-test-canary-config", | ||
"description": "A very simple config for integration testing", | ||
"judge": { | ||
"judgeConfigurations": {}, | ||
"name": "NetflixACAJudge-v1.0" | ||
}, | ||
"metrics": [ | ||
{ | ||
"name": "Failing metric", | ||
"query": { | ||
"type": "prometheus", | ||
"metricName": "integration_failing_metric", | ||
"customFilterTemplate": "standard-template" | ||
}, | ||
"analysisConfigurations": { | ||
"canary": { | ||
"critical": true, | ||
"muted": true, | ||
"direction": "increase" | ||
} | ||
}, | ||
"groups": [ | ||
"pod-group" | ||
], | ||
"scopeName": "default" | ||
}, | ||
{ | ||
"name": "Successful metric", | ||
"query": { | ||
"type": "prometheus", | ||
"metricName": "integration_successful_metric", | ||
"customFilterTemplate": "standard-template" | ||
}, | ||
"analysisConfigurations": { | ||
"canary": { | ||
"critical": true, | ||
"direction": "increase" | ||
} | ||
}, | ||
"groups": [ | ||
"pod-group" | ||
], | ||
"scopeName": "default" | ||
} | ||
], | ||
"templates": { | ||
"standard-template": "namespace='${namespace}', scope='${scope}'" | ||
}, | ||
"classifier": { | ||
"groupWeights": { | ||
"pod-group": 100 | ||
}, | ||
"scoreThresholds": { | ||
"marginal": 50, | ||
"pass": 75 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters