trace_graph_query.py
provides a simple CLI for getting the trace graph data. It will use the org
usage: trace_graph.py [-h] [--api_key API_KEY]
[--application_key APPLICATION_KEY]
[--name {service,host}]
optional arguments:
-h, --help show this help message and exit
--api_key API_KEY Datadog API key
--application_key APPLICATION_KEY
Datadog application key
--name {service,host}
Name of graph
- Find the API key for the org at https://app.datadoghq.com/account/settings#api (or partlow)
- Run the script with
python
, for example:
python3 trace_graph.py --api_key=REDACTED --application_key=REDACTED --name {service,host}