Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

gaspar09
Copy link
Contributor

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/

@gaspar09 gaspar09 requested a review from dvoytenko March 21, 2024 22:27
Copy link

vercel bot commented Mar 21, 2024

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

…tion-name-and-resource-name-for-web-requests
@gaspar09 gaspar09 merged commit bb8f059 into main Mar 25, 2024
6 checks passed
@gaspar09 gaspar09 deleted the revert-59-revert-57-gaspar/set-default-operation-name-and-resource-name-for-web-requests branch March 25, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants