i have an influxDB query to calculate the 95th percentile value, is there a way to translate it into a prometheus query ?
InfluxDB query :
SELECT percentile("counter_rate", 95) *8 FROM "counter_name" WHERE ("role" =~ /^$role$/) AND $timeFilter GROUP BY time(30d)
I've tried this but it doesn't seems working :
quantile_over_time(0.95,rate(counter_name{role=~"$role"}[$__range])[30d:]) *8
Is there any help please ?