Different results after panel refreshing (VictoriaMetrics/Prometheus)

  • What Grafana version and what operating system are you using?
    Grafana 9.2.0

  • What are you trying to achieve?
    I want to display graphic in Grafana panel based on simple query to VictoriaMetrics.

  • How are you trying to achieve it?
    Query:

{metric_name="change_dist_reach", method=~".+", method!="0", __name__=~".+test"}

Tried to use different queries.
Another query is just a timeseries without filtering:

psa_clf_change_dist_reach_HistogramBasedOutlierDetector_test

  • What happened?
    simplescreenrecorder-2022-10-18_11.49.01

For the second query:
v2-2022-10-18_12.11.15

  • What did you expect to happen?
    Values should be constant through refreshes.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No errors.

  • Did you follow any online instructions? If so, what is the URL?
    I tried to change Min step from auto to values from 1h to 25h, but it didn’t help.

Hello! Have you tried following Troubleshooting · VictoriaMetrics ?

Probably, some data gets refreshed when you send a query. To verify it is not a case - pick the fixed time range (not Last 30m, but a fixed From To interval).

You can also try applying sort function to sort data on datasource side instead of frontend side.