Skip to content

http.request resource name only showing request method #4936

@eidsvold

Description

@eidsvold

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions