CLI for exporting datadog metrics
Project description
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.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datadog_exporter-0.8.0-py3-none-any.whl.
File metadata
- Download URL: datadog_exporter-0.8.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf5381f5cbc7a18dc3f345edbc07e839d78b77baf96e3bfd61d6a596c4a21c38
|
|
| MD5 |
6c32b982418416647e00c26748043abf
|
|
| BLAKE2b-256 |
0d4bc4f96a2807976f6ad36f8150b7cebc7f8c8ed837c52408387910350bcc5b
|