1extensions:
2  health_check:
3  pprof:
4    endpoint: 0.0.0.0:1777
5  zpages:
6    endpoint: 0.0.0.0:55679
7
8receivers:
9  otlp:
10    protocols:
11      grpc:
12      http:
13  opencensus:
14  jaeger:
15    protocols:
16      grpc:
17      thrift_binary:
18      thrift_compact:
19      thrift_http:
20  zipkin:
21
22  # Collect own metrics
23  prometheus:
24    config:
25      scrape_configs:
26        - job_name: 'otel-collector'
27          scrape_interval: 10s
28          static_configs:
29            - targets: [ '0.0.0.0:8888' ]
30
31processors:
32  batch:
33
34exporters:
35  logging:
36    logLevel: debug
37
38service:
39  pipelines:
40    traces:
41      receivers: [otlp, opencensus, jaeger, zipkin]
42      processors: [batch]
43      exporters: [logging]
44    metrics:
45      receivers: [otlp, opencensus, prometheus]
46      processors: [batch]
47      exporters: [logging]
48
49  extensions: [health_check, pprof, zpages]
50