Using $__rate_interval breaks increment() results

Hello.
I used increase() function with $__rate_interval. This query result is different from what I expected, so I leave a question.

query:

sum by(adn_id) (increase(adnsvc_adn_get_ad_method_fill_count{cluster="xxx"}[$__rate_interval]))

query inspector info:

Expr: sum by(adn_id) (increase(adnsvc_adn_get_ad_method_fill_count{cluster="xxx"}[1m0s]))
Step: 15s

As you can see in the image above, the graph is broken.

I solved this problem by setting the min step to 1m and changing the range to 1m15s.

query inspector info:

Expr: sum by(adn_id) (increase(adnsvc_adn_get_ad_method_fill_count{cluster="xxx"}[1m15s]))
Step: 1m0s

I want to know why it became a problem when the range was 1m. What documentation should I look for?
Does anyone know why this happened?

Grafana Version: v9.1.5

Hi @scottchoe,

Welcome to the :grafana: community support forums !!

We are excited that you joined our OSS community. Please read about some of the FAQs in the community :slight_smile:

Please review the submission template and include more details:

  • What Grafana version and what operating system are you using?
  • What is your datasource?
  • What visualization panel you are using e.g. time-series, bar chart, histogram etc?
  • What are you trying to achieve?
  • How are you trying to achieve it?
  • What happened?
  • What did you expect to happen?
  • Can you copy/paste the configuration(s) that you are having problems with?
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
  • Did you follow any online instructions? If so, what is the URL?