bithauschile / datadog-ga

Datadog custom check for Google Analytics Real Time
MIT License
45 stars 22 forks source link

no module named oauth2client.service_account #7

Open betodevops opened 6 years ago

betodevops commented 6 years ago

python3 /etc/datadog-agent/checks.d/ga.py Traceback (most recent call last): File "/etc/datadog-agent/checks.d/ga.py", line 17, in from checks import AgentCheck, CheckException ImportError: No module named 'checks' root@ip-10-30-63-46:/etc/datadog-agent/conf.d# datadog-agent check ga

Error: could not load ga:

Flags: -r, --check-rate check rates by running the check twice -d, --delay int delay between running the check and grabbing the metrics in miliseconds (default 100) -h, --help help for check -l, --log-level string set the log level (default 'off')

Global Flags: -c, --cfgpath string path to directory containing datadog.yaml -n, --no-color disable color output

jmakuc commented 6 years ago

Hi beto

Unfortunately, this check was written for an old version of the agent. I'm trying to find some time to update it so it will run on Agent 6.

If you would like to help, you are very welcome!

whazenberg commented 5 years ago

Hi,

The library oauth2client is deprecated, ref.

Please check out PR #8.

-Wytze