Create A Duplicate Monitor

Hello,

Is there a way to duplicate a monitor, essentially avoiding writing the same configuration more than once if the configuration applies to all.

Any help would be great?

Hi @erikg and thanks for using Synthetics!

In the UI today, there's no way to save a template or profile. But, we did just merge a patch that will expose the CRUD functionality as a documented public API. As of now we are expecting this to release in 8.14.0 but it is of course subject to change.

Alternatively, you can look into project monitors. This is a gitops-themed method of maintaining monitors that allows you to treat them as code. If you want to generate lots of monitors quickly this is a way of doing it in a maintainable and version-controlled way.

I hope that helps, please let us know if you have further questions!

1 Like