Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlaaaaaaad committed Aug 9, 2019
1 parent 5202f08 commit b00ad86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beeline/middleware/awslambda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def _beeline_wrapper(event, context):
with beeline.tracer(name=handler.__name__,
trace_id=trace_id, parent_id=parent_id):
beeline.add_context({
"app.function_name": context.function_name,
"app.function_version": context.function_version,
"app.request_id": context.aws_request_id,
"app.function_name": context.function_name or "",
"app.function_version": context.function_version or "",
"app.request_id": context.aws_request_id or "",
"app.event": event,
"meta.cold_start": COLD_START,
})
Expand Down

0 comments on commit b00ad86

Please sign in to comment.