-
Notifications
You must be signed in to change notification settings - Fork 2
/
otel-config.yml
71 lines (71 loc) · 1.66 KB
/
otel-config.yml
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
receivers:
jaeger:
protocols:
thrift_compact:
endpoint: "0.0.0.0:6831"
thrift_binary:
endpoint: "0.0.0.0:6832"
grpc:
endpoint: "0.0.0.0:14250"
thrift_http:
endpoint: "0.0.0.0:14268"
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
http:
endpoint: "0.0.0.0:4318"
zipkin:
endpoint: "0.0.0.0:9411"
otlp/spanmetrics:
protocols:
grpc:
endpoint: "0.0.0.0:12345"
prometheus/spanmetrics:
config:
scrape_configs:
- job_name: 'spm-metrics'
scrape_interval: 15s
static_configs:
- targets: ['0.0.0.0:5002']
exporters:
prometheus/spanmetrics:
endpoint: "0.0.0.0:5002"
logzio:
region:
account_token:
logging:
prometheusremotewrite:
endpoint: https://listener.logz.io:8053
headers:
Authorization: "Bearer "
processors:
batch:
spanmetrics:
metrics_exporter: prometheus/spanmetrics
latency_histogram_buckets: [2ms, 8ms, 50ms, 100ms, 200ms, 500ms, 1s, 5s, 10s]
dimensions_cache_size: 100000
aggregation_temporality: AGGREGATION_TEMPORALITY_CUMULATIVE
dimensions:
- name: http.method
extensions:
pprof:
endpoint: :1777
zpages:
endpoint: :55679
service:
extensions: [pprof, zpages]
pipelines:
traces:
receivers: [jaeger, zipkin, otlp]
processors: [batch, spanmetrics]
exporters: [logging, logzio]
metrics/spanmetrics:
receivers: [otlp/spanmetrics]
exporters: [prometheus/spanmetrics]
metrics/logzio:
receivers: [prometheus/spanmetrics]
exporters: [prometheusremotewrite]
telemetry:
logs:
level: "info"