-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.yaml
58 lines (50 loc) · 1.66 KB
/
config-example.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# yaml-language-server: $schema=config.schema.json
# Skip updating CloudWatch metric. Optional. Defaults to false.
dry: false
# Scan interval. 60 seconds are recommended. Must be >= 5. Required.
seconds: 60
# Logging configuration. Optional. Defaults to debug log level and structured
# logs using JSON.
logging:
# Logging level. Supported are "debug" and "info". Optional. Defaults to "debug".
level: debug
# Output logs in human-friendly format. Optional. Defaults to false which
# emits structured logs using JSON.
pretty: true
# Metric configuration. Required.
metric:
# CloudWatch metric namespace. Required.
namespace: MyNamespace
# CloudWatch metric name. Required.
name: MyMetric
# CloudWatch metric dimensions. Optional. Defaults to empty list.
dimensions:
- # Dimension name. Required.
name: Cluster
# Dimension value. Required.
value: MyCluster
# Target configuration. Required. At least one target must be configured.
targets:
- # Type of target. Supported are "DaemonSet", "Deployment",
# and "StatefulSet". Required.
kind: Deployment
# Namespace of target. Required.
namespace: default
# Name of target. Required.
name: socat-tunnel
# Mode used for scan and evaluation. Supported are "AllOfThem" (requires
# all replicas to be ready) and "AtLeastOn" (requires at least one replica
# to be ready).
mode: AtLeastOne
- kind: Deployment
namespace: default
name: debug-long-queries
mode: AllOfThem
- kind: StatefulSet
namespace: observability
name: prometheus
mode: AllOfThem
- kind: StatefulSet
namespace: observability
name: alertmanager
mode: AllOfThem