vercel / otel

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

Set the default operation name and resource name for web requests #60

Closed gaspar09 closed 6 months ago

gaspar09 commented 6 months ago

Description

Set the default operation name and resource name for web requests

This change sets the default 'operation.name' and 'resource.name' attributes for web requests. The 'resource.name' is set to the concatenation of the HTTP method and the HTTP route. The 'operation.name' is set to the string 'web.request'

The effect is that we can view all associated web requests in the UI by filtering on the 'operation.name' attribute.

Related

https://docs.datadoghq.com/tracing/glossary/#resources https://docs.datadoghq.com/tracing/guide/configuring-primary-operation/

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
otel-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2024 4:29pm