question

Daniel S. avatar image
Daniel S. asked ·

Exporting or Migrating Naming Rules

We were making the "Naming Rules" for an application in QA Enviroment of which 100 were generated (the allowed by Dynatrace), but we have the question of whether it is possible to migrate or copy in some way these "naming rules" to the same application but in production enviroment?

rest apiuser actions
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Julius L. avatar image
Julius L. answered ·

Unfortunately, user action naming rules are not (yet) part of ten configuration API.

First I'd recommend analysing if the number of rules cannot be lowered (use of extraction rules, use Dynatrace JS API in the application, etc..). Otherwise, you have to sync the configuration manually in the UI or by simulating the UI requests, which is tricky and error-prone.

5 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

I agree that lowering should be case here, but user action naming rules are in API:

https://www.dynatrace.com/support/help/shortlink/api-config-web-app#applicationswebid-get-response-useractionnamingsettings

Look here :)

Sebastian

0 Likes 0 · ·

I agree it's in the docs, but it is probably not implemented yet. Did you try that?


In any environment I have access to the userActionNamingSettings are not present in the GET /api/config/v1/applications/web/<application> (v174) or are set to null (v172) even if there are rules defined in the application configuration.

Does this work for you?

0 Likes 0 · ·

Ok you're right. I have on managed and SaaS missing it too, but despite documentation online, default swagger responses as well has this model implemented. Missing in responses is mistake I suppose or this will come really soon.

0 Likes 0 · ·

I guess the export will contain the export from the new user action naming engine and will probably skip the current one.

1 Like 1 · ·

You may be right. This is first situation I've faced differences between documentation and reality in Dynatrace ;)

0 Likes 0 · ·
Sebastian K. avatar image
Sebastian K. answered ·

You should check Configuration API for such case:

https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/configuration-api/web-application-configuration-api/

There is option for exporting full application Configuration into json. Than you can use this payload on different environment.

Sebastian

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX timestamp action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android