-
Notifications
You must be signed in to change notification settings - Fork 7
/
tensor.yml
36 lines (30 loc) · 972 Bytes
/
tensor.yml
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
# A YAML (sorry) config file for Tensor
# Output details
outputs:
- output: tensor.outputs.riemann.RiemannUDP
server: 127.0.0.1
port: 5555
# Default TTL for events (default: 60 seconds)
# It should be noted if Tensor loses its connection to Riemann it will purge
# queued events if their age exceeds the TTL.
# Sources can also have a custom TTL
ttl: 60.0
# Dequeue events and send to Riemann at this rate in seconds. This basically
# decides how "realtimey" the events are. If this is longer than your source
# intervals, you'll get 'bursty' events, but they will retain the right
# timestamps.
interval: 1.0
# Sources
sources:
- service: load
source: tensor.sources.linux.basic.LoadAverage
interval: 2.0
- service: cpu
source: tensor.sources.linux.basic.CPU
interval: 2.0
critical: {
cpu: "> 0.1"
}
- service: memory
source: tensor.sources.linux.basic.Memory
interval: 2.0