Settings API - Define custom injection rules schema table
Define custom injection rules (builtin:rum.web.custom-injection-rules)
Define custom injection rules to control when and where RUM is automatically injected into your application's pages.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:rum.web.custom-injection-rules |
| APPLICATION - Web application |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.custom-injection-rules |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:rum.web.custom-injection-rules | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.custom-injection-rules |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property | Type | Description | Required |
---|---|---|---|
Enable ruleenabled | boolean | - | required |
Operatoroperator | enum | Example: For the URL: A rule can be specified on the URL pattern: Using the operator: Result:
| required |
URL patternurlPattern | text | - | required |
Rulerule | enum |
| required |
htmlPattern | text | - | required |