Skip to content

[FEATURE]: Provide an in-code means to APM quantization / resource renaming #13967

@goodspark

Description

@goodspark

Package Name

No response

Package Version(s)

No response

Describe the goal of the feature

I was looking at some traces for downstream service we call and noticed we were getting tons of unique resources bc the service uses high-cardinality data in its REST API and Datadog's built-in quantization wasn't able to catch it (ex: GET blah/{guid}/blah/SOME_OTHER_RANDOM_DATA/blah). So I'd like to configure it in code.

I was reading this doc: https://docs.datadoghq.com/tracing/troubleshooting/quantization

Searching the Python library, I can't find an equivalent to the dd.trace.http.server.path-resource-name-mapping setting in the Java SDK.

In the meantime, I suppose I can achieve this by updating the agent configuration.

Is your feature request related to a problem?

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions