A simple command line utility to export datadog metrics.
events
to export datadog events that where reported in the last 24 hours, type:
datadog-exporter events \
--iso-datetime \
--pretty-print \
--start-time -24h
metric names
to export all available database metric names, type:
datadog-exporter names
metrics
to export specific metrics from the last 24 hours, type:
datadog_export metrics \
--iso-datetime \
--pretty-print \
--start-time -2h \
--window 30m \
'docker.cpu.system{*}'
The --window option allows you to influence the resolution of the values returned.
credentials
Add your Datadog Application and API key in the file $HOME/.datadog.ini in the
section DEFAULT:
[DEFAULT]
api_key=a77aaaaaaaaaaaaaaaaaaaaa
app_key=bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Alternatively, you can set the environment variable DATADOG_API_KEY and DATADOG_APP_KEY.
Metadata
Release files for datadog-exporter 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datadog_exporter-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for datadog_exporter-0.8.0-py3-none-any.whl |
Release files / datadog_exporter-0.8.0-py3-none-any.whl
| Download URL | datadog_exporter-0.8.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf5381f5cbc7a18dc3f345edbc07e839d78b77baf96e3bfd61d6a596c4a21c38
|
|
BLAKE2b-256 checksum How to use checksums |
0d4bc4f96a2807976f6ad36f8150b7cebc7f8c8ed837c52408387910350bcc5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for datadog-exporter 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.