forked from signalfx/signalfx-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
agent.yaml
49 lines (43 loc) · 1.26 KB
/
agent.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
# *Required* The access token for the org that you wish to send metrics to.
signalFxAccessToken: ${SFX_ACCESS_TOKEN}
ingestUrl: ${SFX_INGEST_URL}
apiUrl: ${SFX_API_URL}
traceEndpointUrl: ${SFX_TRACE_ENDPOINT_URL}
intervalSeconds: 10
etcPath: /hostfs/etc
procPath: /hostfs/proc
runPath: /hostfs/run
varPath: /hostfs/var
sysPath: /hostfs/sys
logging:
# Valid values are 'debug', 'info', 'warning', and 'error'
level: info
# observers are what discover running services in the environment
observers:
- type: docker
monitors:
- {"#from": "/etc/signalfx/monitors/*.yaml", flatten: true, optional: true}
- type: cpu
- type: filesystems
hostFSPath: /hostfs
- type: disk-io
- type: net-io
- type: load
- type: memory
- type: vmem
- type: host-metadata
- type: processlist
- type: docker-container-stats
# If using SignalFx auto instrumentation with default settings
- type: signalfx-forwarder
listenAddress: 0.0.0.0:9080
# Used to add a tag to spans missing it
#defaultSpanTags:
# Set the environment filter in SignalFx
#environment: "YOUR_ENVIRONMENT"
# Used to add and override a tag on a span
#extraSpanTags:
#SPAN_TAG_KEY: "SPAN_TAG_VALUE"
# Required: What format to send data in
writer:
traceExportFormat: sapm