For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/monitors/guide/why-did-my-monitor-settings-change-not-take-effect.md. A documentation index is available at /llms.txt.

Monitor settings changes not taking effect

Overview

Datadog keeps monitor groups available in the UI for a retention period after they stop reporting, unless the query is changed. The retention period depends on the monitor type and configuration. For details, see Group retention time. If you do not have No Data alert settings enabled and your group for a metric monitor stops reporting data, the group persists on the monitor status page until it ages out, though that group stops being evaluated after a short absence.

For event monitors, however, Datadog also keeps groups for evaluations for at least 24 hours. This means that if a monitor is updated and the groups are changed in the query, some old groups may persist. If you must change the group settings on your event monitor, you may want to clone or create a monitor to reflect your new groups. Alternatively, you can mute them if you would like to maintain the monitor but silence any alerts that would result from the changes.

Renamed or decommissioned hosts appearing in alerts

When a host is renamed at the operating system (OS) level or decommissioned, the old hostname may continue to appear in monitor alert groups even after the host stops reporting data. This is expected behavior based on host group retention periods, which vary by monitor type and configuration. For the retention period that applies to each monitor type, see Group retention time.

The old hostname remains in an alert state until the retention period expires, after which it automatically ages out and disappears from the monitor. Note: The old hostname will no longer appear in Infrastructure > Hosts, but will continue to be evaluated by monitors until the retention window passes.

If a Custom Schedule is applied to a monitor, decommissioned hosts continue to be evaluated past the standard retention window. For more information, see Custom Schedules.

Workarounds

If you need to remove the old hostname from alerts before the retention period expires, you can use one of the following workarounds:

  • Mute the specific alert group for the old hostname while it ages out naturally.
  • Add an exclusion filter to the monitor query (for example, -host:old-hostname) to immediately remove the hostname from evaluation.

Further reading

Additional helpful documentation, links, and articles: