-
Notifications
You must be signed in to change notification settings - Fork 413
Expand file tree
/
Copy pathotel-collector.yaml
More file actions
58 lines (55 loc) · 1.31 KB
/
otel-collector.yaml
File metadata and controls
58 lines (55 loc) · 1.31 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
49
50
51
52
53
54
55
56
57
58
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
prometheus/collector:
config:
scrape_configs:
- job_name: "opentelemetry-collector"
static_configs:
- targets: [ "localhost:8888" ]
# Scrape dkron metrics
- job_name: "dkron"
static_configs:
- targets: [ "dkron:8080" ]
processors:
batch:
exporters:
otlphttp/metrics:
endpoint: http://localhost:9090/api/v1/otlp
tls:
insecure: true
otlphttp/traces:
endpoint: http://localhost:4418
tls:
insecure: true
otlphttp/logs:
endpoint: http://localhost:3100/otlp
tls:
insecure: true
debug/metrics:
verbosity: detailed
debug/traces:
verbosity: detailed
debug/logs:
verbosity: detailed
service:
pipelines:
traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlphttp/traces ]
#exporters: [otlphttp/traces,debug/traces]
metrics:
receivers: [ otlp, prometheus/collector ]
processors: [ batch ]
exporters: [ otlphttp/metrics ]
#exporters: [otlphttp/metrics,debug/metrics]
logs:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlphttp/logs ]
#exporters: [otlphttp/logs,debug/logs]