Skip to main content

Pandas integration for Datadog

Project description

Datadog Pandas

Python library for querying Datadog and accessing the results as Pandas data structures.

This is mostly intended for use in Jupyter notebooks.

Example

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')

Installation

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]

Licence

Licenced under the MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datadog-pandas-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

datadog_pandas-0.1.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page