-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathotelcol-config.yaml
79 lines (74 loc) · 1.69 KB
/
otelcol-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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
extensions:
health_check:
endpoint: "0.0.0.0:13133"
pprof:
endpoint: 0.0.0.0:1888
zpages:
endpoint: 0.0.0.0:55679
basicauth/grafana_cloud:
client_auth:
username: "${env:USER_ID}"
password: "${env:GRAFANA_CLOUD}"
connectors:
grafanacloud:
host_identifiers: ["host.name"]
metrics_flush_interval: 60s
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
hostmetrics:
collection_interval: 10s
scrapers:
paging:
metrics:
system.paging.utilization:
enabled: true
load:
cpu_average: true
cpu:
metrics:
system.cpu.utilization:
enabled: true
disk:
filesystem:
metrics:
system.filesystem.utilization:
enabled: true
memory:
network:
metrics:
system.network.connections:
enabled: true
process:
processors:
batch:
timeout: 10s
send_batch_max_size: 1000
send_batch_size: 100
resourcedetection:
detectors: [ecs, ec2, system, env]
exporters:
debug:
verbosity: detailed
otlphttp/grafana_cloud:
endpoint: "${env:ENDPOINT}"
auth:
authenticator: basicauth/grafana_cloud
encoding: json
service:
extensions: [health_check, pprof, zpages, basicauth/grafana_cloud]
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [debug, otlphttp/grafana_cloud]
metrics:
receivers: [otlp, hostmetrics]
processors: [resourcedetection, batch]
exporters: [otlphttp/grafana_cloud]
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlphttp/grafana_cloud, debug]