Hello
I have a question about a query. When I made this PromQL expression :
avg(irate(http_server_requests_duration_seconds_sum{application="database-api",
namespace="front-search-engine",path!="/ping",path!="/health",path!="/metrics",path!="/healthcheck",status="200"}[1m])
> 0
/
irate(http_server_requests_duration_seconds_count{application="database-api",
namespace="front-search-engine",path!="/ping",path!="/health",path!="/metrics",path!="/healthcheck",status="200"}[1m])
> 0)
I have this result:
0.6882829615020314
And when I removed the > 0 from the dividend I have a different result and
I cannot undestand why...
Expression :
avg(irate(http_server_requests_duration_seconds_sum{application="database-api",
namespace="front-search-engine",path!="/ping",path!="/health",path!="/metrics",path!="/healthcheck",status="200"}[1m])
/
irate(http_server_requests_duration_seconds_count{application="database-api",
namespace="front-search-engine",path!="/ping",path!="/health",path!="/metrics",path!="/healthcheck",status="200"}[1m])
> 0)
Result :
0.025240713195708097
Does anyone here know why ? Thanks for your support [image: :+1:]
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/b8679601-6089-445a-a17c-3e18c750797e%40googlegroups.com.