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

Fix 'ceph_disk_occupation' query expressions #2812

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 24, 2024

  1. Fix 'ceph_disk_occupation' query expressions

    Need to address changes in 'ceph_disk_occupation' metric labels.
    
    What is the change in 'ceph_disk_occupation' metric?
    'ceph_disk_occupation' result no longer has 'exported_instance' label,
    instead it has 'instance' label.
    
    What is the issue we are facing because of it?
    We are hitting 'PrometheusRuleFailures' due to this new label changes
    in our alerts / rules, where this metric is used.
    Second issue is that we are not seeing any results for some of the
    query expressions.
    
    What is the solution?
    Update the query expressions, change 'exported_instance' to 'instance'.
    Any 'label_replace' action which changes 'exported_instance' label to
    'instance' label is no longer required (as the 'instance' label is
    directly available now)
    
    Signed-off-by: Arun Kumar Mohan <[email protected]>
    aruniiird committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2d544db View commit details
    Browse the repository at this point in the history