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

http.request resource name only showing request method #4936

Open
eidsvold opened this issue Nov 25, 2024 · 0 comments
Open

http.request resource name only showing request method #4936

eidsvold opened this issue Nov 25, 2024 · 0 comments

Comments

@eidsvold
Copy link

Hi,

We are using Container-Based APM on our Kubernetes cluster. We have the agent running in the cluster and dd-trace is enabled by annotations and environment variables, not via application code. It works great.

We have a Fastify API that makes multiple outgoing HTTP requests using axios. The issue we have is that the http.request resource names are named only by the HTTP method. We are not able to see metrics for different outgoing requests as they are all named GET or POST.

Image

Is it possible to include the request URL in the resource name? The dd-trace-java does this, as we have this granularity for our Java APIs.

For incoming requests, fastify.request names the resources by request method and URL. We would love the same for outgoing requests.

node: 20.10
typescript: 5.7.2
fastify: 5.1.0
axios: 1.6.8
K8s: admission.datadoghq.com/js-lib.version: v5.27.1

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

No branches or pull requests

1 participant