forked from canonical/prometheus-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
39 lines (38 loc) · 1.34 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
options:
log-level:
description: |
Prometheus server log level (only log messages with the given severity
or above). Must be one of: [debug, info, warn, error, fatal].
If not set, the Prometheus default one (info) will be used.
type: string
default: info
web-external-url:
description: |
The URL under which Prometheus is externally reachable (for example,
if Prometheus is served via a reverse proxy).
Used for generating relative and absolute links back to
Prometheus itself. If the URL has a path portion, it will be used to
prefix all HTTP endpoints served by Prometheus.
If omitted, relevant URL components will be derived automatically.
type: string
default: ""
metrics-retention-time:
description: |
How long to retain samples in the storage.
Units Supported: y, w, d, h, m, s
type: string
default: 15d
metrics-wal-compression:
description: |
This flag enables compression of the write-ahead log (WAL).
Depending on your data, you can expect the WAL size to be
halved with little extra cpu load.
type: boolean
default: false
evaluation-interval:
description: |
How frequently rules will be evaluated.
type: string
default: 1m