You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the things I'd like to see is how all my services relates to each resource but it ends up automatically filling the service name with the service prefix append by the resource such as aws-dynamodb
Is there an way to specify the service name for each dynamodb table? So let's say if two different services use the same table it would appear a connection between both of them and the table? The current behavior is each service has it's own serviceName-aws-dynamodb link with all the different table resources.
If I understood correctly, DD_SERVICE_MAPPING will allow me to rename all {serviceName}-aws-dynamodb into just dynamodb for instance, but doesn't seem I can do that per resource name? Like DD_SERVICE_MAPPING="user-aws-dynamodb:user_table"
Also tried the DD_TRACE_PEER_SERVICE_MAPPING even though it matches correctly by the table name it doesn't work because it changes the "peer.service" instead of the root service tag.
So my tries for now:
DD_SERVICE_MAPPING="aws-sdk:dynamodb-user"
This works, but all aws-sdk plugins are replaced so doesn't work for the usecase
Reading the code I couldn't find any alternative to achieve this, but the naming strategy is quite strange for me so don't know if I missed anything.
Otherwise, another approach would be to follow the dd-trace-py approach, where it sets all the dynamodb calls to "aws.dynamodb" and kinesis to "aws.kinesis"
The text was updated successfully, but these errors were encountered:
One of the things I'd like to see is how all my services relates to each resource but it ends up automatically filling the service name with the service prefix append by the resource such as
aws-dynamodb
Is there an way to specify the service name for each dynamodb table? So let's say if two different services use the same table it would appear a connection between both of them and the table? The current behavior is each service has it's own
serviceName-aws-dynamodb
link with all the different table resources.If I understood correctly, DD_SERVICE_MAPPING will allow me to rename all
{serviceName}-aws-dynamodb
into justdynamodb
for instance, but doesn't seem I can do that per resource name? LikeDD_SERVICE_MAPPING="user-aws-dynamodb:user_table"
Also tried the
DD_TRACE_PEER_SERVICE_MAPPING
even though it matches correctly by the table name it doesn't work because it changes the "peer.service" instead of the root service tag.So my tries for now:
This works, but all aws-sdk plugins are replaced so doesn't work for the usecase
Reading the code I couldn't find any alternative to achieve this, but the naming strategy is quite strange for me so don't know if I missed anything.
Otherwise, another approach would be to follow the dd-trace-py approach, where it sets all the dynamodb calls to "aws.dynamodb" and kinesis to "aws.kinesis"
The text was updated successfully, but these errors were encountered: