You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need a Grafana Dashboard with some templating involved for the namespace and we can call it combined-slo-availability - with just a dropdown menu for all the different namespaces (namespace1, namespace2 and so ...)
Any suggestions - my templating aint the best - i know i have to use the namespace=$namespace depending on how the metrics are coming in. Im also not really in the mood to create prometheus rules for this as it consumes alot of resources / cpu for calculations.
This discussion was converted from issue #686 on April 16, 2023 11:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Ive created a few SLO's per namespace1 - based on 4 apps (app1, app2, app3, app4)
(avg_over_time(pyrra_availability{slo="http-client-requests-errors-app1-namespace1"}[14d]) * ignoring(slo) avg_over_time(pyrra_availability{slo="http-client-requests-errors-app2-namespace1"}[14d])) * ignoring(slo) (avg_over_time(pyrra_availability{slo="http-server-requests-errors-app3-namespace1"}[14d]) * ignoring(slo) avg_over_time(pyrra_availability{slo="http-server-requests-errors-app4-namespace1"}[14d])) * 100This prometheus exp works just fine.
I need a Grafana Dashboard with some templating involved for the namespace and we can call it combined-slo-availability - with just a dropdown menu for all the different namespaces (namespace1, namespace2 and so ...)
Any suggestions - my templating aint the best - i know i have to use the namespace=$namespace depending on how the metrics are coming in. Im also not really in the mood to create prometheus rules for this as it consumes alot of resources / cpu for calculations.
Beta Was this translation helpful? Give feedback.
All reactions