ROX-33267: Metrics to keep track of pruned process indicators#19130
Open
JoukoVirtanen wants to merge 6 commits intojv-ROX-32873-metrics-for-process-argumentsfrom
Open
Conversation
|
Skipping CI for Draft Pull Request. |
Contributor
|
Images are ready for the commit at 30ca3db. To use with deploy scripts, first |
a573092 to
7d35ef3
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## jv-ROX-32873-metrics-for-process-arguments #19130 +/- ##
===========================================================================
Coverage 49.64% 49.65%
===========================================================================
Files 2698 2698
Lines 203088 203101 +13
===========================================================================
+ Hits 100832 100851 +19
+ Misses 94734 94729 -5
+ Partials 7522 7521 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9 tasks
9 tasks
49ebcfa to
066620c
Compare
eb5c5d9 to
26f9829
Compare
142c53e to
3ce4c0a
Compare
… pruned, and net processes
677707a to
79f5280
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Prior to this PR there was already a metric for keeping track of how many process indicators are pruned because they are too similar. That metric is called
stackrox_central_pruned_process_indicators.This PR renames the metric to
rocess_indicators_removedand makes it so that it takes a parameter which is the reason for the removal. Now anytime that a process indicator is removed the metric is incremented, not just when process indicators are removed due to similarity of process arguments. Another metricprocess_indicators_removed_totalkeeps track of the total number of process indicators removed for any reason.User-facing documentation
Testing and quality
Automated testing
How I validated my change
Tested manually. Deployed ACS. Checked the metrics