VictoriaMetrics/app/vmalert/datasource
Zakhar Bessarab 866b150f0f
app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries (#4687)
* app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries

Fixes construction of URL parameters for graphite render to allow overriding "from" parameter.

See: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4685
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* app/vmalert/datasource/graphite: update flow for building URL parameters

Makes flow of building URL parameters same as Prometheus datasource has:
1) Setting all default values
2) Merging those values with provided `extraParams`

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* Update docs/CHANGELOG.md

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>

---------

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
2023-07-21 14:28:10 +04:00
..
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:20:38 +03:00
datasource.go vmalert: init unit test (#4596) 2023-07-20 15:07:10 +02:00
init.go fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vm_graphite_api.go app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries (#4687) 2023-07-21 14:28:10 +04:00
vm_prom_api_test.go vmalert: reduce allocations for Prometheus resp parse (#3435) 2022-12-05 08:34:54 +01:00
vm_prom_api.go vmalert:fix query request using rfc3339 format (#4577) 2023-07-07 10:39:25 +02:00
vm_test.go app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries (#4687) 2023-07-21 14:28:10 +04:00
vm.go vmalert: fix nil map assignment (#4392) 2023-06-02 11:38:55 +02:00