EventLoopInstrumentationConfiginterface
Configuration for the event loop responsiveness instrumentation.
Both measurements are event-driven (no polling): samples record only when the browser delivers a performance entry, so an idle or smooth application produces none. Metric export follows the meter's publish interval as usual.
Properties (10)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| enabled⚓︎ | boolean | x | Whether the event loop instrumentation is enabled. |
|
| eventLoopBlockingMetric⚓︎ | boolean | string | null | false | x | If |
| eventLoopBlockingMetricBuckets⚓︎ | number[] | [0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5] | x | Explicit histogram bucket boundaries for eventLoopBlockingMetric, in seconds, ascending. |
| eventLoopBlockingSpans⚓︎ | boolean | true | x | If |
| inputDelayDurationThresholdMs⚓︎ | number | 16 | x | The Event Timing API durationThreshold, in milliseconds: only input events whose total duration (event timestamp until next paint) reaches this value are observed. The browser floor is 16ms. |
| inputDelayInteractionsOnly⚓︎ | boolean | true | x | If |
| inputDelayMetric⚓︎ | boolean | string | null | false | x | If Only events whose total duration reaches inputDelayDurationThresholdMs are surfaced by the browser, so the distribution describes slow-ish interactions, not all input. |
| inputDelayMetricBuckets⚓︎ | number[] | [0.001, 0.0025, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1] | x | Explicit histogram bucket boundaries for inputDelayMetric, in seconds, ascending. The default brackets the INP "good" (0.2s) and "poor" (0.5s) thresholds. |
| inputDelaySpans⚓︎ | boolean | true | x | If |
| trace⚓︎ | boolean | true | x | If |