Thirty notifications a night, two of them useful: on-call ends up ignoring the channel, and on the day a real incident hits, nobody reacts. To reduce alert noise, muting notifications at random is not enough. You need to act on three levels: anomaly detection, routing through alerting profiles, and maintenance windows.

Goal: by the end of this tutorial you will know how to measure current noise, tune a service’s anomaly detection, create an alerting profile that only pages on real impact, and check the result. The content applies to Dynatrace Managed and Dynatrace SaaS; differences (Workflows, DQL) are flagged.

If Davis still feels unclear, reread the Davis and alerting module before you start.

The problem: reduce alert noise without missing real incidents

Noise has a measurable SRE cost: on-call fatigue, longer MTTR because the signal gets lost, and manual triage toil. The classic mistake is to raise every threshold. You then lose early detection. The healthy approach: keep detection broad, and filter what wakes someone up.

Prerequisites

  • A Dynatrace environment (SaaS or Managed) with services monitored by OneAgent.
  • Permission to change environment settings.
  • An API token with settings read and write scopes (settings.read, settings.write) and problem read scope (problems.read).
  • An existing notification integration (PagerDuty, Opsgenie, email, webhook…).

Step 1: measure current noise

You only reduce what you measure. Fetch the problems from the last 7 days:

curl -s -G "$DT_ENV/api/v2/problems" \ -H "Authorization: Api-Token $DT_TOKEN" \ --data-urlencode 'from=now-7d' \ --data-urlencode 'pageSize=500' \ | jq -r '.problems[] | [.severityLevel, .impactLevel, .title] | @tsv' \ | sort | uniq -c | sort -rn | head -20 

On SaaS, the same analysis runs in DQL in a Notebook:

fetch dt.davis.problems, from: now()-7d | summarize problems = count(), by: { event.category, event.name } | sort problems desc | limit 20 

Davis problem field names may vary by version: display a raw record with fetch dt.davis.problems | limit 1 to confirm them. Spot titles that recur often with no action behind them: those are your targets.

Step 2: tune a service’s anomaly detection

For a chatty service (batch, error-tolerant internal API), tune its detection rather than disabling it. In the service settings, under Anomaly detection, you can notably:

  • switch failure rate detection to a fixed threshold suited to the service, instead of automatic mode;
  • raise the minimum number of requests per minute taken into account, to ignore nearly idle services;
  • adjust the sensitivity of response time detection.

The same settings exist in the Settings API v2. First fetch the schema to learn the exact fields for your version:

curl -s "$DT_ENV/api/v2/settings/schemas/builtin:anomaly-detection.services" \ -H "Authorization: Api-Token $DT_TOKEN" | jq '.properties | keys' curl -s -G "$DT_ENV/api/v2/settings/objects" \ -H "Authorization: Api-Token $DT_TOKEN" \ --data-urlencode 'schemaIds=builtin:anomaly-detection.services' \ --data-urlencode 'scopes=SERVICE-0123456789ABCDEF' | jq '.items[0].value' 

Start from the returned value, change only the fields you need, then send the object back with POST /api/v2/settings/objects, specifying the service scope. Do not copy a body found elsewhere: the schema is the reference. The reference documentation is on docs.dynatrace.com.

Step 3: an alerting profile that only pages on impact

The alerting profile decides which problems trigger a notification. Create an « on-call » profile separate from an « information » profile:

  1. Filter on a management zone or a team tag, so each team only receives its own services.
  2. For Availability and Error severities, keep a short delay (0 to 5 minutes).
  3. For Slowdown and Resource, add a delay (for example 15 to 30 minutes): problems that resolve themselves within that delay do not notify.
  4. Exclude Custom (custom alert) and Monitoring unavailable severities from the on-call profile when they need no immediate action; send them to a non-blocking channel.

The matching Settings API schema is builtin:alerting.profile. Query it as in step 2 before automating. Detailed profile and integration setup is described in alerting profiles and integrations. Finally, attach the paging integration to this profile only.

Step 4: maintenance windows and deployments

Part of the noise comes from planned operations. Declare a maintenance window for known restarts and migrations, with the option that suppresses alerts but keeps detection. Davis keeps the history and you can analyse the window afterwards. For deployments, send a deployment event from your pipeline: Davis takes it into account in its root cause analysis.

Step 5: alert on SLOs rather than symptoms

The strongest lever is still to page on error budget rather than on every anomaly. A burn rate alert only fires when perceived reliability is threatened. Setup: SLO burn rate alerts. On SaaS, a Workflow can also filter and enrich problems before notification; on Managed, the alerting profile remains the main tool.

How to check that it works

  1. Rerun the step 1 query a week later and compare the number of notified problems.
  2. Check that Availability problems still notify: trigger a test on a staging service (stop a process) and check the notification.
  3. On a problem page, the list of sent notifications shows which profile was applied.
  4. Track two indicators: pages per week and share of pages that led to an action. Aim for a high action share.

Best practices

  • Every page must be actionable; otherwise it goes to an information channel.
  • Change one setting at a time and write it down, so you know which one reduced noise.
  • Review ignored alerts in every blameless retrospective.
  • Version profiles and detection settings (Settings API or Terraform).
  • Never disable unavailability detection to lower the volume.

Frequently asked questions

Should automatic detection be disabled to reduce noise?

Rarely. It is better to tune it per service and filter at the alerting profile level. Disabling it also removes context useful for root cause analysis.

Does the notification delay hold back real incidents?

For the severities concerned, yes, by the chosen duration. That is why it is reserved for slowdowns and resources, not for unavailability.

Are these settings the same on SaaS and Managed?

Alerting profiles, anomaly detection and maintenance windows exist on both. Workflows and DQL are specific to SaaS.

Conclusion

A calm on-call is not a blind on-call. Measure, tune detection service by service, filter by profile, then gradually move to error budget alerts. The result: fewer pages, and each one counts.

span.observer is an independent community blog, not affiliated with Dynatrace LLC. Dynatrace is a trademark of its owner. Screen and field names may vary by version: check them in the official documentation.

Originally published on span.observer. French version: https://span.observer/fr/reduire-bruit-alertes-davis/.