iopipe / iopipe-python

Python agent for AWS Lambda metrics, tracing, profiling & analytics
https://www.iopipe.com
Apache License 2.0
79 stars 17 forks source link

Functions not showing Cold Starts #252

Closed fastfiveoh closed 6 years ago

fastfiveoh commented 6 years ago

Description

When using the Python agent V1.5.0 and the latest V1.6.3 Cold starts are not being reported.

When searching my python functions over 30 days I am not seeing

Steps to reproduce the issue:

  1. Setup lambda with IOpipe agent
  2. Run Lambda
  3. See no coldstarts

Describe the results you received:

I looked over a 30 day period, I see new Process ID's being create (which should generate a cold start) however no cold starts displayed

Describe the results you expected:

I would expect to see cold starts.

Additional information you deem important (e.g. issue happens only occasionally):

I have this in multiple regions with the same issue. This issue is happening on both 1.6.3 and 1.5.0

fastfiveoh commented 6 years ago

I verified other users functions are showing Python coldstarts.

fastfiveoh commented 6 years ago

Issue turned out to be using the @iopipe decorator twice in a row and was causing issues. Verified this is rectified. Closing issue.