You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataDog Python code is throwing the following exception:
Traceback (most recent call last):
File "/opt/python/lib/python3.8/site-packages/datadog_lambda/wrapper.py", line 180, in _after
flush_thread_stats()
File "/opt/python/lib/python3.8/site-packages/datadog_lambda/metric.py", line 100, in flush_thread_stats
_, dists = lambda_stats._get_aggregate_metrics_and_dists(float("inf"))
AttributeError: 'StatsDWrapper' object has no attribute '_get_aggregate_metrics_and_dists'
Steps to Reproduce the Problem
Using the Datadog-Extension v7 and Datadog-Python38 v36 - also using AWS Lambda Powertools' Logger and Tracer
When the Lambda is invoked, the above exception is thrown immediately
The lambda code appears to then run correctly - however, its not clear if the DataDog stats and logs are gathered properly
Specifications
Datadog Lambda Layer version: 36
Python version: 3.8
AWS Powertools Logger and Tracer (v1.15.0)
The text was updated successfully, but these errors were encountered:
Hi @g-farrow. Thanks for the report. This looks like a recent regression with the python layer and our preview extension. I'm taking a look now, but I believe this change was introduced in v36. We're going to try and get a fix out for this as soon as possible.
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
The lambda runs without error logs
Actual Behavior
DataDog Python code is throwing the following exception:
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: