Dynatrace

 Dynatarce is a 3rd party application which used to 

monitor and identify security vulnerabilities on Sana platform-hosted Webstores.

1 instralltion/ webstore has 1 app 

The only basic requirement is hosting level should be Live (Saas/Customized). 

Beta will not monitor.

But if you change the BETA webstore hosting level to LIVE, then monitoring will be available.

and if you change LIVE webstore to BETA, then monitoring will not be available. (but the app will remain)


it will monitor

  • monitor main Webstores  ,  eg : CY_Test
  • monitor its domains separately  

  1. ctest@sana.commerce.com
  2. ctest2@sana.commerce.com
  3. ctest3@sana.test.commerce.com


 Go to >  https://bol50726.live.dynatrace.com/ui/dashboards?gtf=-2h&gf=all



change environment 


1 Live / Production
3 Staging



Verification Point 01
Digital Experience > Web 

1 Is the App created successfully
2 Tags and Detection rules will be created according to Custom domains 

ex : 60908-sccimd52kdkq3q   (Webstore Id + App Name)



you can verify graphs are enabled on the test 


disable graphs look the following.



Verification Point 02

Digital Experience > Synthetic
Search by webstore Id > select 'All'



click the search result.

Verify details are correct 




verify charts are working on Production (staging will not work)


Verification Point 03

Manage > Settings > Tags > Automatically applied tags



03. 1 Verify automatic tags 
search by id > click search result



verify webstore id , app name, and cluster name are correct 



03. 2 Verify Settings >  Preferences >  Management zones
search by id > click search result drop down 



Verify details are correct 
 Name webstore id + app name 
 Description "Management Zone for " + webstore name






Verifications need to be done after,
  • installation of a Live webstore 
  • update domain
  • region change
  • Hosting Level change 
Verify if the Live site changes to Beta all App recorders should be removed. verify later 

Related Tickets

213438 Create Automatically Applied Tags in Dynatrace

verification can be done by line by line 

copy below Json row and put it on a formatter 

{"enabled":true,"valueFormat":null,"valueNormalization":"Leave text as-is","type":"ME","attributeRule":{"entityType":"SERVICE","conditions":[{"key":"SERVICE_TAGS","operator":"EQUALS","tag":"[Kubernetes]app:WebstoreId-appname"}],"serviceToHostPropagation":true,"serviceToPGPropagation":true}},





currently, test domains (sana srore.net azure.net etc.) are excluded from the the monitoring(due to cost) Once we are required to test, we need to ask from developer to remove the specific domains from the excluded list.  





following details could be changes 

Webstore name : PermanentStore-Amanda

1 scenario:
 Then Remove The Subdomain(mystore1) and keep Domain (sana-commerce.com)

Store 1   mystore1.sana-commerce.com  
Rule 
- domain contains  sana-commerce.com


 2 scenario
When have 2 custom domains with the same domain 
 (same domain doesn't want to monitor twice )




Store 1  mystore1.sana-commerce.com
              mystore2.sana-commerce.com 
Rule
 - domain contains  sana-commerce.com



 3 scenario 
Add another multi-store with the same domain 
The rules will be created separately for each one. ()




Store 1  mystore1.sana-commerce.com
              mystore2.sana-commerce.com 

Store 2  mystore50.sana-commerce.com

Rule 
- domain contains  mystore1.sana-commerce.com
- domain contains  mystore2.sana-commerce.com 
- domain contains  mystore50.sana-commerce.com


 4 scenario ( not sure )
Add another multi-store with a different domain 
The rules will be group by domain

Store 1  mystore1.sana-commerce.com
              mystore2.sana-commerce.com 

Store 2  mystore50.sana-test.com
             mystore51.sana-test.com

Rule 
- domain contains  sana-commerce.com 
- domain contains  sana-test.com


Dynatrace Delete