Measurements are being phased out.They are replaced by span attributes. For measurements sent by legacy SDKs, Relay automatically converts them to span attributes.

Measurements (Legacy)

Measurements are numeric values attached to transactions that capture performance metrics.

mobile

11 measurements
KeyNameDescriptionUnitAttribute
app_start_coldApp Start ColdThe time it takes for the app to start from a cold statemillisecondapp.vitals.start.cold.value
app_start_warmApp Start WarmThe time it takes for the app to start from a warm statemillisecondapp.vitals.start.warm.value
frames_frozenFrozen FramesThe number of frames that took longer than 700ms to renderapp.vitals.frames.frozen.count
frames_frozen_rateThe rate of frozen framesmeasurements.frames_frozen divided by the measurements.frames_totalapp.vitals.frames.frozen.rate
frames_slowSlow FramesThe number of frames that took longer than 16ms (Android) or 16.67 (iOS) to renderapp.vitals.frames.slow.count
frames_slow_rateThe rate of slow framesmeasurements.frames_slow divided by the measurements.frames_totalapp.vitals.frames.slow.rate
frames_totalTotal FramesTotal frames rendered.app.vitals.frames.total.count
stall_countStall CountA stall is when the JavaScript event loop takes longer than expected to complete. Only applies to React Native
stall_longest_timeLongest Stall TimeThe longest stall time is the time of the longest event loop stall. Only applies to React Native.milliseconds
stall_percentageStall PercentageStall percentage is equal to app.vitals.stall.duration divided by transaction.duration. Only applies to React Native.app.vitals.stall.percentage
stall_total_timeTotal Stall TimeThe total stall time is the total combined time of all stalls. Only applies to React Native.millisecondsapp.vitals.stall.duration

web

8 measurements
KeyNameDescriptionUnitAttribute
clsCumulative Layout ShiftTthe sum total of all individual layout shift scores for every unexpected layout shift that occurs during the entire lifespan of the pagebrowser.web_vital.cls.value
fcpFirst Contentful PaintThe time it takes for the browser to render the first piece of meaningful content on the screenmillisecondbrowser.web_vital.fcp.value
fidFirst Input DelayThe time from when a user first interacts with a page to the time when the browser is actually able to begin processing event handlers in response to that interactionmillisecond
fpFirst PaintThe time it takes for the browser to render the first pixel on the screenmillisecondbrowser.web_vital.fp.value
inpInteraction to Next PaintThe time it takes for the browser to render the next frame after a user interacts with the page.millisecondbrowser.web_vital.inp.value
lcpLargest Contentful PaintThe time it takes for the largest contentful paint element to be rendered on the screenmillisecondbrowser.web_vital.lcp.value
ttfbTime to First ByteThe time it takes for the first byte of a response from the server to reach the user's browser after a request is mademillisecondbrowser.web_vital.ttfb.value
ttfb.requesttimeTime to First Byte (Request Time)The time it takes for the server to process the initial request and send the first byte of a response to the user's browsermillisecondbrowser.web_vital.ttfb.request_time