Skip to content

Commit 10d910b

Browse files
committed
fix(http): append path to the url
1 parent 7bdc7d6 commit 10d910b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datadog_lambda/trigger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ def extract_http_tags(event):
315315
path = apigateway_v2_http.get("path")
316316
method = apigateway_v2_http.get("method")
317317

318-
if path:
319-
http_tags["http.url_details.path"] = path
318+
if path and http_tags.get("http.url"):
319+
http_tags["http.url"] += path
320320
if method:
321321
http_tags["http.method"] = method
322322

0 commit comments

Comments
 (0)