opentelemetry-ruby icon indicating copy to clipboard operation
opentelemetry-ruby copied to clipboard

Getting Started

Open noMoreCLI opened this issue 1 year ago • 1 comments

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 avatar Oct 06 '22 13:10 noMoreCLI

@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?

arielvalentin avatar Oct 06 '22 16:10 arielvalentin

👋 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.

github-actions[bot] avatar Mar 11 '24 01:03 github-actions[bot]