-
Notifications
You must be signed in to change notification settings - Fork 865
Add DDB_MAPPER feature ID for requests originating from DynamoDBContext #3734
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
Add DDB_MAPPER feature ID for requests originating from DynamoDBContext #3734
Conversation
userAgentDetails.AddUserAgentComponent($"md/{this.TableConsumer}"); | ||
userAgentDetails.AddUserAgentComponent($"md/{(isAsync ? "TableAsync" : "TableSync")}"); | ||
|
||
if (this.TableConsumer == DynamoDBConsumer.DataModel) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a feature id for the document DynamoDBConsumer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but we have to add it to the SEP first to book the feature id, otherwise some other team might add the same ID for a different feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know we need to reserve the feature id but I thought that was just had to ask the metrics team. Hopefully the process for SDK specific features getting their own feature id is light weight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what is the process so far, I did reach out to the metrics team but I didn't get a response yet.
f85781f
to
0f5a7d4
Compare
64e9821
into
Business-Metrics-Tracking-UA-2.1
Description
This PR adds
DDB_MAPPER
feature ID to the user agent when requests originate fromDynamoDBContext
.Motivation and Context
DOTNET-7974
Testing
Validated that the requests originated from
DynamoDBContext
containsDDB_MAPPER
feature ID (d
).ft/ddb-hll md/DataModel md/TableSync aws-sdk-dotnet-framework/4.0.0.0 ua/2.1 os/windows lang/.NET_Runtime#4.0 md/.NET_Framework#4.8.09037 md/aws-sdk-dotnet-core#4.0.0.0 api/DynamoDB#4.0.0.0 md/ClientSync cfg/init-coll#0 m/d,b,e,E
.Validated that the requests originated from
DocumentModel
doesn't containDDB_MAPPER
feature ID.ft/ddb-hll md/DocumentModel md/TableSync aws-sdk-dotnet-framework/4.0.0.0 ua/2.1 os/windows lang/.NET_Runtime#4.0 md/.NET_Framework#4.8.09037 md/aws-sdk-dotnet-core#4.0.0.0 api/DynamoDB#4.0.0.0 md/ClientSync cfg/init-coll#0 m/b,e,E
.DRY_RUN-9eafeef3-1df1-4cd6-a166-a45365593a86
Types of changes
Checklist
License