dt-obs-frontends
dynatrace/dynatrace-for-ai
Real User Monitoring (RUM) on Dynatrace — monitor web and mobile frontend performance, errors, and user sessions.
What is dt-obs-frontends?
Observe web and mobile frontends using Dynatrace Real User Monitoring (RUM) with DQL queries. Access Core Web Vitals, user sessions, page performance, mobile crashes, frontend errors, and frontend-backend linking via `user.events`, `user.sessions`, and `dt.frontend.*` metrics. Use this for root-cause analysis of frontend issues; synthetic monitoring is handled separately.
- Query Core Web Vitals (LCP, INP, CLS, FID) and navigation timing metrics across web and mobile
- Drill into individual page views, user actions, clicks, and errors via event-level data
- Analyze user sessions, bounce rates, session duration, and user journeys
- Link frontend errors and performance to backend traces and services
- Filter and group by frontend name, device type, browser, geography, app version, and user type
- Access sensitive fields (IP, user identity) with appropriate field permissions
How to install dt-obs-frontends
npx skills add https://github.com/dynatrace/dynatrace-for-ai --skill dt-obs-frontends- Access to Dynatrace with RUM enabled (not RUM Classic)
- DQL query permissions and field access (sensitive fields require explicit policy grant)
- Basic familiarity with DQL syntax and the drill-down pattern (frontend → page/view → dimension)
How to use dt-obs-frontends
- 1.Start with a metric query using `timeseries dt.frontend.*` to identify the shape of the problem (e.g., spike in error count or latency)
- 2.Group by `frontend.name` to isolate which application is affected
- 3.Drill into `user.events` or `user.sessions` to find the specific page, view, or user action causing the issue
- 4.Narrow further by device type, browser, geography, app version, or user type as needed
- 5.Use `characteristics.has_*` filters to scope to a specific event type (page load, error, user action, etc.)
- 6.Link to backend traces via `frontend.link` field to correlate frontend and backend performance
Use cases
- Investigate why a specific page is slow: group metrics by page.name, then drill into user.events to find the bottleneck
- Track mobile app crashes and ANR (Application Not Responding) events by app version and device model
- Analyze bounce rate and session engagement by geography and device type to identify regional or platform-specific issues
- Root-cause a spike in frontend errors by filtering user.events by error type and linking to backend traces
- Monitor Core Web Vitals trends over time using dt.frontend.* timeseries metrics for dashboards and alerting
- Frontend engineers debugging performance and error issues
- Full-stack engineers linking frontend problems to backend services
- Product analysts studying user engagement and session patterns
- DevOps and SRE teams setting up RUM dashboards and alerts
- Mobile app developers tracking crashes and app-version regressions
dt-obs-frontends FAQ
user.events contains per-event granularity (page views, clicks, errors, requests) and is best for root-cause analysis. user.sessions contains session-level aggregates (bounce rate, duration, session ID) and is best for user journey and engagement analysis.
Always filter on frontend.name directly for name-based filtering. Use dt.smartscape.frontend only to access entity attributes like tags or linked services, not for name resolution.
These fields are hidden by default. Grant access via a policy statement allowing storage:fieldsets:read on the builtin-sensitive-user-events-and-sessions fieldset.
page.name is the normalized page URL (web only); view.name is the SPA route or mobile screen name (web and mobile). For web SPAs, both can be present on the same event; group by view.name for finer granularity.
No. This skill covers Real User Monitoring (RUM) only. Synthetic monitoring (HTTP checks, browser checks, network checks) is a separate domain.
Full instructions (SKILL.md)
Source of truth, from dynatrace/dynatrace-for-ai.
name: dt-obs-frontends
description: Real User Monitoring (RUM) on Dynatrace — web and mobile frontends. Core Web Vitals, user sessions, page performance, mobile crashes, frontend errors, and frontend-backend linking. Query via user.events, user.sessions, and dt.frontend.* metrics. Does NOT cover synthetic monitoring (HTTP/browser/network checks) — that's a separate domain.
license: Apache-2.0
Frontend Observability (RUM)
Monitor web and mobile frontends using Real User Monitoring with DQL. Targets RUM on the latest Dynatrace — do not use RUM Classic data.
Concepts and data model: https://docs.dynatrace.com/docs/observe/digital-experience/new-rum-experience/concepts
Data Model
Three data sources, each for a different question:
| Source | Use for | Granularity |
|---|---|---|
timeseries dt.frontend.* | Trends, dashboards, alerting | Aggregated metric |
fetch user.events | Root cause, individual page views / requests / clicks / errors | Per-event |
fetch user.sessions | Bounce rate, session duration, session-level aggregates | Per-session |
Rule of thumb: start with metrics for the shape of the problem, drill into events for the why. Use sessions when the question is about user journeys, not individual interactions.
Full event model: https://docs.dynatrace.com/docs/semantic-dictionary/model/rum/user-events
DQL language reference (functions, syntax, operators): https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language
Key dt.frontend.* metrics (all support dimensions: frontend.name, device.type, geo.country.iso_code, browser.name, os.name, dt.rum.user_type, dt.smartscape.frontend):
dt.frontend.web.page.largest_contentful_paint/dt.frontend.web.page.interaction_to_next_paint/dt.frontend.web.page.cumulative_layout_shift/dt.frontend.web.page.first_input_delay— Core Web Vitalsdt.frontend.web.navigation.time_to_first_byte/dt.frontend.web.navigation.dom_interactive/dt.frontend.web.navigation.load_event_end— Navigation timingdt.frontend.error.count— Error countsdt.frontend.request.count/dt.frontend.request.duration— Request volume and latencydt.frontend.user_action.count/dt.frontend.user_action.duration— User action volume and durationdt.frontend.session.active.estimated_count/dt.frontend.user.active.estimated_count— Active sessions and users (cardinality metrics; usecountDistinct()aggregation)
Common Filters
All sources (user.events + user.sessions):
frontend.name— frontend identifier (preferred for all filtering); array onuser.sessions(session can span multiple frontends).dt.smartscape.frontendis the Smartscape entity reference — use it to access entity attributes such as tags or linked services, not for name-based filtering. Avoid querying Smartscape to resolve a name to an entity ID and then joining withuser.events— always filter onfrontend.namedirectly.dt.rum.user_type—real_user,synthetic,robotdt.rum.application.type—webormobiledt.rum.session.id,dt.rum.instance.idos.name,geo.country.iso_code,client.ispclient.ip— client IP address (sensitive field — hidden by default; see Field Permissions below)
user.events — web only:
browser.name,browser.version,device.type
user.events — mobile only:
device.model.identifier,device.manufacturer,app.short_version
Common characteristic filters (scope user.events to a specific event type — use as | filter characteristics.has_X):
characteristics.has_page_summary— page loads (web)characteristics.has_view_summary— views (SPA + mobile screens)characteristics.has_navigation— navigation eventscharacteristics.has_user_action— user actionscharacteristics.has_error— all errors
Full characteristics reference: references/characteristics.md
Field Permissions
Some fields are sensitive and belong to the builtin-sensitive-user-events-and-sessions fieldset. They are hidden by default on both user.events and user.sessions — users without access see null, and queries that filter or group by these fields silently return no results.
Sensitive fields used in this skill:
client.ip— client IP addressuser.identifier— real user identity
Grant access with the following policy statement:
ALLOW storage:fieldsets:read WHERE storage:fieldset-name="builtin-sensitive-user-events-and-sessions"
Reference: Field permissions
Drill-Down Pattern
Most investigations follow this layered approach regardless of the specific problem domain (errors, performance, background activity, etc.):
1. Identify the frontend
Start by grouping by: {frontend.name} to find which application is affected. Filter by dt.rum.application.type (web or mobile) if you need to split web from mobile analysis upfront.
2. Find the affected page or view
Both fields are available on all events (not scoped to a specific characteristic):
page.name— the page URL normalised to a Dynatrace entity name; web onlyview.name— the SPA route or mobile screen name; available on web and mobile
Both can be present on the same event. For web SPAs, page.name reflects the top-level document while view.name reflects the current route — grouping by view.name gives finer granularity. For mobile, use view.name only.
Additional narrowing dimensions
| Dimension | Field | Platform | When to use |
|---|---|---|---|
| Specific request / endpoint | url.domain, url.path | web + mobile | Performance or error pattern on a specific API call |
| Individual user session | dt.rum.session.id | web + mobile | Reproduce a specific user's journey; connects to session replay |
| Device form factor | device.type | web only | Desktop vs mobile browser vs tablet pattern |
| Browser compatibility | browser.name, browser.version | web only | Issue only on certain browsers |
| App version | app.short_version | mobile only | Regression introduced in a specific app release |
| Geography | geo.country.iso_code | web + mobile | Regional infrastructure or CDN issue |
| Synthetic vs real traffic | dt.rum.user_type | web + mobile | Exclude synthetic monitors before user-facing analysis |
Workflows
Each workflow maps to one or more references. Load the reference when you start the workflow, not upfront.
| Workflow | Reference |
|---|---|
| Event characteristics — types, filters, event_type derivation | references/characteristics.md |
| Web Vitals (LCP, FCP, FID, INP, CLS) | references/web-vitals.md |
| Session, bounce, engagement analysis | references/user-sessions.md |
| User actions — interaction lifecycle, completion reasons, timeouts | references/user-actions.md |
| Errors, exceptions, failed requests | references/error-tracking.md |
Frontend-backend linking — mechanisms, trace coverage, frontend.link | references/frontend-backend-linking.md |
| CSP violations — security policy enforcement and blocked resources | references/csp-violations.md |
| Mobile app starts, crashes, ANR, native signals | references/mobile-monitoring.md |
| Request latency, long tasks, JS profiling, geo performance | references/web-performance-analysis.md |
| Visibility changes — tab switching, background time, engagement quality | references/visibility-changes.md |
| Slow page load — backend vs render vs network vs JS triage | references/slow-page-load-playbook.md |
| Diagnosing zero results, anomalies, ambiguous data | references/troubleshooting.md |
Performance Thresholds (quick reference)
- LCP: Good < 2.5 s | Poor > 4.0 s
- INP: Good < 200 ms | Poor > 500 ms
- CLS: Good < 0.1 | Poor > 0.25
- FCP: Good < 1.8 s | Poor > 3.0 s
- TTFB: Good < 800 ms | Poor > 1800 ms
- Mobile cold start: Good < 3 s | Poor > 5 s
- Mobile warm start: Good < 1.5 s | Poor > 2 s
- Mobile hot start: Good < 500 ms | Poor > 1 s
- Long tasks: > 50 ms problematic, > 250 ms severe
Web vitals thresholds (LCP, INP, CLS, FCP, TTFB): https://web.dev/articles/vitals
When to Use
Use this skill for real-user web and mobile frontend telemetry — Core Web Vitals, sessions, clicks, errors, crashes, request latency from the browser/app, and frontend-backend linking.
Use a different skill for:
- Synthetic monitors / availability checks →
dt-obs-synthetic - Backend services, traces, spans →
dt-obs-services,dt-obs-tracing - Infrastructure, hosts →
dt-obs-hosts - Logs →
dt-obs-logs - Problems and incidents →
dt-obs-problems
Related skills
More from dynatrace/dynatrace-for-ai and the wider catalog.

dt-obs-gcp
Monitor and audit GCP infrastructure—compute, networking, Kubernetes, serverless, IAM, and messaging—via Dynatrace Smartscape and DQL.

dt-obs-hosts
Monitor host and process infrastructure metrics including CPU, memory, disk, network, and technology inventory.

dt-obs-kubernetes
Monitor Kubernetes clusters, pods, nodes, and workloads with Dynatrace DQL queries.

dt-obs-logs
Query, filter, and analyze Dynatrace logs using DQL for troubleshooting and error pattern detection.

dt-obs-predictive-analytics
Forecast resource saturation, detect trends, and identify anomalies across Dynatrace infrastructure using time-series analysis.

dt-obs-problems
Analyze Dynatrace-detected problems with root cause identification, impact assessment, and correlation.