Skip to main content

How are Metrics Calculated?

Trace0 calculates browser metrics from telemetry collected by the OpenTelemetry Browser SDK and instrumentation libraries. See our Browser JavaScript guide for instructions on instrumenting your application with the OpenTelemetry Browser SDK.

Metrics

We currently display the following application metrics for browser services:

RUM

Single Value Chart RUM Metrics Light 1 RUM Metrics Dark 1

RUM Metrics Light 2 RUM Metrics Dark 2

Core Web Vitals

Each chart shows the 75th percentile (p75) value for the selected time period, its rating (Good, Needs improvement or Poor), the percentage of page loads rated Good, and the number of page loads. The chart background is shaded green, amber and red to show the rating ranges. Points with fewer than 5 samples are greyed out. A status badge at the top shows Passing when the p75 of LCP, INP and CLS are all rated Good, Failing (with the metrics that are not Good) otherwise, and Not enough data when any of the three has no data. Thresholds follow Google’s Web Vitals guidance. Core Web Vitals Metrics Light Core Web Vitals Metrics Dark

Loading Performance

Same layout as Core Web Vitals: p75 value, rating, % good, page loads, and shaded rating bands. Thresholds follow Google’s Web Vitals guidance.

Example Service

To see these metrics in action, check out our example apps for working Browser JavaScript services with Trace0 installed: