Class MeterNames
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringCounter: transitions of the browser's connection state, taggedTAG_STATEwith the state entered.static final StringTimer: how long a browser stayed unable to reach the server, recorded once per unreachable state it passed through and taggedTAG_STATEwith that state.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringTAG_COMPONENTvalue for components beyond the cardinality limit.static final StringTAG_COMPONENTvalue when no component could be resolved.static final Stringstatic final Stringstatic final StringTimer: duration of a count query issued to a data provider, that is a query asking how many items a level holds.static final StringTimer: duration of a fetch query issued to a data provider, that is a query loading one page of items.static final StringDistributionSummary: number of items a fetch query asked for, tagged byTAG_ROUTE.static final StringDistributionSummary: number of items a fetch query actually returned, tagged byTAG_ROUTE.static final StringDistributionSummary: number of rows read from a JDBCResultSet, tagged byTAG_ROUTEof the Vaadin view that triggered the fetch.static final StringTAG_ERRORvalue for an operation that raised no exception.static final Stringstatic final StringTAG_EXCEPTIONvalue for exception types beyond the cardinality limit.static final StringTAG_KINDvalue onCLIENT_ERRORS: a promise was rejected with nobody handling it.static final Stringstatic final StringTAG_KINDvalue for a kind that is none of the above.TheTAG_KINDvalues a browser error may be attributed to,KIND_UNKNOWNaside.static final Stringstatic final Stringstatic final StringTAG_OUTCOMEvalue for a navigation that was replaced by aforwardTobefore it completed.static final StringTAG_OUTCOMEvalue for a navigation that was replaced by arerouteTobefore it completed.static final Stringstatic final StringTAG_OUTCOMEvalue for a navigation that was abandoned without any redirect flag and outside of a request that could have failed it, so neither success nor failure can be attributed to it.static final Stringstatic final StringCounter: UIDL message recovery events observed on incoming requests.static final StringTAG_TYPEvalue for a duplicate message the client re-sent because it never received the previous response; the server replays its cached response.static final StringTAG_TYPEvalue for a full client-requested resynchronization (the client gave up waiting for a missing server message and asked for a full UI-state rebuild).static final Stringstatic final Stringstatic final StringTimer: server-side RPC invocation duration.static final Stringstatic final Stringstatic final StringGauge: state-tree nodes held by the largest single session.static final StringGauge: most UIs (browser tabs) held open by one session.static final StringGauge: number of currently active Vaadin sessions.static final Stringstatic final Stringstatic final StringTAG_STATEvalue: the browser can reach the server.static final StringTAG_STATEvalue: the browser has lost the server.static final StringTAG_STATEvalue: the browser is trying to get the server back.static final StringTAG_STATEvalue for a state that is none of the above.static final StringTag key: the VaadinComponenta measurement is attributed to, by simple class name.static final Stringstatic final StringTag key: simple class name of the exception that ended the operation, orERROR_NONEwhen it raised none.static final StringTag key: simple class name of the counted exception, capped at the route cardinality limit — a proxy or generated exception type can otherwise produce an unbounded stream of values, and here it multiplies withTAG_ROUTEandTAG_COMPONENT.static final StringTag key: whether the data provider query carried a filter, which separates a combo box loading matches for typed text from one loading the whole data set.static final Stringstatic final StringTag key:OUTCOME_SUCCESSorOUTCOME_ERROR.static final Stringstatic final StringTag key: the browser connection state entered, onCLIENT_CONNECTION.static final Stringstatic final StringTag key: RPC invocation type.static final StringTAG_TRIGGERvalue onCLIENT_NAVIGATION_DURATION: the user went back or forward in browser history.static final StringTAG_TRIGGERvalue onCLIENT_NAVIGATION_DURATION: the application navigated itself, throughpushStateorreplaceState.static final StringTAG_TRIGGERvalue for a trigger that is none of the above.static final Stringstatic final Stringstatic final StringGauge: server-side component instances retained across all UIs.static final StringGauge: state-tree nodes retained across all tracked UIs — how much UI state the server currently holds for live users.static final StringGauge: state-tree nodes held by the largest single UI.static final StringGauge: age in seconds of the stalest per-UI measurement in the aggregate.static final StringGauge: retained UI state in bytes, node count times the configured cost per node.static final StringGauge: route-target and router-layout instances retained across all UIs.static final StringGauge: retained views that are no longer part of their UI's active navigation, i.e. -
Method Summary
-
Field Details
-
SESSIONS_ACTIVE
Gauge: number of currently active Vaadin sessions.- See Also:
-
SESSIONS_CREATED
- See Also:
-
SESSIONS_DURATION
- See Also:
-
SESSION_LOCK_WAIT
- See Also:
-
SESSION_LOCK_HOLD
- See Also:
-
UI_ACTIVE
- See Also:
-
UI_CREATED
- See Also:
-
UI_STATE_NODES
Gauge: state-tree nodes retained across all tracked UIs — how much UI state the server currently holds for live users. Recorded only when UI state metrics are enabled.- See Also:
-
UI_STATE_NODES_MAX
Gauge: state-tree nodes held by the largest single UI.- See Also:
-
UI_STATE_COMPONENTS
Gauge: server-side component instances retained across all UIs.- See Also:
-
UI_STATE_VIEWS
Gauge: route-target and router-layout instances retained across all UIs. One navigation into a nested layout retains one per level, so this is a capacity figure;UI_STATE_VIEWS_STALEis the leak signal.- See Also:
-
UI_STATE_VIEWS_STALE
Gauge: retained views that are no longer part of their UI's active navigation, i.e. views that outlived it. Normally zero.- See Also:
-
UI_STATE_SIZE
Gauge: retained UI state in bytes, node count times the configured cost per node. Registered only whenObservabilitySettings.getUiStateBytesPerNode()is greater than zero, because an unmeasured byte figure would be a guess.- See Also:
-
UI_STATE_SAMPLE_AGE_MAX
Gauge: age in seconds of the stalest per-UI measurement in the aggregate. A UI is measured on its own session's thread, so an idle user's state is as old as their last interaction.- See Also:
-
SESSION_STATE_NODES_MAX
Gauge: state-tree nodes held by the largest single session.- See Also:
-
SESSION_UIS_MAX
Gauge: most UIs (browser tabs) held open by one session.- See Also:
-
NAVIGATION
- See Also:
-
REQUEST_DURATION
- See Also:
-
ERRORS
Counter: server-side errors, tagged byTAG_EXCEPTION,TAG_ROUTEandTAG_COMPONENT.Counts both the exceptions that escape request handling and the ones Flow routes to the session
ErrorHandler— the failures of component listeners,UI.accessbodies and navigation callbacks, which is what a user actually experiences as a broken interaction.- See Also:
-
CLIENT_BOOTSTRAP_DURATION
- See Also:
-
CLIENT_NAVIGATION_DURATION
- See Also:
-
CLIENT_RPC_DURATION
- See Also:
-
CLIENT_WEB_VITALS_LCP
- See Also:
-
CLIENT_WEB_VITALS_FCP
- See Also:
-
CLIENT_ERRORS
- See Also:
-
CLIENT_CONNECTION
Counter: transitions of the browser's connection state, taggedTAG_STATEwith the state entered.Flow's client keeps the connection state in
window.Vaadin.connectionState; the in-browser collector subscribes to it, so a user who loses the server and comes back leaves a trace the server side cannot produce on its own — it only sees a session that goes quiet and then talks again.The state Flow sets around every UIDL request to drive the loading indicator (
loading) is not reported at all, and every transition is measured against the last state that was not it. So this counts real connection events rather than one per interaction, and a retry that fails mid-outage reads as an attempt rather than a recovery followed by a second loss.- See Also:
-
CLIENT_CONNECTION_DOWNTIME
Timer: how long a browser stayed unable to reach the server, recorded once per unreachable state it passed through and taggedTAG_STATEwith that state.Per state rather than per outage, because Flow's two unreachable states mean different things: it enters
STATE_RECONNECTINGon the first failed request and only reachesSTATE_CONNECTION_LOSTonce it has exhausted its retries. Time underreconnectingis therefore a network that hiccuped, time underconnection-losta server the browser has given up on — and a short outage that recovers while still retrying never entersconnection-lostat all. Summing the two gives the length of the whole outage back.Measured on the browser's clock, because the report can only be sent once the connection it describes is back: subtracting a server arrival time would report clock skew plus buffering delay rather than the outage. A browser that never reconnects contributes nothing, so this timer under-reports total downtime by construction.
- See Also:
-
CLIENT_DROPPED
- See Also:
-
CLIENT_THROTTLED
- See Also:
-
TAG_ROUTE
- See Also:
-
TAG_OUTCOME
Tag key:OUTCOME_SUCCESSorOUTCOME_ERROR. Also the low-cardinality key the Observation path uses (aliased there asObservationNames.KEY_OUTCOME), so both paths tag identically.- See Also:
-
TAG_EXCEPTION
Tag key: simple class name of the counted exception, capped at the route cardinality limit — a proxy or generated exception type can otherwise produce an unbounded stream of values, and here it multiplies withTAG_ROUTEandTAG_COMPONENT. Types beyond the limit are bucketed asEXCEPTION_OTHER.- See Also:
-
EXCEPTION_OTHER
TAG_EXCEPTIONvalue for exception types beyond the cardinality limit.- See Also:
-
TAG_ERROR
Tag key: simple class name of the exception that ended the operation, orERROR_NONEwhen it raised none. This mirrors the tag thatDefaultMeterObservationHandleradds by itself on the Observation path; the binders add it explicitly on their direct-recording path so both paths publish the same tag-key set. Distinct fromTAG_EXCEPTION, which tags theERRORScounter.- See Also:
-
ERROR_NONE
TAG_ERRORvalue for an operation that raised no exception.- See Also:
-
TAG_TRIGGER
- See Also:
-
TAG_KIND
- See Also:
-
TRIGGER_BACK
TAG_TRIGGERvalue onCLIENT_NAVIGATION_DURATION: the user went back or forward in browser history.- See Also:
-
TRIGGER_PROGRAMMATIC
TAG_TRIGGERvalue onCLIENT_NAVIGATION_DURATION: the application navigated itself, throughpushStateorreplaceState.- See Also:
-
TRIGGER_UNKNOWN
TAG_TRIGGERvalue for a trigger that is none of the above.- See Also:
-
KIND_UNCAUGHT
- See Also:
-
KIND_PROMISE
TAG_KINDvalue onCLIENT_ERRORS: a promise was rejected with nobody handling it.- See Also:
-
KIND_UNKNOWN
TAG_KINDvalue for a kind that is none of the above.- See Also:
-
KINDS
TheTAG_KINDvalues a browser error may be attributed to,KIND_UNKNOWNaside. Held here because two enforcement points need the same set — the tag on the counter and the grouping key of the insight — and two copies of a bounded set is one copy too many. -
TAG_STATE
Tag key: the browser connection state entered, onCLIENT_CONNECTION. Bounded to the values below, since the value originates in the browser and a crafted payload must not be able to grow the meter's cardinality.- See Also:
-
STATE_CONNECTED
TAG_STATEvalue: the browser can reach the server.- See Also:
-
STATE_CONNECTION_LOST
TAG_STATEvalue: the browser has lost the server.- See Also:
-
STATE_RECONNECTING
TAG_STATEvalue: the browser is trying to get the server back.- See Also:
-
STATE_UNKNOWN
TAG_STATEvalue for a state that is none of the above.- See Also:
-
TAG_CONTEXT
- See Also:
-
TAG_COMPONENT
Tag key: the VaadinComponenta measurement is attributed to, by simple class name.- See Also:
-
OUTCOME_SUCCESS
- See Also:
-
OUTCOME_ERROR
- See Also:
-
OUTCOME_REROUTED
TAG_OUTCOMEvalue for a navigation that was replaced by arerouteTobefore it completed. Kept apart fromOUTCOME_ERRORbecause rerouting is a normal routing decision (an access guard sending the user elsewhere), not a failure.- See Also:
-
OUTCOME_FORWARDED
TAG_OUTCOMEvalue for a navigation that was replaced by aforwardTobefore it completed.- See Also:
-
OUTCOME_UNKNOWN
TAG_OUTCOMEvalue for a navigation that was abandoned without any redirect flag and outside of a request that could have failed it, so neither success nor failure can be attributed to it. A re-entrantUI.navigate()from a view'sbeforeEnteroronAttachsupersedes the navigation in flight this way, as does a UI detached while a navigation was still open.- See Also:
-
CONTEXT_REQUEST
- See Also:
-
CONTEXT_ACCESS
- See Also:
-
ROUTE_OTHER
- See Also:
-
ROUTE_UNKNOWN
- See Also:
-
COMPONENT_UNKNOWN
TAG_COMPONENTvalue when no component could be resolved.- See Also:
-
COMPONENT_OTHER
TAG_COMPONENTvalue for components beyond the cardinality limit.- See Also:
-
RPC_DURATION
Timer: server-side RPC invocation duration.- See Also:
-
DB_FETCH_ROWS
DistributionSummary: number of rows read from a JDBCResultSet, tagged byTAG_ROUTEof the Vaadin view that triggered the fetch. Recorded only when database monitoring is enabled.- See Also:
-
DATA_COUNT_DURATION
Timer: duration of a count query issued to a data provider, that is a query asking how many items a level holds. Tagged byTAG_OUTCOMEandTAG_FILTERED.A hierarchical component issues one count per expanded parent, so a high count on this timer within few requests is the signature of an expensive hierarchy.
- See Also:
-
DATA_FETCH_DURATION
Timer: duration of a fetch query issued to a data provider, that is a query loading one page of items. Measured around consumption of the items, so it covers the backend round-trip even for a lazily evaluated stream. Tagged byTAG_OUTCOMEandTAG_FILTERED.- See Also:
-
DATA_FETCH_ROWS
DistributionSummary: number of items a fetch query actually returned, tagged byTAG_ROUTE. Compare againstDATA_FETCH_REQUESTEDto spot a component asking for far more than it renders, or a data provider returning short pages.- See Also:
-
DATA_FETCH_REQUESTED
DistributionSummary: number of items a fetch query asked for, tagged byTAG_ROUTE.- See Also:
-
TAG_FILTERED
Tag key: whether the data provider query carried a filter, which separates a combo box loading matches for typed text from one loading the whole data set. Low cardinality:trueorfalse.- See Also:
-
TAG_TYPE
Tag key: RPC invocation type.- See Also:
-
RESYNC
Counter: UIDL message recovery events observed on incoming requests. Tagged byTAG_TYPEwithRESYNC_TYPE_RESENDorRESYNC_TYPE_RESYNC.- See Also:
-
RESYNC_TYPE_RESEND
TAG_TYPEvalue for a duplicate message the client re-sent because it never received the previous response; the server replays its cached response.- See Also:
-
RESYNC_TYPE_RESYNC
TAG_TYPEvalue for a full client-requested resynchronization (the client gave up waiting for a missing server message and asked for a full UI-state rebuild).- See Also:
-