When creating HoneycombOptions, do not append /v1/traces to traces_endpoint if it's already there #155
Labels
status: oncall
Flagged for awareness from Honeycomb Telemetry Oncall
type: enhancement
New feature or request
Hey y'all 👋🏻
Thanks for the great bootstrapping library :)
I tried instantiating HoneycombOptions with
https://<collector url>/v1/traces
and got unhelpful error messages and no traces exported.If I instantiate HoneycombOptions with an
endpoint
that ends with/v1/traces
andexporter_protocol=EXPORTER_PROTOCOL_HTTP_PROTO
, do not append that suffix again.An alternative is to warn users that they're providing an invalid value to the field.
The text was updated successfully, but these errors were encountered: