Compare configurations
These are examples of matching configurations for Datadog and Chronosphere.- 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.| Datadog field | Chronosphere equivalent |
|---|---|
created | N/A |
creator | N/A |
id | Add to Monitor.labels. |
message | Add to Monitor.annotations and create Notify routes - See details. |
modified | N/A |
multi | Monitor.spec.signal_grouping.signal_per_series |
name | Monitor.name - This can also contain variables. |
options | Monitor options |
threshold_windows | N/A - Used only for anomalies. |
thresholds | Monitor.spec.series_conditions.severity_conditions .conditions |
timeout_h | N/A |
overall_state | For monitors with an Ignored / Skipped / Unknown state, still create the monitor but have it either go to a black hole route or create it as muted. |
priority | Can support as a message annotation. |
query | Monitor.spec.query.expr |
restricted_roles | N/A |
state | N/A |
matching_downtimes | Equivalent to schedules. |
tags | An arbitrary list of strings that fits the tag format (which can be single word tags). Chronosphere can support this using Monitor.labels, if the field requires a key/value format. Tags are used as label names with the value set to true. |
type | The type of monitor. Chronosphere supports query alert and metric alerts. |
Monitor options
Use these values in the specification’soptions field.
| Datadog field | How to map |
|---|---|
aggregation | N/A - For log alerts only. |
enable_logs_sample | N/A - For log alerts only. |
enable_samples | N/A - Per Datadog docs. This is used only by CI Test and Pipeline monitors. |
escalation_message | No separate message for renotify notifications; can append this to the generic alert message. |
evaluation_delay | Can support by using offset in the query. |
group_retention_duration | N/A - Not for metrics monitors. |
groupby_simple_monitor | N/A - For log alerts only. |
include_tags | Use Prometheus {{ $value }} template. |
min_failure_duration | Monitor.spec.series_conditions.severity_conditions.conditions.sustain |
min_location_failed | Can support by adding thresholds to the PromQL expression. |
new_group_delay | N/A |
new_host_delay | N/A - Deprecated, use new_group_delay instead. |
no_data_timeframe | Threshold for a no data alert. See severity section for details. |
notification_preset_name | N/A - Datadog docs. |
notify_audit | N/A |
notify_by | Equivalent to Monitor.spec.signal_grouping, except the inverse. Note: This can be set to *, which is the same as setting Monitor.spec.signal_grouping.signal_per_series. |
notify_no_data | Add a NOT_EXISTS series condition in the MonitorSpec. Review severity for details. |
on_missing_data | N/A - Not for metrics alerts. |
renotify_interval | NotificationPolicy.routes.overrides.notifiers.repeat_interval |
renotify_occurences | N/A |
renotify_statuses | Only renotify on status X. Create overrides using NotificationPolicy.routes.overrides.notifiers.repeat_interval for each severity listed here. |
require_full_window | Only evaluate if there’s a full window of data. Datadog recommends setting this to false. Supportable using the count_over_time function. |
scheduling_evaluation_window | Cumulative time windows. For example, “evaluate this alert every hour on the :00 mark”. |
silenced | Dictionary of muted tags to end timestamp. Create MutingRule objects for each tag. |
thresholds | Thresholds for severity. Can map to MonitorSpec.series_conditions.severity_conditions for warning and critical. No support for separate thresholds for recovery. |
variables | N/A |
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:
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:Notification policy resources
Link aMonitor resource to a Notification resource by defining a
notification policy. Each unique
route in the Datadog message field maps to a Notification resource. The Monitor
contains a label specifying the notification route it links to, and the default
NotificationPolicy defines overrides that point to each Notification resource.
For 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 MonitorSpec.interval field, or default to 15s to receive
faster alerts.