Python library for querying Datadog and accessing the results as Pandas data structures.
This is mostly intended for use in Jupyter notebooks.
Evaluate an instant query at a single point in time:
>>> from datadog_pandas import query
>>>
>>> dd_options = {"api_key": "XXX", "app_key": "XXX"}
>>> p = query.DatadogMetrics(dd_options)
>>> p.query('sum:caseflow.ct.attachments.requests{*}.rollup(sum, 86400)', '2020-05-10T00:00:00Z', '2020-05-12T00:00:00Z')
Latest release via pip
:
pip install datadog-pandas [--user]
via Git:
git clone https://github.com/LemontechSA/datadog-pandas.git; cd datadog-pandas
python3 setup.py install [--user]
Licenced under the MIT License. See LICENSE
for details.