15 Sep 2025 04:21 AM - edited 15 Sep 2025 04:33 AM
Hi All,
We're facing one problem - We're going to create some synthetic monitors for some key pages both in our 2 environments (Testing environment and Production environment).
There's only the domain is different for those 2 environments. All the others are same.
e.g. Homepage: Testing Environment: s1-live.abc.com
Production Environment: www.abc.com
Previously, we'll both create synthetic monitors both in those 2 environments for homepage.
May I know if there're any way in dynatrace to parameterize the domain, then we will no need to create synthetic monitors in 2 environments just only change the domain?
15 Sep 2025 08:56 AM
Hi,
unfortunately, I’m not aware of an option to parameterize the domain directly.
However, you can use Monaco/Terraform automation, where variables let you create a synthetic test. For example, use a base_url variable, and when you upload the configuration it will automatically take its value:
${base_url}/homepage
15 Sep 2025 01:20 PM
Alternatively, you can check here: https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/http-monitors-classi...