Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce emitted metric count by not emitting metrics with count 0 #42

Merged
merged 3 commits into from
May 31, 2023

Conversation

alexevanczuk
Copy link
Contributor

We have a high cardinality of metrics with hundreds of packs due to pack to pack violation metrics.

By not emitting metrics with a value of zero, we should get way fewer metrics emitted without much loss of the information in the dashboard.

Right now, it shows "zero" values for each pack to pack relationship where there are no violations. This is not really that useful and we can infer zero based on the lack of data if we need.

Furthermore, since ZP doesn't use architecture of visibility checkers, those will stop showing up since there are always zero pack to pack violations there.

@alexevanczuk alexevanczuk merged commit ae236a6 into main May 31, 2023
10 checks passed
@alexevanczuk alexevanczuk deleted the ae-do-not-emit-per-package-metrics-if-zero branch May 31, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant