-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yml
More file actions
48 lines (45 loc) · 1.19 KB
/
config.example.yml
File metadata and controls
48 lines (45 loc) · 1.19 KB
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
interval: 10
flush_interval: 60
max_buffer_size: 5000
warn_on_buffer: true
hostname: ''
debug: false
once: false
# Secret store configuration (optional)
secret_store:
type: vault # Options: vault, env (default)
url: http://vault:8200 # Vault server URL (default: VAULT_ADDR env var)
path_prefix: rtcollector # Path prefix for secrets in Vault
# token is read from VAULT_TOKEN env var by default
inputs:
- linux_cpu
- linux_mem
- linux_disk:
exclude_mounts: []
include_mounts: []
- linux_net:
exclude_patterns:
- "veth"
- "docker"
include_interfaces:
- "eth0"
- system
- redis:
host: "127.0.0.1"
port: 6379
username: "redis_user"
password: "secret:redis/password" # Reference to a secret in Vault or env var
outputs:
- redistimeseries:
host: localhost
port: 6379
retention: 30d
username: "rtcollector"
password: "secret:redis/password" # Same secret reference
- redissearch:
host: localhost
port: 6379
index: "logs_idx"
key_prefix: "log:"
username: "rtcollector"
password: "secret:redis/password" # Same secret reference