Module 2 · Dec 2 to Dec 8

Observability and Dynatrace

Page on symptoms, measure them as error budget burn rate, and write the SLI in DQL.

0 of 5 bursts done

Concept in plain wordsAbout 2 minutes

Page a human only when users are hurting or about to be. Everything else goes to a ticket or a dashboard. The four golden signals are latency, traffic, errors and saturation. Alert on symptoms ("payments are failing"), not causes ("CPU at 80%"). Every page must pass a test: is it urgent, actionable, user-visible, and caught by nothing else? Burn rate is how fast you spend error budget relative to the SLO. A burn rate of 1 uses exactly the whole budget by the end of the window; at 14.4, a 30-day budget lasts about two days. Multiwindow alerts pair a long window, which proves the problem is real, with a short one, which proves it is still happening. In Dynatrace, the SLI is a DQL query, and DQL's pipe style will feel close to SQL.

Payments analogy: A static "errors above 50" rule is a bank teller counting bounced checks once a day. Burn rate is a fraud model watching how fast the balance is draining: it catches the slow leak and ignores a single blip.

Banking scenarioKnight Capital, Aug 1, 2012: 97 emails nobody read

What the source says

An internal system at Knight generated automated e-mail messages (called "BNET rejects") that referenced SMARS and identified an error described as "Power Peg disabled." Knight's system sent 97 of these e-mail messages to a group of Knight personnel before the 9:30 a.m. market open.

Knight did not design these types of messages to be system alerts, and Knight personnel generally did not review them when they were received.

SMARS routed millions of orders into the market over a 45-minute period. Ultimately, Knight lost over $460 million from these unwanted positions.

Source: SEC order, Release No. 70694 (Oct 16, 2013) needs internet

Illustrative scenario

An ACH origination service starts rejecting a slice of debit entries after a config change at 06:00. Each reject writes a warning line to a log and sends an email to a shared mailbox. By the 10:30 file cutoff, 40,000 entries have been rejected, and the first anyone hears of it is a corporate client calling about missed payroll debits.

What an SRE would have seen first: A rising error ratio on the origination SLI and a growing count of identical warning emails, both hours before the cutoff. Nobody was paged because nothing was designed to page.

The control that would have caught it: A burn-rate page on the origination SLI (fast-burn 1 h / 5 min window at 14.4) routed to on-call with a runbook link, instead of email. Email is not an alert.

Made-up payments translation for study. Not a real event at any company.

ThresholdsStarting points to tune, never mandates
SettingStarting valueSource
Page: long / short window, burn rate, budget used1 hour / 5 minutes, 14.4, 2%
For a 99.9% SLO over 30 days.
Workbook ch. 5, table 5-8 needs internet
Page: long / short window, burn rate, budget used6 hours / 30 minutes, 6, 5%Workbook ch. 5, table 5-8 needs internet
Ticket: long / short window, burn rate, budget used3 days / 6 hours, 1, 10%Workbook ch. 5, table 5-8 needs internet
Short window length1/12 of the long windowWorkbook ch. 5 needs internet
Duration clauses ("for 10m")Not recommended for SLO alertsWorkbook ch. 5 needs internet
Dynatrace static burn-rate threshold, -1h look-back10 to 14Dynatrace SLO docs needs internet
Latency SLI99th percentile over a short window, such as 1 minute, as an early saturation signalSRE book ch. 6 needs internet
Alert pruningRemove rules that fire less than once a quarterSRE book ch. 6 needs internet
Pages per on-call shiftA few at most; more causes fatigueSRE book ch. 6 needs internet

Rows marked estimate have no published source. Test them against your own traffic.

Quiz3 scenario questions
1. Card authorization SLO is 99.9% over 30 days. For the last hour the burn rate is 15, and for the last 5 minutes it is 16. What should happen?

2. Which of these should be a page?

3. A low-traffic internal treasury service gets about 10 requests an hour. One failure shows a huge burn rate and pages someone. Best fix?

Try itDesktop exercise

Desktop About 1 hour. Use the Dynatrace Playground, a public sandbox with sample data. It asks you to create an account, so that step is yours. Do not use a work tenant. No playground? Write the four queries on your phone and check them against the docs.

  1. Run the DQL guide's starter query (fetch logs | filter loglevel == "ERROR" | summarize numErr = count()) and confirm it returns a count.
  2. Turn it into a time series with makeTimeseries.
  3. Write an SLI query: good requests over all requests, as a percentage.
  4. Add a burn-rate field using the formula on the Dynatrace SLO page.

You keep: A saved note with your 4 queries and one sentence each on what they show.

Verify notes

Read these

From your Sourced Reading Guide. Reading times in that guide are estimates.

Companion book estimate

Becoming a Rockstar SRE needs internet, Jeremy Proffitt and Rod Anami (Packt Publishing, April 28, 2023)

Mapped from chapter titles and the publisher's feature list only; I have not read the book, so treat each link as an estimate. Chapters 8 to 17 were not listed on the pages I opened. The book is from April 2023, so it predates the 2025 incidents and API docs used here; its code repo's software list names Prometheus and Grafana and does not name Dynatrace.