-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathotel-contrib-single-host.yaml
73 lines (69 loc) · 1.62 KB
/
otel-contrib-single-host.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
extensions:
health_check:
endpoint: 0.0.0.0:13133
http_forwarder:
ingress:
endpoint: 0.0.0.0:6060
egress:
endpoint: "https://api.us1.signalfx.com"
memory_ballast:
size_mib: 500
receivers:
hostmetrics:
collection_interval: 10s
scrapers:
cpu:
disk:
filesystem:
memory:
network:
load:
paging:
processes:
signalfx:
endpoint: 0.0.0.0:9943
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
prometheus/internal:
config:
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['0.0.0.0:8888']
metric_relabel_configs:
- source_labels: [ __name__ ]
regex: '.*grpc_io.*'
action: drop
processors:
batch:
memory_limiter:
check_interval: 2s
limit_mib: 500
resourcedetection:
detectors: [gce, ecs, ec2, azure, system]
override: true
exporters:
signalfx:
access_token: "<REDACTED>"
api_url: "https://api.us1.signalfx.com"
ingest_url: "https://ingest.us1.signalfx.com"
sync_host_metadata: true
correlation:
logging:
loglevel: debug
service:
extensions: [health_check, http_forwarder, zpages, memory_ballast]
pipelines:
metrics:
receivers: [hostmetrics, otlp, signalfx]
processors: [memory_limiter, batch, resourcedetection]
exporters: [signalfx]
metrics/internal:
receivers: [prometheus/internal]
processors: [memory_limiter, batch, resourcedetection]
exporters: [signalfx]