We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcd766c commit eaa81acCopy full SHA for eaa81ac
datadog_lambda/trigger.py
@@ -302,6 +302,7 @@ def extract_http_tags(event):
302
# Try to get `routeKey` from API GW v2; otherwise try to get `resource` from API GW v1
303
route = event.get("routeKey") or event.get("resource")
304
if route:
305
+ # "GET /my/endpoint" = > "/my/endpoint"
306
http_tags["http.route"] = route.split(" ")[-1]
307
308
return http_tags
0 commit comments