grafana/pkg/tsdb/prometheus
ismail simsek b607a4e0a2
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
2023-11-13 10:13:07 +01:00
..
azureauth Azure: Settings for Azure AD Workload Identity (#75283) 2023-09-28 12:05:16 +01:00
client Prometheus: (Chore) Switch from infra to sdk logger (#76827) 2023-10-20 08:54:27 -05:00
instrumentation Add prometheus querydata instrumentation (#69447) 2023-06-07 13:36:03 +02:00
kinds/dataquery Codegen: Generate any instead of interface{} (#70201) 2023-06-16 10:54:56 +02:00
middleware Prometheus: (Chore) Switch from infra to sdk logger (#76827) 2023-10-20 08:54:27 -05:00
models Prometheus: Fix $__rate_interval calculation (#77234) 2023-11-13 10:13:07 +01:00
querydata Prometheus: Set httpMethod as POST for new query client when not defined (#77503) 2023-11-03 10:16:02 -04:00
resource Prometheus: (Chore) Switch from infra to sdk logger (#76827) 2023-10-20 08:54:27 -05:00
testdata Prometheus: Fix $__rate_interval calculation (#77234) 2023-11-13 10:13:07 +01:00
utils Prometheus: (Chore) Switch to sdk tracing from infra tracing (#76975) 2023-10-23 13:11:12 -04:00
healthcheck_test.go Prometheus: (Chore) Switch to sdk tracing from infra tracing (#76975) 2023-10-23 13:11:12 -04:00
healthcheck.go Prometheus: (Chore) Switch from infra to sdk logger (#76827) 2023-10-20 08:54:27 -05:00
heuristics_test.go Prometheus: (Chore) Switch to sdk tracing from infra tracing (#76975) 2023-10-23 13:11:12 -04:00
heuristics.go Chore: capitalise logs in other backend packages (#74344) 2023-09-04 22:25:43 +02:00
prometheus_test.go Prometheus: (Chore) Switch to sdk tracing from infra tracing (#76975) 2023-10-23 13:11:12 -04:00
prometheus.go Prometheus: (Chore) Switch to sdk tracing from infra tracing (#76975) 2023-10-23 13:11:12 -04:00