dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

Add ability to provide custom normalization of URI mapping saved as resource name

Open marcindabrowski opened this issue 1 year ago • 0 comments

In PHP client there is possibility to configure the mapping of resource name: Map resource names to normalized URI.

Please introduce something like this in Java library. Now tags with resource names are somehow obfuscated, but it is not working perfectly - I have similar issue as in https://github.com/DataDog/dd-trace-php/issues/455.

It also would be nice to have host in some tag or in resource name. Why? We are connecting to services provided by different companies, and they have the same path, ie.: path to OAuth2 token. Now it is impossible to distinguish metrics for those calls.

marcindabrowski avatar Apr 04 '24 11:04 marcindabrowski