DataDog / docker-compose-example

## Auto-archived due to inactivity. ## A working example of using Docker Compose with Datadog
MIT License
122 stars 202 forks source link

Does the configuration work for dd.api send metrics call ? #4

Closed rahulravindran0108 closed 7 years ago

rahulravindran0108 commented 7 years ago

I am using the same configuration as you have in the example. But when running api.send_metric, I get the following stack trace:

  File "/usr/local/lib/python2.7/dist-packages/datadog/api/api_client.py", line 95, in submit
    if obj_params.get('host', "") == "":
AttributeError: 'str' object has no attribute 'get'

I have set api_key, app_key in my options dictionary. Using datadog python client.

Jbithell commented 6 years ago

Same issue here - was there a reason it was closed?