13 Oct 2020 12:18 AM - last edited on 13 Jun 2023 09:54 AM by Karolina_Linda
Hi, I am trying to copy the Request attributes and Service naming rules from QA Dynatrace Environment to PROD Dynatrace Environments across all datacenters. Please suggest if there is a way I can do import/export instead of manually creating the same rules in each Environment/Datacenter? Appreciate your help! Thanks, Suresh.
Solved! Go to Solution.
13 Oct 2020 06:31 AM
Hi Suresh!
This is the typical use case for REST API:
Get the configuration from one environment and PUT it to the other. Same with service naming rules.
13 Oct 2020 07:21 AM
Don't forget you can also do a POST instead of PUT and use the same UUID identifier for the rules between environments. This will save you a lot of time and effort when trying to update the rules between tenants. Otherwise you will have different identifiers in each environment and this will be a nightmare to update and maintain.
14 Dec 2020 11:43 PM - last edited on 16 Oct 2023 03:10 PM by random_user
Thanks @Radoslaw S. @Július L. Do we know whether there is an API available for Request naming at the Service level? I see it is available for Global request naming only. If there is no API available, could you suggest the best approach for the following?
15 Dec 2020 06:45 AM
No at the moment you can only use global naming rules. However, you can leverage service properties or tags to narrow down and specify list of services where these rules should apply.