mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-01 17:34:38 +08:00
Capture common HTTP attributes from API Gateway proxy events in Lambda instrumentor (#1233)
This commit is contained in:
@ -15,3 +15,7 @@
|
||||
|
||||
def handler(event, context):
|
||||
return "200 ok"
|
||||
|
||||
|
||||
def rest_api_handler(event, context):
|
||||
return {"statusCode": 200, "body": "200 ok"}
|
||||
|
Reference in New Issue
Block a user