Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Dynatrace synthetic monitoring tutorial: HTTP and browser tests, API, cost and locations

A login page goes down at 3 a.m. Nobody signs in at that hour, so no user complains, and your RUM stays silent for lack of traffic. Dynatrace synthetic monitoring fills that gap: a robot runs the same journey at a fixed interval, from locations you choose, and raises an alert as soon as the result changes. For an SRE, this is the most stable SLI source there is: same request, same frequency, same…

Dynatrace synthetic monitoring allows you to monitor HTTP and browser tests, API endpoints, as well as cost and location considerations. Traditional user monitoring relies on Real User Monitoring (RUM) which only captures data when users interact with a site or application. However, synthetic monitoring fills the gap by running the same journey at fixed intervals from chosen locations, raising alerts when results change.

This provides a stable Signal Level Indicator (SLI) source for SREs, allowing for monitoring of availability SLIs on critical services, catching night-time outages, and validating deployments before real traffic occurs.

To create synthetic monitors, first choose between public and private locations. Public locations, run by Dynatrace in cloud regions, see your service as an internet user does. Private locations, installed ActiveGates, reach internal applications behind a VPN or firewall. The choice depends on the service being monitored - customers in multiple countries typically use public locations, while internal applications and private APIs use private locations.

After choosing locations, install a private location using a Linux ActiveGate with the synthetic capability enabled. Prepare a Linux ActiveGate, install the ActiveGate using the command `sudo /bin/bash ./Dynatrace-ActiveGate-Linux.sh --enable-synthetic=manual`, and create a private location in the Synthetic settings. Ensure multiple ActiveGates are available per location to avoid being a single point of failure.

Next, create an HTTP monitor by entering the URL to test, HTTP method, required headers, expected content, frequency, and chosen locations. Content validation is crucial to ensure a custom error page served with a 200 status code is not considered a success.

For browser monitors, record a clickpath by loading the page, typing a test account's username, clicking "Sign in," and waiting for a specific element to appear on the next page. To avoid false positives, validate each step on a stable element, use a dedicated test account with no sensitive rights, and keep a reasonable frequency (15 minutes by default).

Finally, tune outage detection by separating global outages (all locations fail) from local outages (one location fails several times in a row). Reduce Davis alert noise to further minimize unnecessary alerts. Dynatrace synthetic monitoring costs vary between HTTP monitors, consuming synthetic requests per run and location, and browser monitors, consuming synthetic actions per step that triggers a web request.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

🧑💻 Portfolio Revamp: Powered by Agents, Steered by Me 🤖

Picture this: I open my own portfolio and it greets me with a giant yellow sunset, four windmills, and a typing animation that proudly announces "I'm a developer." Meanwhile, I spend my whole workday…

  • Author introduces new site showcasing AI-assisted development
  • Site features yellow sunset, windmills, and developer animation
  • Live terminal log demonstrates code generation and testing

Laptop Camera Not Working on Windows 11? 7 Fixes

Your laptop camera shows a black screen or an error in Zoom, Teams, or the Camera app. Windows 11 blocks camera access in several places, so this is usually a privacy setting or a driver issue, not a…

Structured output with JSON, validated with Pydantic - Chat Orders

Day Topic Example Status 1 Talking to an LLM from code Classifying emails by category and urgency ✅ Code 2 Roles, examples and delimiters in prompts Translating technical language into plain language…

  • Pydantic validates JSON output structure and data types
  • Product class defines single product fields for name and quantity
  • Orders class contains address, payment method, and list of Product objects

Myth: CSV Is Just Comma-Separated Values

The name says it: comma-separated values. So the parser is one line: split on commas. I tested that belief with a real run, and a single quoted field broke it.

  • "CSV" stands for "comma-separated values"
  • Parser splits data on commas, fails with quoted fields
  • Flag indicates parser state inside quotes, solves issue

More from Tuesday, 1 December 2026 →