Before you begin
A single Datadog monitor becomes several Observability Platform resources: aMonitor, a
NotificationPolicy, and one or more Notifier definitions. Before you convert a
monitor, gather the following details from the Datadog definition so you can map them
to the correct resource:
- Query: The Datadog
querybecomes theMonitorPromQL query. Review querying metrics for how the query syntax differs. - Thresholds and severities: The Datadog
options.thresholds(critical, warning) and any no-data behavior becomeseries_conditionson theMonitor. Observability Platform doesn’t support separate recovery thresholds. - Notification routes: Each
@-mention in the Datadogmessage(such as a Slack channel or PagerDuty service) becomes aNotifier, and the routing logic becomes aNotificationPolicy. - Tags: Datadog
tagsbecomeMonitorlabels, which you can then use to route alerts with notification policy overrides.
Compare configurations
These are examples of matching configurations for Datadog and Observability Platform.- Datadog
- Chronosphere
This is an example of a Datadog monitor definition.
Field mapping
Chronosphere and Datadog fields have many equivalent functions. Use the following tables to map fields between these apps.Names of Chronosphere equivalents are subject to change as the conversion process
improves.
Configuration mapping
This table matches Datadog fields to their Chronosphere equivalents for monitor specification.Monitor options
Use these values in the specification’soptions field.
Severity
Chronosphere supports both critical and warning severities by implementing different thresholds for the metric values. In addition to this, Datadog also supports alerting on no data for a particular metric as a distinctseverity. Although this state
isn’t a true severity, the state is treated the same as critical and warning alerts
for configuration.
Chronosphere supports alerting on no data conditions using a series condition in
the MonitorSpec:
Chronoctl example
Message and route
Datadog allows different messages and routing endpoints for the different severity levels (critical, warning, no data). Chronosphere can support different messages by using separate annotations:Chronoctl example
Notification policy resources
Link aMonitor resource to a Notifier resource by defining a
notification policy. Each unique
route in the Datadog message field maps to a Notifier resource. The Monitor
contains a label specifying the notification route it links to, and the
NotificationPolicy defines overrides that point to each Notifier.
For example:
Chronoctl example
Evaluation frequency
Datadog doesn’t support the use of different evaluation frequencies per monitor, but instead relies on a hard-coded interval dependant on the evaluation window. For windows of less than24h, the window defaults to 1m. Set this to a value you
want to use with the Monitor.spec.interval_secs field (in seconds), or default to
15 to receive faster alerts.
