ImportError: No module named datadog_checks.base
See original GitHub issueLibrary datadog_checks.base
cannot be imported anymore, however it worked perfectly fine about two weeks ago.
I am trying to create a custom Datadog Agent check using Python script. However, it keeps giving me the following error:
from checks import AgentCheck ImportError: No module named checks
I tried to import datadog_checks.checks
module as well but all to no avail. The installation of library from sources did not help either.
Datadog Version: v6.16.1
Please let me know if you need more information.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
ImportError: No module named datadog - Stack Overflow
Verify if the datadog package is installed in your environment. You can do this with this command: $ pip freeze | grep datadog....
Read more >[Fixed] ModuleNotFoundError: No module named 'datadog'
How to Fix “ModuleNotFoundError: No module named 'datadog'” in PyCharm · Open File > Settings > Project from the PyCharm menu. · Select...
Read more >Custom Agent Check - Datadog Docs
Custom Agent Check. Overview. This page looks at a simple custom Agent check and the min_collection_interval . Same as regular Agent based integrations, ......
Read more >Source code for datadog_checks.base.checks.base
Source code for datadog_checks.base.checks.base ... try: import datadog_agent from ..log import init_logging init_logging() except ImportError: from ..stubs ...
Read more >Getting Started Writing Custom Agent Checks - RapDev
Integrations are pre-build code modules with the purpose of ... tzinfo try: from datadog_checks.base import AgentCheck except ImportError: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Correction:
from datadog_checks.base import AgentCheck
Hello @ian28223, I can import the library using embedded python.
Thank you.