On Friday 4 October 2024 at 01:59:29 UTC+1 Zhang Zhao wrote: When running a specific test case and switching the trend metric query to different quantile values in Grafana, the panels don't update properly.
I think you should first remove Grafana from the equation entirely. If the problem is something to do with Grafana, e.g. Grafana dashboard variables, then the appropriate place to ask would be the Grafana Community: https://community.grafana.com/ However, in this case it seems here that the problem is likely how you are generating the metrics in the first place and submitting them using the Remote Write protocol. You haven't shown any code which does that. If that code is part of the "k6" framework that you refer to, then probably the place you should be asking is on a discussion group for that framework. Is "$quantile_stat" a feature of Grafana or k6? That should help you decide where to focus your attention. If you still think the issue is to do with Prometheus, then you should reproduce your problem using only Prometheus components (e.g. the Prometheus web interface, which directly talks to the Prometheus web UI). You'd also need to basic information to allow the problem to be reproduced, such as what version of Prometheus you're running, and samples of the remote write requests. I would say that in general, Prometheus is very good at faithfully storing the data you give it, so if you see a problem it's likely to be "garbage in, garbage out". But if you're using one of the more bleeding-edge features like native histograms, then it's possible that you've found a Prometheus issue. -- 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/48ddf1c7-c0ec-4ee9-9e02-0a842abf3518n%40googlegroups.com.

