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.
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.
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.
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?
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.