Synthetic Monitoring
Browser monitors, HTTP monitors, synthetic locations.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Synthetic Monitor execution from Different Location with different Times

Adi_10
Guide

Hi Team,

 

Consider we have a application url say https://google.com

and we do have 5 location as A, B, C, D, E - Now this locations can be private or public based on the URL accessible to execution

How can we set this synthetic monitor execution to run at 1 time with location A, 2nd time location B only, 3rd time Location C only and so on...

Consider monitor run every 1 minute

12.01 - Location A only

12.02 - Location B only

12.03 - Location C only

12.04 - Location D only

12.05 - Location E only  and so on.

 

How this can be achieved with using synthetic monitor or using workflows ?

 

1 REPLY 1

t_pawlak
Champion

Hi,
In standard Synthetic scheduling, you can’t tell a single monitor: “run now only from A, next minute only from B, then C”. The scheduler is driven by frequency + assigned locations, and (for many monitor types) the same interval applies per location.

If your goal is “one execution per minute, each minute a different location” (order not necessarily guaranteed as A→B→C→D→E, but effectively distributed), then:

Assign 5 locations (A–E)

Set Frequency = 5 minutes (not 1 minute)

For browser monitors, Dynatrace spaces executions so that with 5 locations and 5-minute frequency you effectively get ~1 execution per minute from a different location.

BUT:

The exact sequence (A then B then C…) is not a strict “pinned” order you can control.

For HTTP monitors, expect “frequency per location” behavior (each location runs every X minutes), and you typically won’t get a strict per-minute rotation with one location only.

Second option is use on-demand execution per location and if u have posibbility workflows.

If you need deterministic rotation (exactly one location per minute, in your chosen order), then do it as on-demand executions and choose the location each time.

Dynatrace supports:

  • On-demand executions where you can trigger a monitor from a selected location (UI/API).
  • Synthetic for Workflows, which lets a Workflow execute a monitor on demand at a selected location.

 

1. Set your monitor’s schedule to On demand only (so it won’t run on its own).

2. Install Synthetic for Workflows and grant required permissions.

3. Create 5 separate scheduled workflows, each triggering the same monitor but with a different fixed location:

  • Workflow #1 runs at minutes …:00, …:05, …:10 → execute at Location A
  • Workflow #2 runs at minutes …:01, …:06, …:11 → execute at Location B
  • Workflow #3 runs at minutes …:02, …:07, …:12 → execute at Location C
  • Workflow #4 runs at minutes …:03, …:08, …:13 → execute at Location D
  • Workflow #5 runs at minutes …:04, …:09, …:14 → execute at Location E

 

If Workflows are not available, this can be done externally using cron or any scheduler that calls the Dynatrace Synthetic API every minute and triggers the monitor on-demand with a different location (A→B→C→D→E). The rotation logic is handled in the script (bash/python, cron, gitlab, jenkins, whatever).

Featured Posts