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

Overriding the sloth_id doesn't work #513

Open
clarissalimab opened this issue Jun 20, 2023 · 0 comments
Open

Overriding the sloth_id doesn't work #513

clarissalimab opened this issue Jun 20, 2023 · 0 comments

Comments

@clarissalimab
Copy link

In certain circumstances, we wanted to manage the sloth_id to "reset" SLOs' budgets, like that:

    - name: "example-slo"
      objective: 90
      description: "An example SLO"
      labels:
        sloth_id: custom-id
      sli:
        events: ...

If we set up that label, the recording rules correctly use the overridden sloth_id, but the queries for the Prometheus rules don't.

Is there a quick fix for that where we could make the queries use the sloth_id instead of the name of the SLO?

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

No branches or pull requests

1 participant