VictoriaMetrics/app
Roman Khavronenko 0afd14a14a
vmalert: introduce additional HTTP URL params per-group configuration (#1892)
* vmalert: introduce additional HTTP URL params per-group configuration

The new group field `params` allows to configure custom HTTP URL params
per each group. These params will be applied to every request before
executing rule's expression. Hot config reload is also supported.

Field `extra_filter_labels` was deprecated in favour of `params` field.
vmalert will print deprecation log message if config file contains
the deprecated field.

`params` fields are supported by both Prometheus and Graphite datasource types.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: provide more examples for `params` field

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: set higher priority for `params` setting

If there would be a conflict between URL params set in `datasource.url` flag
and params in group definition the latter will have higher priority.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2021-12-02 14:45:08 +02:00
..
victoria-metrics app: use relative paths instead of absolute paths for the supported http handlers on the main page 2021-12-02 13:52:39 +02:00
vmagent app: use relative paths instead of absolute paths for the supported http handlers on the main page 2021-12-02 13:52:39 +02:00
vmalert vmalert: introduce additional HTTP URL params per-group configuration (#1892) 2021-12-02 14:45:08 +02:00
vmauth app/vmauth: accept requests with Basic Auth username which is equal to bearer_token value from the -auth.config 2021-11-17 13:31:19 +02:00
vmbackup app/{vmbackup,vmrestore}: export internal metrics at /metrics http handler 2021-12-02 11:55:58 +02:00
vmbackupmanager app/vmbackupmanager: fix links to images 2021-10-27 21:35:52 +03:00
vmctl Simplify queries to OpenTSDB for migration (#1809) 2021-11-18 20:18:15 +03:00
vmgateway docs/{vmgateway,vmbackupmanager}: mention that enterprise binaries are free for download and evaluation 2021-08-27 14:54:09 +03:00
vminsert all: consistently return application/json content-type without charset=utf-8 2021-11-09 18:04:44 +02:00
vmrestore app/{vmbackup,vmrestore}: export internal metrics at /metrics http handler 2021-12-02 11:55:58 +02:00
vmselect app/vmselect/vmui: make vmui-update 2021-11-30 01:38:24 +02:00
vmstorage app/vmstorage: export vm_cache_size_max_bytes metrics for determining capacity of various caches 2021-12-02 10:30:43 +02:00
vmui app/vmselect/vmui: make vmui-update 2021-11-30 01:38:24 +02:00