forked from kube-burner/kube-burner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding churn metrics (kube-burner#599)
## Type of change - [x] Refactor - [x] New feature - [ ] Bug fix - [ ] Optimization - [ ] Documentation Update ## Description Adding a flag to filter out churn metrics among the metrics collected from our metrics and alert profiles. ## Related Tickets & Documents - Related Issue # kube-burner#594 - Closes # https://issues.redhat.com/browse/PERFSCALE-2840 ## Testing Tested in local using the below command and observed its behavior before and after churn. ``` kube-burner init -c kube-burner.yml --uuid="${UUID}" --log-level=debug -m metrics-profile.yaml -u $PROM_URL -t $PROM_TOKEN -a alert-profile.yaml ``` If churn is enabled, we will see a `churnMetric: true` flag in relevant metrics or else we see it. Keeping it this way to keep our docs content optimal. fields in jobSummary ``` "churnStartTimestamp": "2024-02-24T23:42:12.259757696Z", "churnEndTimestamp": "2024-02-24T23:44:04.688532369Z", ``` fields in metrics ``` "query": "histogram_quantile(0.99, sum(rate(ovnkube_master_network_programming_duration_seconds_bucket{kind=\"service\"}[2m])) by (le))", "churnMetric": true, "metricName": "serviceSyncLatency", ``` --------- Signed-off-by: Vishnu Challa <[email protected]> Co-authored-by: Vishnu Challa <[email protected]>
- Loading branch information
1 parent
1aba04c
commit f51585d
Showing
8 changed files
with
62 additions
and
44 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
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