MCPcopy
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

metricsMethod · 0.95
getMetricsAsJSONMethod · 0.95
mergeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected