The Datadog Check Toolkit
Project description
Datadog Checks Base
Overview
This package provides the Python bits needed by the Datadog Agent to run Agent-based Integrations (also known as Checks).
This package is used in two scenarios:
-
When used from within the Python interpreter embedded in the Agent, it provides all the base classes and utilities needed by any Check.
-
When installed in a local environment with a regular Python interpreter, it mocks the presence of a running Agent so checks can work in standalone mode, mostly useful for testing and development.
Please refer to the API docs for details.
Installation
Checks from integrations-core already use the toolkit in a transparent way when you run the tests with Tox but you can install the toolkit locally and play with it:
pip install datadog-checks-base
Development
Create a dedicated virtualenv and follow the instructions in this paragraph to work with the check.
To install the check in dev mode:
pip install -e .[dev]
To build the wheel package:
python setup.py bdist_wheel
To run the tests, install tox and just run:
tox
Troubleshooting
Need help? Contact Datadog support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for datadog_checks_base-8.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee663a3b22ee8506d915ae790487fe26c18e6d118e6115ccb39328d73b8c1986 |
|
MD5 | 103e915fe7e4aab9832b217000ef8bff |
|
BLAKE2b-256 | aa8d1445375ea3c82097a3deb99d085706bee81c0fc15dc90f13e043fb8c499b |