Prometheus: Fix $__rate_interval calculation (#77234)
* Remove unused param
* simple unit test
* rename
* rename
* add some comments
* Update values
* refactor
* rename
* always calculate rate interval
* fix unit tests
* Fix indentation
* linter fix
* update test
* Fixing issues with the calculation
* new test
* fix $__interval interpolation
* fix test
* add comment
(cherry picked from commit b607a4e0a2)
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
This directory contains the code for the Grafana backend.
The contributor documentation for Grafana's backend is in /contribute/backend/README.md.