Skip to content

Cold start captured as false when using together with Tracing #507

Closed
@pankajagrawal16

Description

@pankajagrawal16

When using Tracing annotation on method level and not just handler method, cold start flag on log are always captured as false

Expected Behavior

Cold start flag should be captured correctly on logs

Current Behavior

captured as false always

Possible Solution

Steps to Reproduce (for bugs)

Environment

  • Powertools version used:
  • Packaging format (Layers, Maven/Gradle):
  • AWS Lambda function runtime:
  • Debugging logs

How to enable debug mode**

# paste logs here

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions