Real User Monitoring browser extension API
The Real User Monitoring browser extension API provides you easy access to the configuration of the RUM browser extension.
The request produces an application/json
payload.
GET |
|
Authentication
To execute this request, you need the RumBrowserExtension permission assigned to your API token. To obtain the token, go to Deploy Dynatrace > Monitoring via browser extension. There you can find the ready-to-use link with token attached. You can still use the token in the Authentication header).
Parameters
The request doesn't provide any configurable parameters.
Response
Element | Type | Description |
---|---|---|
revision | integer | The revision number of the RUM browser extension configuration. |
applications | A list of applications set up for monitoring via browser extension. |
The BrowserExtension
object
An application set up for monitoring via browser extension.
Element | Type | Description |
---|---|---|
urlRegex | string | The regular expression of the application's URL. |
jsAgentScript | string | The HTML tag containing OneAgent JavaScript tag for the application. |
{
"revision": 1592440974514,
"applications": [
{
"urlRegex": "m.easytravel.at",
"jsAgentScript": "<script type=\"text/javascript\" src=\"https://mySampleEnv.live.dynatrace.com/jstag/1468ae7109d/ruxitagent_2SVfqru_10197200617123048.js\" data-dtconfig=\"app=f4c5b4c7c853d7b6|cors=1|owasp=1|featureHash=2SVfqru|vcv=2|xb=dfdfdf|reportUrl=https://mySampleEnv.dynatrace.com/bf|rdnt=0|uxrgce=1|cuc=swozoyh2|lastModification=1592245452322|dtVersion=10197200617123048|tp=500,50,0,1|uxdcw=1500|vs=2|agentUri=https://mySampleEnv.live.dynatrace.com/jstag/1468ae7109d/ruxitagent_2SVfqru_10197200617123048.js\" crossorigin=\"anonymous\"></script>"
},
{
"urlRegex": "dynatarace.com",
"jsAgentScript": "<script type=\"text/javascript\" src=\"https://mySampleEnv.live.dynatrace.com/jstag/1468ae7109d/ruxitagent_2SVfqru_10197200617123048.js\" data-dtconfig=\"app=ae9048d3399505a9|cors=1|owasp=1|featureHash=2SVfqru|vcv=2|reportUrl=https://mySampleEnv.dynatrace.com/bf|rdnt=1|uxrgce=1|cuc=swozoyh2|lastModification=1592245451036|dtVersion=10197200617123048|tp=500,50,0,1|uxdcw=1500|vs=2|agentUri=https://mySampleEnv.live.dynatrace.com/jstag/1468ae7109d/ruxitagent_2SVfqru_10197200617123048.js\" crossorigin=\"anonymous\"></script>"
}
]
}