|
|
||
|---|---|---|
| .. | ||
| data | ||
| README.md | ||
| config.ini | ||
| providerBreakdown.py | ||
README.md
Provider Breakdown Configuration
- Dynatrace automatically recognizes more than 1,000 3rd-party content providers, including Google, Amazon, Twitter, and LinkedIn. Typical 3rd-party content includes Facebook and Twitter widgets, gravatars, and similar resources. It's worth monitoring this type of content to know exactly how it affects your applications and to understand if such content is the root cause of any page slow-downs.
- This extesions allows you to set up rules that define how your applications' downloaded content resources (images, CSS, 3rd party widgets, and more) are displayed and categorized for analysis.
- This extension allows you to keep the configuration consistent accross all tenants
Download configuration
- Configure config.ini file:
downloadConfig = 1 updateConfig = 0 - Run the script:
python providerBreakdown.py - The configuration will appear under /data//contentResources/contentResources.json
Create configuration
Use case: A team wants to create a new provider breakdown rule
- Configure config.ini file:
downloadConfig = 0 updateConfig = 1 - Edit the file /data//contentResources/contentResources.json adding the desired rule. For example:
{ "resourceName": "OneLogin (Prod)", "resourceType": "FIRST_PARTY_RESOURCES", "brandIconUrl": "https://empty", "domainNamePatterns": [ "customer.bmwgroup.com" ] } - Run the script:
python providerBreakdown.py
Delete configuration
- Same process as before:
- access the JSON
- delete the target rule
- run the update