• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Enablement and cost control

Settings API - Enablement and cost control schema table

Enablement and cost control (builtin:rum.web.enablement)

Turn on Real User Monitoring and Session Replay. Configure cost and traffic control settings.

Schema IDSchema groupsScope
builtin:rum.web.enablement
  • group:web-and-mobile-monitoring.web-applications
  • group:web-and-mobile-monitoring
  • group:rum-settings
APPLICATION - Web application
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.enablement
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:rum.web.enablement
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.enablement

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

PropertyLabelTypeDescriptionRequired
rumReal User Monitoringrum

Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.

required
sessionReplaySession ReplaysessionReplay

Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.

required

Request body objects

The rum object
PropertyLabelTypeDescriptionRequired
enabledEnable Real User Monitoringboolean-required
costAndTrafficControlCost and traffic controlinteger

Percentage of user sessions captured and analyzed

required
The sessionReplay object
PropertyLabelTypeDescriptionRequired
enabledEnable Session Replayboolean

Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.

required
costAndTrafficControlCost and traffic controlinteger

Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.

required