opentelemetry-ruby
opentelemetry-ruby copied to clipboard
Getting Started
Exporting Traces Section states
Next, you’ll have to let the SDK know where the collector endpoint is to receive traces. Set the OTEL_EXPORTER_OTLP_ENDPOINT environment variable to http://0.0.0.0:4318:
export OTEL_EXPORTER_OTLP_ENDPOINT=http://0.0.0.0:4318
I don't think this will work and should be aligned to the generic Export configuration documentation OTLP Exporter Configuration
stating to use for external otel collectors:
export OTEL_EXPORTER_OTLP_ENDPOINT="http://my-api-endpoint:4318"
or otel collectors running on the same machine
export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"
@noMoreCLI thanks for the feedback.
Have you had the opportunity to try the example out? Would you be amenable to submitting a PR to update the docs and fix the example?
👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep
label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.