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

[QUESTION] Prometheus ingester gauge query type #84

Open
sergioasantiago opened this issue Apr 11, 2022 · 0 comments
Open

[QUESTION] Prometheus ingester gauge query type #84

sergioasantiago opened this issue Apr 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sergioasantiago
Copy link
Contributor

Hey everyone!

I was wondering if it is possible to use SLO-EXPORTER to have a slo using gauges.
I'm using query type as simple in prometheus-ingester and resultAsQuantity:true and interval: 60s
My metric represents the number of calls in my gateway grouped by minute.
Something like: api_gateway_request:1m and thus this is a gauge.
Is there any suggestion on how to define the prometheus query to circumvent issues like reading duplicated values because prometheus didn 't scrape the new value yet?

@sergioasantiago sergioasantiago added the enhancement New feature or request label Apr 11, 2022
@sergioasantiago sergioasantiago changed the title [QUESTION] [QUESTION] Prometheus ingester gauge query type Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant