-
Notifications
You must be signed in to change notification settings - Fork 36
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
chore: upgrade dd-trace
to v4.50.0
#590
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -8,8 +8,8 @@ START | |||||||||||||||||||||||||||||||||||||||||
"account_id:XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"functionname:integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
"resource:integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
"cold_start:true", | ||||||||||||||||||||||||||||||||||||||||||
"memorysize:1024", | ||||||||||||||||||||||||||||||||||||||||||
"cold_start:true", | ||||||||||||||||||||||||||||||||||||||||||
"datadog_lambda:vX.X.X", | ||||||||||||||||||||||||||||||||||||||||||
"runtime:nodejs16.x" | ||||||||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -38,7 +38,6 @@ START | |||||||||||||||||||||||||||||||||||||||||
"_dd.p.tid": "XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"_dd.p.dm": "-0", | ||||||||||||||||||||||||||||||||||||||||||
"service": "remappedApiGatewayServiceName", | ||||||||||||||||||||||||||||||||||||||||||
"version": "1.0.0", | ||||||||||||||||||||||||||||||||||||||||||
"runtime-id":"XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"operation_name": "aws.apigateway", | ||||||||||||||||||||||||||||||||||||||||||
"http.url": "undefined", | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -48,7 +47,6 @@ START | |||||||||||||||||||||||||||||||||||||||||
"_inferred_span.tag_source": "self", | ||||||||||||||||||||||||||||||||||||||||||
"_inferred_span.synchronicity": "sync", | ||||||||||||||||||||||||||||||||||||||||||
"http.method": "GET", | ||||||||||||||||||||||||||||||||||||||||||
"http.route":"/{proxy+}", | ||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did we investigate why this tag moved from what looks like the inferred span to the invocation span? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At the time of creating #584 It seems like they should be in the invocation span, not the inferred span. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I disagree. I think it should be on the inferred span since for an api.gateway span, that's where the idea of the routing is happening. Can we run these again and confirm where these tags are actually being added? This is the only trace out of all the test invocates in which it's been moved. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The code that sets the http.route tags is here: datadog-lambda-js/src/trace/trigger.ts Lines 299 to 318 in 56965ac
If you backtrack the call stack, it starts at More info: https://datadoghq.atlassian.net/browse/SVLS-5779 But maybe we should also be adding the http.route tags to the inferred span? |
||||||||||||||||||||||||||||||||||||||||||
"stage": "test", | ||||||||||||||||||||||||||||||||||||||||||
"http.status_code": "200", | ||||||||||||||||||||||||||||||||||||||||||
"_dd.base_service": "integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -86,6 +84,7 @@ START | |||||||||||||||||||||||||||||||||||||||||
"function_trigger.event_source": "api-gateway", | ||||||||||||||||||||||||||||||||||||||||||
"function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/wt6mne2s9k/stages/test", | ||||||||||||||||||||||||||||||||||||||||||
"http.method": "GET", | ||||||||||||||||||||||||||||||||||||||||||
"http.route": "/{proxy+}", | ||||||||||||||||||||||||||||||||||||||||||
"api_gateway_request_id": "41b45ea3-70b5-11e6-b7bd-69b5aaebc7d9", | ||||||||||||||||||||||||||||||||||||||||||
"event_type": "APIGateway", | ||||||||||||||||||||||||||||||||||||||||||
"http.status_code": "200", | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -165,8 +164,8 @@ START | |||||||||||||||||||||||||||||||||||||||||
"account_id:XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"functionname:integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
"resource:integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
"cold_start:false", | ||||||||||||||||||||||||||||||||||||||||||
"memorysize:1024", | ||||||||||||||||||||||||||||||||||||||||||
"cold_start:false", | ||||||||||||||||||||||||||||||||||||||||||
"datadog_lambda:vX.X.X", | ||||||||||||||||||||||||||||||||||||||||||
"runtime:nodejs16.x" | ||||||||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -195,7 +194,6 @@ START | |||||||||||||||||||||||||||||||||||||||||
"_dd.p.tid": "XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"_dd.p.dm": "-0", | ||||||||||||||||||||||||||||||||||||||||||
"service": "remappedSnsServiceName", | ||||||||||||||||||||||||||||||||||||||||||
"version": "1.0.0", | ||||||||||||||||||||||||||||||||||||||||||
"runtime-id":"XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"operation_name": "aws.sns", | ||||||||||||||||||||||||||||||||||||||||||
"resource_names": "sns-lambda", | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -296,8 +294,8 @@ START | |||||||||||||||||||||||||||||||||||||||||
"account_id:XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"functionname:integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
"resource:integration-tests-js-XXXX-process-input-traced_node16", | ||||||||||||||||||||||||||||||||||||||||||
"cold_start:false", | ||||||||||||||||||||||||||||||||||||||||||
"memorysize:1024", | ||||||||||||||||||||||||||||||||||||||||||
"cold_start:false", | ||||||||||||||||||||||||||||||||||||||||||
"datadog_lambda:vX.X.X", | ||||||||||||||||||||||||||||||||||||||||||
"runtime:nodejs16.x" | ||||||||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||||||||
|
@@ -326,7 +324,6 @@ START | |||||||||||||||||||||||||||||||||||||||||
"_dd.p.tid": "XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"_dd.p.dm": "-0", | ||||||||||||||||||||||||||||||||||||||||||
"service": "remappedSqsServiceName", | ||||||||||||||||||||||||||||||||||||||||||
"version": "1.0.0", | ||||||||||||||||||||||||||||||||||||||||||
"runtime-id":"XXXX", | ||||||||||||||||||||||||||||||||||||||||||
"operation_name": "aws.sqs", | ||||||||||||||||||||||||||||||||||||||||||
"resource_names": "my-queue", | ||||||||||||||||||||||||||||||||||||||||||
|
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.
Did we figure out why this was removed?
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.
Not sure. Looks like it's just removed on the inferred span, but not the aws.lambda spans.
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.
Okay, that sounds fine then. I think it'll be important to make sure they remain on the aws.lambda span even if they're removed from the inferred span.