apoc.metrics.list

过程 Apoc 扩展

apoc.metrics.list() - 获取可用度量列表

签名

apoc.metrics.list() :: (name :: STRING?, lastUpdated :: INTEGER?)

输出参数

名称 类型

名称 (name)

STRING?

lastUpdated(最后更新时间)

整数?

用法示例

CALL apoc.metrics.list()
YIELD name, lastUpdated
WHERE name STARTS WITH "neo4j.neo4j"
RETURN name, datetime({epochMillis: lastUpdated}) AS lastUpdated
LIMIT 5;
表 1. 结果
名称 (name) lastUpdated(最后更新时间)

"neo4j.neo4j.transaction.started"

2020-11-16T12:04:13.224Z

"neo4j.neo4j.transaction.peak_concurrent"

2020-11-16T12:04:13.224Z

"neo4j.neo4j.transaction.active_write"

2020-11-16T12:04:13.220Z

"neo4j.neo4j.transaction.rollbacks"

2020-11-16T12:04:13.224Z

"neo4j.neo4j.transaction.last_committed_tx_id"

2020-11-16T12:04:13.224Z

© . This site is unofficial and not affiliated with Neo4j, Inc.