cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy Request attributes/service naming rules between Dynatrace environments (Managed)?

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.

4 REPLIES 4

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Hi Suresh!

This is the typical use case for REST API:

https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/request-attribute...

Get the configuration from one environment and PUT it to the other. Same with service naming rules.

Senior Technical Product Manager,
Dynatrace Managed expert

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.

TEMPEST a.s., Slovakia, Dynatrace Master Partner

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?

https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/248061/defining-request-naming-...

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.

TEMPEST a.s., Slovakia, Dynatrace Master Partner