vercel / otel

OTEL tracing for Vercel
https://vercel.com/docs/observability/otel-overview
40 stars 9 forks source link

Missing url attributes on request traces #123

Open cbodin opened 2 months ago

cbodin commented 2 months ago

The URL attribute is not set on request traces, causing all requests that use a catch-all route to appear with the same name in monitoring platforms.

For instance, when using Application Insights: image

A solution outside the library would be to use the AttributesFromHeaderFunc but that does not currently work, see https://github.com/vercel/otel/issues/121.


Package Version
next 14.2.3
@vercel/otel 1.10.0
@opentelemetry/api 1.9.0
@azure/monitor-opentelemetry-exporter 1.0.0-beta.26