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

pkg/rules: consider group name and file for deduplication #3024

Merged
merged 1 commit into from
Aug 13, 2020

Commits on Aug 12, 2020

  1. pkg/rules: consider group name and file for deduplication

    Currently only the group name is considered for group deduplication.
    However prometheus uses also the group file according to [1].
    
    This fixes it.
    
    [1] https://github.com/prometheus/prometheus/blob/ce838ad6fcbd14b0cf9971a4d093ad672e1469fe/rules/manager.go#L1047-L1055
    
    Signed-off-by: Sergiusz Urbaniak <[email protected]>
    s-urbaniak committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    20795bf View commit details
    Browse the repository at this point in the history