Skip to content

Instantly share code, notes, and snippets.

@tobert
Created February 24, 2022 21:47
Show Gist options
  • Save tobert/2bf574df324e4bb534f63eacc7a29b18 to your computer and use it in GitHub Desktop.
Save tobert/2bf574df324e4bb534f63eacc7a29b18 to your computer and use it in GitHub Desktop.
receivers:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
# opentelemetry-ruby only supports http for now
http:
endpoint: "0.0.0.0:55681"
processors:
batch:
exporters:
logging:
# set to debug and your traces will get printed to the console spammily
logLevel: debug
# send everything to honeycomb over OTLP/gRPC
otlp/1:
endpoint: "api.honeycomb.io:443"
headers:
"x-honeycomb-team": "${HONEYCOMB_TEAM}"
"x-honeycomb-dataset": "${HONEYCOMB_DATASET}"
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging,otlp/1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment