-
Notifications
You must be signed in to change notification settings - Fork 67
/
collector.config.yaml
37 lines (34 loc) 路 1020 Bytes
/
collector.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
receivers:
otlp:
protocols:
http:
grpc:
processors:
batch:
send_batch_max_size: 100
send_batch_size: 10
timeout: 10s
exporters:
# OTLP for Tracetest
otlp/tt:
endpoint: tracetest:4317 # Send traces to Tracetest. Read more in docs here: https://docs.tracetest.io/configuration/connecting-to-data-stores/opentelemetry-collector
tls:
insecure: true
# Datadog exporter
# One example on how to set up a collector configuration for Datadog can be seen here:
# https://docs.datadoghq.com/opentelemetry/otel_collector_datadog_exporter/?tab=onahost
datadog:
api:
site: datadoghq.com
key: <datadog_API_key> # Add here you API key for Datadog
# Read more in docs here: https://docs.datadoghq.com/opentelemetry/otel_collector_datadog_exporter
service:
pipelines:
traces/tt:
receivers: [otlp]
processors: [batch]
exporters: [otlp/tt]
traces/dd:
receivers: [otlp]
processors: [batch]
exporters: [datadog]