0c36d690d0eca477d4269c28e2d9a8a3a6109cae
[distro-setup] / prometheus-alertmanager
1 # Set the command-line arguments to pass to the server.
2 # default:
3 #ARGS=""
4
5 # from its README: If running Alertmanager in high availability mode is not
6 # desired, setting --cluster.listen-address= prevents Alertmanager from
7 # listening to incoming peer requests.
8 # Why the fuck is that in the readme, not the docs below?
9 # If you don't add that, it will fail to start on boot because
10 # it doesn't wait for network.target, and gives this error message:
11 # component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise addr not provided"
12
13 # config.file and storage.path are set to match the debian package
14
15 ARGS="--cluster.listen-address=
16 --config.file=/etc/prometheus/alertmanager.yml
17 --storage.path=/var/lib/prometheus/alertmanager/
18 --web.listen-address=127.0.0.1:9093"
19
20 # this file is from version 0.21
21
22 # The alert manager supports the following options:
23
24
25 # --config.file="alertmanager.yml"
26 # Alertmanager configuration file name.
27 # --storage.path="data/" Base path for data storage.
28 # --data.retention=120h How long to keep data for.
29 # --alerts.gc-interval=30m Interval between alert GC.
30 # --web.external-url=WEB.EXTERNAL-URL
31 # The URL under which Alertmanager is externally reachable (for
32 # example, if Alertmanager is served via a reverse proxy). Used
33 # for generating relative and absolute links back to
34 # Alertmanager itself. If the URL has a path portion, it will
35 # be used to prefix all HTTP endpoints served by Alertmanager.
36 # If omitted, relevant URL components will be derived
37 # automatically.
38 # --web.route-prefix=WEB.ROUTE-PREFIX
39 # Prefix for the internal routes of web endpoints. Defaults to
40 # path of --web.external-url.
41 # --web.listen-address=":9093"
42 # Address to listen on for the web interface and API.
43 # --web.get-concurrency=0 Maximum number of GET requests processed concurrently. If
44 # negative or zero, the limit is GOMAXPROC or 8, whichever is
45 # larger.
46 # --web.timeout=0 Timeout for HTTP requests. If negative or zero, no timeout is
47 # set.
48 # --cluster.listen-address="0.0.0.0:9094"
49 # Listen address for cluster. Set to empty string to disable HA
50 # mode.
51 # --cluster.advertise-address=CLUSTER.ADVERTISE-ADDRESS
52 # Explicit address to advertise in cluster.
53 # --cluster.peer=CLUSTER.PEER ...
54 # Initial peers (may be repeated).
55 # --cluster.peer-timeout=15s
56 # Time to wait between peers to send notifications.
57 # --cluster.gossip-interval=200ms
58 # Interval between sending gossip messages. By lowering this
59 # value (more frequent) gossip messages are propagated across
60 # the cluster more quickly at the expense of increased
61 # bandwidth.
62 # --cluster.pushpull-interval=1m0s
63 # Interval for gossip state syncs. Setting this interval lower
64 # (more frequent) will increase convergence speeds across
65 # larger clusters at the expense of increased bandwidth usage.
66 # --cluster.tcp-timeout=10s Timeout for establishing a stream connection with a remote
67 # node for a full state sync, and for stream read and write
68 # operations.
69 # --cluster.probe-timeout=500ms
70 # Timeout to wait for an ack from a probed node before assuming
71 # it is unhealthy. This should be set to 99-percentile of RTT
72 # (round-trip time) on your network.
73 # --cluster.probe-interval=1s
74 # Interval between random node probes. Setting this lower (more
75 # frequent) will cause the cluster to detect failed nodes more
76 # quickly at the expense of increased bandwidth usage.
77 # --cluster.settle-timeout=1m0s
78 # Maximum time to wait for cluster connections to settle before
79 # evaluating notifications.
80 # --cluster.reconnect-interval=10s
81 # Interval between attempting to reconnect to lost peers.
82 # --cluster.reconnect-timeout=6h0m0s
83 # Length of time to attempt to reconnect to a lost peer.
84 # --log.level=info Only log messages with the given severity or above. One of:
85 # [debug, info, warn, error]
86 # --log.format=logfmt Output format of log messages. One of: [logfmt, json]
87 # --version Show application version.