Replies: 2 comments 2 replies
-
I don't think this makes so much sense. Appending the default trace path if it's not in URLPath means somebody needing a path which doesn't include this default value wouldn't be able to do so. As for exporting DefaultTracesPath, it wouldn't be too problematic to do so, but what would it bring? Hopefully this makes sense. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. Actually my concern is about a potential version change in the future. The one that is using the We were initially hosting our trace endpoint at There is a difference in between 2 ways regarding how the default endpoint is gong to be changed. I prefer the upstream's new default and find out if it is working or not with my services. |
Beta Was this translation helpful? Give feedback.
-
We have a domain abc.com/otel for the collector and SDK is missing the ability to use SDK's default trace path. The default path has to be explicitly specified.
otlptracehttp.WithEndpoint is lacking the ability to put the path information to the endpoint. If it is used so, it includes the default trace path /v1/traces to the URL. If we specify WithURLPath("otelcol"), then the default trace path is not included by default. It needs to be WithURLPath("otelcol/v1/traces") like this.
Wouldn't it make sense to export DefaultTracesPath or append the default trace path if the URLPath does not contain it.
Beta Was this translation helpful? Give feedback.
All reactions