-
Notifications
You must be signed in to change notification settings - Fork 318
Closed
Description
In version 0.30, this error is thrown when trying to flush metrics from a threadstats recorder:
Traceback (most recent call last):
File "/worker/python/lib/python3.7/site-packages/datadog/threadstats/base.py", line 312, in flush
self.reporter.flush_metrics(metrics)
File "/worker/python/lib/python3.7/site-packages/datadog/threadstats/reporters.py", line 21, in flush_metrics
api.Metric.send(metrics)
File "/worker/python/lib/python3.7/site-packages/datadog/api/metrics.py", line 91, in send
return super(Metric, cls).send(attach_host_name=attach_host_name, **metrics_dict)
File "/worker/python/lib/python3.7/site-packages/datadog/api/resources.py", line 78, in send
attach_host_name=attach_host_name)
File "/worker/python/lib/python3.7/site-packages/datadog/api/api_client.py", line 84, in submit
from datadog.api import _api_key, _application_key, _api_host, \
ImportError: cannot import name '_return_raw_response' from 'datadog.api' (/worker/python/lib/python3.7/site-packages/datadog/api/__init__.py)
It looks as though every field referenced in this import can be found in the api module except for _return_raw_response.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels