You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding would be that the collector would (now) be accepting on only the newer /v1/traces end-point (instead of the deprecated trace), but it's the exporter that would also have a definition of that (now, incorrect) /v1/traceor (correct) /v1/traces.
Could this be due to a dependency on the deprecated @opentelemetry/exporter-collector npm package which is a dependency of the supergraph-demo-opentelemetry package that you've published and that supergraph-demo uses here? It appears that package says that the default URL is v1/trace (which makes sense, since that used to be correct!). It's worth noting that it still does allow setting the url property on the collectorOptions that are passed to CollectorTraceExporter.
It appears that the current/maintained @opentelemetry/exporter-trace-otlp-http both allows specifying the endpoint URL and defaults to the /v1/traces endpoint.
Problem
otel/opentelemetry-collector v0.43.0 removed deprecated legacy path ("v1/trace") support for otlp http receiver
supergraph-demo with otel/opentelemetry-collector 0.43.0 shows error samples in zpages:
http.status_code=404, http.target=/v1/trace
Error Trace Spans
Workaround
otel/opentelemetry-collector 0.42.0 is the last release that supports
/v1/trace
Gateway 0.x Repro
git clone [email protected]:apollographql/supergraph-demo.git
make docker-up-otel-collector
make smoke
http.status_code=404, http.target=/v1/trace
Gateway 2.x Repro
git clone [email protected]:apollographql/supergraph-demo-fed2.git
make docker-up-otel-collector
make smoke
http.status_code=404, http.target=/v1/trace
Subgraphs
The text was updated successfully, but these errors were encountered: