Replies: 3 comments 1 reply
-
|
We use Sloth with Mimir backend. As far as I am aware, Sloth does not have native Mimir integration which would allow defining SLOs across multiple tenants or run federated queries. What we have done so far (a very simplified version)
There's quite a bit of structure and logic around how tenants and Mimir endpoints are chosen for deployment of rules. There's no use of query federation at the moment though. Users usually define SLOs based on metrics available to them in a specific tenant. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the comment, @ishantanu really helpful! We’re in a similar situation. Managing the creation and deployment of rules per tenant is doable with automation, especially using tools like Is it possible for Sloth to support querying metrics from other tenants? For example, could we specify a source tenant or org scope for this SLI? version: "prometheus/v1"
service: "myapp"
labels:
owner: "myteam"
slos:
- name: "http-availability"
objective: 99.99
description: "Common SLO based on availability for HTTP request responses."
sli:
events:
# Specify the tenant(s) from which to query metrics for this SLI. Useful for federated setups.
source: ["other_metrics_tenant"]
error_query: |
sum(
rate(http_request_duration_seconds_count{job="myapp", code=~"(5..|429)"}[{{.window}}])
)
total_query: |
sum(
rate(http_request_duration_seconds_count{job="myapp"}[{{.window}}])
)This would enable federated or cross-tenant queries in backends like Mimir. Would be great to know if others are exploring similar ideas or if something like this is already being considered upstream in Sloth. |
Beta Was this translation helpful? Give feedback.
-
|
Hi there folks! 👋 In the next release ( Check this one #687, there you can see that you already can start testing it. Hope this solves some of your use cases too 😄. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I’m exploring the use of Sloth to generate and manage SLOs in a multi-tenant observability stack. We’re currently using Grafana Mimir as our backend, which supports multi-tenancy and federated queries across tenants (via X-Scope-OrgID and tenancy-aware query endpoints).
I wanted to ask:
Would love to hear from anyone who has done something similar—or if this is something on the roadmap.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions