此内容没有您所选择的语言版本。

12.2. Metrics


The hierarchical database can capture a number of different measurements, called metrics , and these are broken into two categories: duration-based metrics (how long something takes) and simple value metrics.
Duration metrics are represented by the org.modeshape.jcr.api.monitor.DurationMetric enumeration, and include:
Expand
Metric
Description
Query execution time
The amount of time required to execute a query.
Session duration
The length of time that a session is used before being closed.
Sequencer duration
The length of time required to sequence a node, produce the output, and save the changes to the workspace.
Value metrics are represented by the org.modeshape.jcr.api.monitor.ValueMetric enumeration, and include:
Expand
Metric
Style
Description
Active sessions
continuous
The number of active sessions.
Active queries
continuous
The number of active queries.
Workspace count
continuous
The number of workspaces.
Session-scoped locks
continuous
The number of session-scoped locks held by clients.
Open-scoped locks
continuous
The number of open-scoped locks held by clients.
Listener count
continuous
The number of listeners registered with active sessions.
Event queue size
continuous
The number of events that are enqueued for processing and sending to listeners.
Event count
incremental
The number of events that have been sent to at least one listener.
Changed nodes
incremental
The number of nodes that were created, updated, or deleted.
Session saves
incremental
The number of Session.save() calls.
Sequencer queue size
continuous
The number of sequencing operations that are enqueued.
Sequenced nodes
incremental
The number of nodes sequenced.
Values for each of these metrics is captured every 5 seconds, where the continuous metrics are recorded as is (the values continue from one measurement to the next), while the incremental metrics represent distinct perturbations (or increments) from 0.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部