Metric types supported by Pyrra #1194
Unanswered
jfsmith-at-coveo
asked this question in
Q&A
Replies: 1 comment
-
Pyrra currently only supports ratio, latency, latencyNative, and bool gauge SLIs. The example metrics you mentioned might fit in the bool gauge SLI if you create a recording rule in Prometheus but using
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm not quite yet comfortable with Prometheus, so I apologize for the noobish question.
I'm trying to set up a trial POC with Pyrra and some Prometheus metrics I'm pushing through Pushgateway.
I was using gauges, but my various attempts at finding the right query to set in my ServiceLevelObjective resource end up breaking Pyrra, where it tells me the metric is not a vectorSelector.
For example, stuff like my_metric{mylabel = "myvalue"} > 100000 or even avg(my_metric{mylabel = "myvalue"} > 100000). All perfectly good queries when trying my hand with them in Thanos.
Looking at the examples, the docs and the answers to various questions/issues, I always see {le="somevalue"} being used, which seem to suggest that Histograms are the norm, at least for latency SLOs.
Does Pyrra only support Histograms for that use case?
Beta Was this translation helpful? Give feedback.
All reactions