mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 19:44:06 -08:00
41c22effbe
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a configuration option for Prometheus to send alerts to the v2 endpoint instead of the defautl v1 endpoint. Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
27 lines
539 B
INI
27 lines
539 B
INI
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|
|
|
|
# Set default charset
|
|
[*.{js,py,go,scala,rb,java,html,css,less,sass,md}]
|
|
charset = utf-8
|
|
|
|
# Tab indentation (no size specified)
|
|
[*.go]
|
|
indent_style = tab
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
# Matches the exact files either package.json or .travis.yml
|
|
[{package.json,.travis.yml}]
|
|
indent_style = space
|
|
indent_size = 2
|