VictoriaMetrics/app
Roman Khavronenko 582c063698
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:51:54 +02:00
..
vmagent app: use relative paths instead of absolute paths for the supported http handlers on the main page 2021-12-02 13:54:15 +02:00
vmalert vmalert: introduce additional HTTP URL params per-group configuration (#1892) 2021-12-02 14:51:54 +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:52 +02:00
vmbackup app/{vmbackup,vmrestore}: export internal metrics at /metrics http handler 2021-12-02 11:56:34 +02:00
vmbackupmanager app/vmbackupmanager: fix links to images 2021-10-27 21:36:25 +03:00
vmctl Simplify queries to OpenTSDB for migration (#1809) 2021-11-29 12:13:38 +02:00
vmgateway docs/{vmgateway,vmbackupmanager}: mention that enterprise binaries are free for download and evaluation 2021-08-27 14:53:48 +03:00
vminsert all: consistently return application/json content-type without charset=utf-8 2021-11-09 18:07:22 +02:00
vmrestore app/{vmbackup,vmrestore}: export internal metrics at /metrics http handler 2021-12-02 11:56:34 +02:00
vmselect app/vmselect/vmui: make vmui-update 2021-11-30 01:38:59 +02:00
vmstorage app/vmstorage: export vm_cache_size_max_bytes metrics for determining capacity of various caches 2021-12-02 10:30:01 +02:00
vmui app/vmselect/vmui: make vmui-update 2021-11-30 01:38:59 +02:00