Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OTEL Collector Demo
receivers:
otlp:
protocols:
grpc:
http:
exporters:
elasticsearch/trace:
endpoints: [https://elastic.example.com:9200]
traces_index: trace_index
elasticsearch/log:
endpoints: [http://localhost:9200]
logs_index: my_log_index
prometheus:
endpoint: "1.2.3.4:1234"
file/rotation_with_default_settings:
path: ./foo
rotation:
service:
pipelines:
traces:
receivers: [otlp]
exporters: [otlp, elasticsearch/trace]
logs:
receivers: [otlp]
exporters: [otlp, elasticsearch/log, file/rotation_with_default_settings]
metrics:
receivers: [otlp]
exporters: [otlp, prometheus]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment