Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/client_js
/ getMetricsAsArray
Method
getMetricsAsArray
lib/registry.js:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
getMetricsAsArray() {
28
return
Object.values(this._metrics);
29
}
30
31
async
getMetricsAsString(metrics) {
32
const
metric =
Callers
3
metrics
Method · 0.95
getMetricsAsJSON
Method · 0.95
merge
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected