Study guide

10.3 Apdex Performance Ratings, User Sessions & Session Replay Masking

Dynatrace Certified Associate Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Platform Overview, Deployment Models & Architecture

1.1 Dynatrace Platform Capabilities, Web UI Navigation & the Dynatrace Hub 1.2 SaaS vs. Dynatrace Managed Architecture & Security 1.3 Core Telemetry Components: OneAgent, ActiveGate & Grail Lakehouse 1.4 Licensing Models: Dynatrace Platform Subscription (DPS) & Davis Data Units (DDUs)

2 Chapter 2: ActiveGate Architecture & Network Topologies

2.1 ActiveGate Types: Environment vs. Cluster ActiveGates 2.2 ActiveGate Capabilities: Proxying, Private Synthetic, Cloud Integrations & Extensions 2.3 Network Zones, Multi-DC Routing & Firewall Traversal

3 Chapter 3: OneAgent Deployment, Configuration & Management

3.1 OneAgent Architecture, Components & Automatic Injection 3.2 Host Installation on Linux, Windows & Containerized Hosts 3.3 Cloud-Native Deployment: Dynatrace Operator on Kubernetes & OpenShift 3.4 Kubernetes Observability: Clusters, Nodes, Namespaces, Workloads & Events

4 Chapter 4: Monitoring Modes, Process Groups & Infrastructure Observability

4.1 Monitoring Modes: Full-Stack vs. Infrastructure-Only vs. Discovery 4.2 Process Groups, Process Instances & Custom Process Group Detection Rules 4.3 Host Groups, Host Naming Rules & Environmental Metadata Extraction 4.4 Infrastructure & Operations: Host Health, Disk, Network & Availability Analysis 4.5 Database Observability: The Databases App, Connection Pools & Storage Latency

5 Chapter 5: Smartscape Topology & Service Flow

5.1 The 5-Layer Smartscape Topology: Datacenter to Application 5.2 Service Detection: Web Services, Background Tasks & Custom Services 5.3 Service Flow, Backtrace Analysis & Horizontal/Vertical Dependency Mapping

6 Chapter 6: PurePath Distributed Tracing & Code-Level Diagnostics

6.1 PurePath Architecture, Distributed Tracing & Request Context Propagation 6.2 Method Hotspots, CPU Profiling & Memory Allocation Thread Analysis 6.3 Database Service Diagnostics, Slow Queries & Exception Analysis

7 Chapter 7: Davis AI Engine, Baselining & Causation

7.1 Davis Deterministic Causation Engine vs. Pure Correlation 7.2 Automated Dynamic Baselining, Percentiles & Traffic Seasonality 7.3 Event Ingestion, Event Types & Event Hierarchy in Problem Evolution

8 Chapter 8: Problem Lifecycle, Root Cause Analysis & Alerting

8.1 Problem Lifecycle, Severity Categories & Root Cause Cards 8.2 Alerting Profiles, Delay Filters & Management Zone Routing 8.3 Problem Notification Integrations: Webhooks, Slack, ServiceNow & ITSM

9 Chapter 9: Digital Experience Monitoring: Synthetic Monitoring

9.1 Synthetic Monitors: HTTP, Single-Step Browser & Multi-Step Clickpaths 9.2 Private Synthetic Locations, ActiveGate Engines & Credential Vault 9.3 Outage Detection, Performance Baselining & Maintenance Suppression

10 Chapter 10: Digital Experience Monitoring: Real User Monitoring (RUM)

10.1 RUM Architecture, OneAgent Script Injection & Mobile/OpenKit Telemetry 10.2 User Actions: Load vs. XHR/Fetch Actions, Visually Complete & Speed Index 10.3 Apdex Performance Ratings, User Sessions & Session Replay Masking

11 Chapter 11: Log Management and Analytics on Grail with DQL

11.1 Log Management on Grail: Storage, Ingestion Pipelines & Log Masking 11.2 Dynatrace Query Language (DQL): Fetch, Filter, Fields & String Operations 11.3 DQL Aggregations: Summarize, MakeTimeseries, Sorting & Visualizations

12 Chapter 12: Platform Governance, OpenTelemetry & Automation

12.1 Management Zones: Scoping Observability, Dashboards & Access Control 12.2 Tagging Strategies: Automated Rule-Based Tags, Manual Tags & AWS/K8s Metadata 12.3 OpenTelemetry Ingestion, OpenPipeline & Dynatrace Workflows Automation

13 Chapter 13: Cloud Integrations & Agentless Infrastructure Ingestion

13.1 AWS, Azure & Google Cloud Integrations 13.2 VMware vSphere, Extensions & Other Agentless Ingestion Paths

14 Chapter 14: Business Analytics & Business Events

14.1 Business Events: Capture, Ingestion & the bizevents Grail Table 14.2 Business Analytics: Connecting Performance to Revenue, Conversion & KPIs

15 Chapter 15: Notebooks, Dashboards & Data Visualization

15.1 Notebooks: Section-Based Investigation & Shareable Analysis 15.2 Dashboards: Tiles, Variables, Segments & Continuous Monitoring 15.3 Choosing Visualizations: Data Explorer, Chart Types & Metric Selection

16 Chapter 16: Reporting, Metrics & User Behavior Analysis

16.1 Metrics on Grail: Built-in Metrics, Granularity & Retention 16.2 Dashboard Reports, Subscriptions & Exporting Data via APIs 16.3 User Behavior Analysis: Bounce Rate, Landing & Exit Pages, Conversion Goals 16.4 Session Segmentation, User Journeys & Funnel Drop-Off Analysis

17 Chapter 17: Security, Vulnerability Analytics & Application Protection

17.1 Platform Security: Data Privacy, Encryption & Access Control 17.2 Third-Party Vulnerabilities, the Davis Security Score & Security Advisor 17.3 Code-Level Vulnerabilities, Attacks & Runtime Application Protection 17.4 Security Investigator, Notifications & the Remediation Workflow

10.3 Apdex Performance Ratings, User Sessions & Session Replay Masking

Key Takeaways Explain This Topic AI

Apdex (Application Performance Index) quantifies end-user satisfaction by categorizing user actions into Satisfied (<= T), Tolerating (T to 4T), and Frustrated (> 4T or containing any client/server error).

A user session represents a continuous sequence of user actions from a single client, terminated by 30 minutes of inactivity, reaching 24 hours total duration, accumulating 200 user actions, or an explicit API call.

User tagging maps anonymous cookie visitors to real human identities (usernames, email addresses, customer IDs) using DOM elements, JavaScript variables, cookies, or server-side request attributes.

Session Replay reconstructs a high-fidelity visual playback of user sessions by recording initial DOM snapshots and continuous MutationObserver diffs rather than streaming video screen recordings.

To comply with privacy regulations (GDPR, HIPAA, PCI-DSS), Dynatrace enforces client-side masking directly within the user's browser memory prior to beacon transmission, guaranteeing sensitive data never traverses the network.

Last updated: September 2026

Delivering exceptional digital experiences requires translating complex technical metrics—such as latency percentiles, DOM render intervals, and asynchronous network durations—into clear, business-aligned indicators of user satisfaction. Simultaneously, observability platforms must observe real user journeys without compromising end-user privacy or violating strict global compliance mandates such as the European Union General Data Protection Regulation (GDPR), the Health Insurance Portability and Accountability Act (HIPAA), or the Payment Card Industry Data Security Standard (PCI-DSS).

Dynatrace accomplishes this balance through three interconnected technologies: the Application Performance Index (Apdex) , intelligent User Session management , and Session Replay with client-side privacy masking .

1. The Apdex Standard: Architecture, Tiers & Mathematical Mechanics

The Application Performance Index (Apdex) is an open industry standard (defined by the Apdex Alliance) designed to quantify end-user satisfaction with software application response times. Instead of relying on statistical averages—which easily conceal terrible experiences suffered by minority user cohorts—Apdex evaluates each discrete user action against a configurable performance target threshold, designated as T T T .

The Three Apdex Categories

Based on the target threshold T T T , every completed user action is classified into one of three distinct user experience states: +---------------------------------------------------------------------------------------------------+

  • | APDEX SATISFACTION CATEGORIES |
  • +---------------------------------------------------------------------------------------------------+
  • | 0.0s T 4T |
  • | ├─── SATISFIED (Fast & Clean) ──┼─── TOLERATING (Noticeable) ───┼─── FRUSTRATED (Sluggish / Error) ─▶
  • | • Duration <= T • T < Duration <= 4T • Duration > 4T |
  • | • Zero JavaScript errors • Zero JavaScript errors • OR JavaScript Error thrown |
  • | • Zero HTTP 4xx/5xx errors • Zero HTTP 4xx/5xx errors • OR HTTP 4xx/5xx error code |
  • | • Contributes 1.0 point • Contributes 0.5 points • Contributes 0.0 points |
  • +---------------------------------------------------------------------------------------------------+

Satisfied: The action completes quickly, allowing the user to remain fully productive without noticing delay. The action duration is less than or equal to T T T , and no technical errors occurred. Each satisfied action contributes 1.0 to the Apdex calculation.

Tolerating: The user notices a slight delay but can continue their workflow without significant disruption. The action duration is greater than T T T but less than or equal to 4 T 4T 4 T (four times the target threshold), and no technical errors occurred. Each tolerating action contributes 0.5 to the Apdex calculation.

Frustrated: The user experiences unacceptable slowness, or the action encounters an error. Each frustrated action contributes 0.0 to the Apdex calculation. In Dynatrace, an action is automatically classified as Frustrated if:

  • Its duration exceeds 4 T 4T 4 T , OR
  • The action encounters an unhandled client-side JavaScript error, OR
  • Any associated web request returns an HTTP client error ( 4xx ) or server error ( 5xx ), OR

An image, script, or essential sub-resource fails to download.

Exam Rule: Technical errors always override response time. If an action has a target T = 3.0 s T = 3.0\text{s} T = 3.0 s and completes in an ultra-fast 0.4 seconds 0.4\text{ seconds} 0.4 seconds , but throws an unhandled JavaScript exception or an HTTP 500 error, it is classified as Frustrated , not Satisfied.

The Apdex Formula

The overall Apdex score represents a decimal rating between 0.0 0.0 0.0 (complete frustration) and 1.0 1.0 1.0 (perfect satisfaction): Apdex = Satisfied Count + ( Tolerating Count 2 ) Total User Actions \text{Apdex} = \frac{\text{Satisfied Count} + \left( \frac{\text{Tolerating Count}}{2} \right)}{\text{Total User Actions}} Apdex = Total User Actions Satisfied Count + ( 2 Tolerating Count ​ ) ​

Apdex Performance Rating Scale

Dynatrace maps the calculated Apdex score to five qualitative performance tiers:

Apdex Score Range Qualitative Rating User Experience Interpretation

0.94 – 1.00 Excellent Exceptional speed; virtually all users are completely satisfied.

0.85 – 0.93 Good High performance; minor delays affecting a small minority.

0.70 – 0.84 Fair Noticeable latency; a significant fraction of users encounter friction.

0.50 – 0.69 Poor Substandard experience; widespread delays and frustration.

0.00 – 0.49 Unacceptable Critical degradation; majority of actions are slow or failing.

2. Practical Apdex Calculations: Step-by-Step Scenario

Consider an e-commerce catalog search action configured with an Apdex threshold of T = 2.0 seconds T = 2.0\text{ seconds} T = 2.0 seconds ( 4 T = 8.0 seconds 4T = 8.0\text{ seconds} 4 T = 8.0 seconds ). During a promotional hour, Dynatrace records 1,000 search actions with the following performance distribution:

700 actions complete in 1.2 seconds 1.2\text{ seconds} 1.2 seconds with no errors.

150 actions complete in 4.5 seconds 4.5\text{ seconds} 4.5 seconds with no errors.

50 actions complete in 9.2 seconds 9.2\text{ seconds} 9.2 seconds with no errors.

100 actions complete in 1.1 seconds 1.1\text{ seconds} 1.1 seconds but encounter an unhandled JavaScript exception.

Step 1: Categorize the Actions

Satisfied: The 700 actions at 1.2 s 1.2\text{s} 1.2 s are ≤ 2.0 s \le 2.0\text{s} ≤ 2.0 s ( T T T ) with no errors → \rightarrow → 700 Satisfied .

Tolerating: The 150 actions at 4.5 s 4.5\text{s} 4.5 s fall between 2.0 s 2.0\text{s} 2.0 s ( T T T ) and 8.0 s 8.0\text{s} 8.0 s ( 4 T 4T 4 T ) with no errors → \rightarrow → 150 Tolerating .

Frustrated:

The 50 actions at 9.2 s 9.2\text{s} 9.2 s exceed 8.0 s 8.0\text{s} 8.0 s ( 4 T 4T 4 T ) → \rightarrow → 50 Frustrated.

The 100 actions at 1.1 s 1.1\text{s} 1.1 s experienced a JavaScript error, overriding their fast time → \rightarrow → 100 Frustrated.

Total Frustrated: $50 + 100 = $ 150 Frustrated .

Step 2: Apply the Apdex Formula Apdex = 700 + ( 150 2 ) 1000 = 700 + 75 1000 = 775 1000 = 0.775 \text{Apdex} = \frac{700 + \left( \frac{150}{2} \right)}{1000} = \frac{700 + 75}{1000} = \frac{775}{1000} = \mathbf{0.775} Apdex = 1000 700 + ( 2 150 ​ ) ​ = 1000 700 + 75 ​ = 1000 775 ​ = 0.775

Step 3: Evaluate the Rating

An Apdex score of 0.78 0.78 0.78 falls in the 0.70 – 0.84 range, resulting in a qualitative rating of Fair .

3. Application-Level vs. Key User Action Apdex

Dynatrace allows organizations to establish Apdex thresholds at two distinct levels:

Application-Level Apdex: Defines default thresholds for all Load actions and XHR actions across the entire web application (e.g., default Load T = 3.0 s T = 3.0\text{s} T = 3.0 s ; default XHR T = 1.0 s T = 1.0\text{s} T = 1.0 s ).

Key User Action Apdex: Overrides the global threshold with a customized, independent target for critical business actions. For instance, while a general information page might tolerate T = 3.0 seconds T = 3.0\text{ seconds} T = 3.0 seconds , an executive checkout action can enforce an aggressive T = 0.8 seconds T = 0.8\text{ seconds} T = 0.8 seconds , ensuring that anomalies and alerts reflect true business urgency.

4. User Sessions: Grouping, Lifecycle & Termination Triggers

A User Session represents a sequence of user actions performed by an individual user within a specific web application or mobile client. By correlating independent clicks and page views into a contiguous journey, Dynatrace enables funnel analysis, bounce rate tracking, and path-to-purchase optimization. +---------------------------------------------------------------------------------------------------+

  • | USER SESSION TERMINATION CRITERIA |
  • +---------------------------------------------------------------------------------------------------+
  • | A continuous session is closed immediately when ANY of the following four conditions occurs: |
  • | |
  • | 1. INACTIVITY TIMEOUT |
  • | • User performs zero actions for 30 consecutive minutes. (Most common trigger). |
  • | |
  • | 2. MAXIMUM SESSION DURATION |
  • | • User session reaches a total elapsed time of 24 continuous hours. |
  • | |
  • | 3. MAXIMUM ACTION LIMIT |
  • | • User session accumulates exactly 200 user actions. |
  • | • Current session closes; action 201 opens a brand-new session automatically. |
  • | |
  • | 4. PROGRAMMATIC API TERMINATION |
  • | • Client application explicitly executes dtrum.endSession() (e.g., on user logout). |
  • +---------------------------------------------------------------------------------------------------+
  • The Four Session Termination Triggers (Crucial for DCA Exam)

Dynatrace automatically closes an active user session when any of the following boundary limits is reached:

Inactivity Timeout (30 Minutes): If no user actions or heartbeats are received from the browser for 30 consecutive minutes , Dynatrace terminates the session. If the user returns to the browser 31 minutes later and clicks a button, that action initiates a brand new session.

Maximum Session Duration (6 Hours): A single user session cannot remain open indefinitely. If a kiosk display or power user continuously operates an application without 30 minutes of idle time, Dynatrace closes the session once its duration reaches 6 hours and starts a new one. Dynatrace additionally splits a session once it accumulates roughly 200 user actions , and those continuation sessions are not billed again.

Maximum Action Limit (200 User Actions): To prevent memory exhaustion, bloated session storage, and distorted analytics from runaway bots or heavy workflows, Dynatrace enforces a strict limit of 200 user actions per session . When action 200 completes, the session closes. The subsequent interaction (action 201) immediately spawns a new session.

Explicit Programmatic Termination: Developers can invoke dtrum.endSession() within client-side code (e.g., when the user clicks "Sign Out"), immediately closing the session and clearing visitor tracking tokens.

5. User Identification and User Tagging

By default, Dynatrace identifies visitors anonymously using the rxVisitor cookie ID. However, enterprise support desks, fraud teams, and business analysts need to know which specific customer experienced an outage or poor Apdex score.

Dynatrace User Tagging links anonymous sessions to real human identities (e.g., username, email, employee ID, customer account number):

User Tag Extraction Methods

Administrators configure user tagging rules in Application Settings using one of five capture mechanisms:

CSS Selector / DOM Element: Extracts visible text from a DOM element (e.g., span#user-profile-email or div.account-name ).

JavaScript Variable: Reads a global or scoped client-side variable (e.g., window.currentUser.username ).

Cookie Value: Extracts an identifier from an existing first-party session cookie (e.g., auth_user_id ).

Meta Tag: Extracts the content attribute of an HTML <meta> tag (e.g., <meta name="dynatrace-user" content="john.doe@corp.com"> ).

Server-Side Request Attribute: Passes an authenticated user ID captured by OneAgent on a server-side PurePath back to the front-end user session.

6. Session Replay Architecture: Lightweight DOM Reconstruction

Dynatrace Session Replay provides high-fidelity, movie-like visual reconstructions of real user browsing sessions, enabling developers and support engineers to watch user struggles, broken layouts, and rage clicks.

How It Works: No Video Recording

A common misconception is that Session Replay records video or captures continuous screen bitmaps. Video recording would introduce catastrophic bandwidth overhead, violate mobile data limits, and destroy client battery life. Instead, Dynatrace implements DOM mutation reconstruction : +---------------------------------------------------------------------------------------------------+

  • | SESSION REPLAY CAPTURE & RECONSTRUCTION |
  • +---------------------------------------------------------------------------------------------------+
  • | CLIENT BROWSER (Capture Pipeline) |
  • | 1. Initial Page Load ──> Captures single initial snapshot of DOM structure & CSS styles. |
  • | 2. User Interacts ────> MutationObserver captures lightweight diffs (element added/modified). |
  • | 3. Input Events ──────> Captures mouse trajectories, scroll offsets, touch coordinates. |
  • | 4. Privacy Filter ────> Client-side privacy rules sanitize & mask text/inputs in memory. |
  • | 5. Beacon Output ─────> Encrypted, compressed mutation deltas dispatched via sendBeacon. |
  • | |
  • | DYNATRACE WEB UI (Playback Pipeline) |
  • | • Sandboxed <iframe> renders initial DOM snapshot. |
  • | • Sequential mutation deltas are applied chronologically over time. |
  • | • Mouse movements and clicks are rendered as animated overlays, mimicking video. |
  • +---------------------------------------------------------------------------------------------------+
  • 7. Data Privacy and Masking: The Client-Side Security Imperative

Enterprise organizations operating in regulated sectors (healthcare, banking, government) must guarantee that Personally Identifiable Information (PII) and financial secrets are protected.

The Golden Architectural Rule of Dynatrace Masking

Exam Rule: Data masking in Dynatrace Session Replay occurs client-side inside the end user's browser memory BEFORE data transmission .

Sensitive inputs, credit card numbers, and patient medical records are masked and redacted before the beacon payload is compiled. Sensitive information is never transmitted over the network, never traverses reverse proxies or ActiveGates, and is never written to Dynatrace storage disks. This architecture provides absolute compliance with GDPR and HIPAA mandates.

Masking Presets in Dynatrace

Dynatrace provides three standard masking presets configurable per application:

Mask User Input (Default & Recommended):

Automatically masks all user-editable form fields ( <input> , <textarea> , <select> ).

Passwords, credit card numbers, and form inputs are replaced with asterisks ( *** ).

Static page text (article headings, navigation links, catalog descriptions) remains visible.

Mask All (High-Security / Healthcare / Banking):

Automatically masks all text content, numbers, images, and user input fields across the entire application.

Text is replaced with blurred blocks or generic character placeholders.

Visual layout structure is preserved, but no readable data leaves the browser.

Allow All (Development / Non-Sensitive Only):

Transmits all text and form fields unmasked.

Strictly restricted; requires explicit administrative override and is strongly discouraged in production environments.

Custom Masking Rules & Attributes

Beyond global presets, administrators and developers can fine-tune masking using granular rules:

data-dtrum-mask HTML Attribute: Adding this attribute (or CSS class) to any HTML container forces the Dynatrace agent to mask all child elements within that container.

data-dtrum-unmask HTML Attribute: Whitelists specific non-sensitive elements located inside an otherwise masked container (e.g., unmasking an order total inside a masked checkout summary).

CSS Selector Rules: Target specific elements by ID or class (e.g., #account-balance , .ssn-display ) to apply masking or regex redaction.

Attribute Masking: Redacts HTML attributes that might leak PII (e.g., title , placeholder , alt , aria-label ).

Loading diagram... User Session Lifecycle Triggers and Client-Side Session Replay Masking Architecture