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

chore: lightpush - error metric less variable by only setting a fixed string #3020

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

Ivansete-status
Copy link
Collaborator

@Ivansete-status Ivansete-status commented Sep 5, 2024

Description

Avoid having a too-variable metric by preventing adding the msg_hash on it. In that case, we are just adding a fixed string, not_published_to_any_peer, when the condition "Lightpush request has not been published to any peers" is met.

Thanks for the detailed description @jakubgs 🙌

Issue

bug: absurdly high cardinality of waku_lightpush_errors metrics
closes #3019

Copy link

github-actions bot commented Sep 5, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3020

Built from 3fb859e

@Ivansete-status Ivansete-status marked this pull request as ready for review September 5, 2024 08:21
Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yessss

@Ivansete-status Ivansete-status merged commit d3e6717 into master Sep 10, 2024
9 of 11 checks passed
@Ivansete-status Ivansete-status deleted the fix-too-variable-metric branch September 10, 2024 15:30
This pull request was closed.
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.

bug: absurdly high cardinality of waku_lightpush_errors metrics
4 participants