Skip to content

Instantly share code, notes, and snippets.

@tobert
Last active March 10, 2021 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobert/1762d32f06eb1b1649c5318a1151a392 to your computer and use it in GitHub Desktop.
Save tobert/1762d32f06eb1b1649c5318a1151a392 to your computer and use it in GitHub Desktop.
receivers:
otlp:
protocols:
grpc:
endpoint: "127.0.0.1:55680"
# opentelemetry-ruby only supports http for now
http:
endpoint: "127.0.0.1:55681"
processors:
batch:
exporters:
logging:
# set to debug and your traces will get printed to the console spammily
logLevel: info
# 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