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

cardinality matters, n_events labels on alertmanager #79

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

epcim
Copy link

@epcim epcim commented Sep 4, 2020

What type of PR is this?

with n_events* metrics, we send actual values as labels to alertmanager -> which increases cardinality and makes impossible to aggregate alerts later.

  • this PR drpps n_events (which is just delta)
  • and replaces actuall values with string representation how many events in range was dropped (possibly could be done better with integer values) -> however the assumtion here is that it shall not happen at all.

@poiana
Copy link

poiana commented Sep 4, 2020

@epcim: There is not a label identifying the kind of this PR.
Please specify it either using /kind <group> or manually from the side menu.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@poiana poiana added the size/M label Sep 4, 2020
@epcim
Copy link
Author

epcim commented Sep 4, 2020

/assign @leodido

@epcim
Copy link
Author

epcim commented Sep 4, 2020

/king bug

outputs/alertmanager.go Outdated Show resolved Hide resolved
@Issif
Copy link
Member

Issif commented Sep 4, 2020

/approve

@poiana poiana added the approved label Sep 4, 2020
@Issif Issif self-requested a review September 4, 2020 17:51
@poiana poiana added the lgtm label Sep 4, 2020
@poiana
Copy link

poiana commented Sep 4, 2020

LGTM label has been added.

Git tree hash: 3c6320b49f2bff262e36e6fc85807ec60c063a4d

@poiana
Copy link

poiana commented Sep 4, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants