From Datadog
wtctl import datadog --monitors monitors.json --dashboards dash.json --pipelines pipelines.json [--apply]
wtctl import datadog --monitors api --dashboards api --api-key-env DD_API_KEY --app-key-env DD_APP_KEY [--site datadoghq.eu]A file is a JSON export (an array for monitors and pipelines, one object or an array for dashboards). api reads the live account.
Monitors to alert rules
Datadog | Watchtower |
|---|---|
|
|
|
|
APM error ratio ( |
|
|
|
The critical threshold is used; a warning threshold is reported as a warning. Functions, formulas, anomaly and forecast queries, synthetics, service checks and every other type are listed under unsupported.
Dashboards
timeseries, toplist (table), query_value (stat), heatmap (histogram), table, log_stream and note widgets. Note text is appended to the dashboard description. The 12-column grid is doubled to 24. Widgets whose query is not a plain aggregation are listed as unsupported.
Log pipelines
Processors map to stages parse_json (grok %{data::json}), redact, filter (the pipeline query), enrich (remappers) and expr (arithmetic). The result is in the report only: there is no pipeline write API yet, so --apply does not send pipelines.