pub.chive.admin.getNodeMetrics

Get Node.js runtime metrics and process information

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authorityadmin.chive.pub
Indexed

Query

query · GET

Parameters

query string

Output

application/json

metrics

requiredarray

Node.js and process metric entries

itemsref
Reference

processInfo

requiredref

Process runtime information

Reference

Errors

AuthenticationRequired

No description in schema.

AdminRequired

No description in schema.

#nodeMetric

object

A Node.js runtime metric

Properties

name

requiredstring

Metric name

type

requiredstring

Metric type

  • knownValues: counter | gauge | histogram

unit

string

Unit of measurement (bytes, seconds, percent)

value

requiredstring

Current value (numeric string)

#processInfo

object

Node.js process runtime information

Properties

cpuSystem

integer

CPU system time in microseconds

cpuUser

integer

CPU user time in microseconds

Event loop lag in microseconds

external

integer

External memory in bytes

heapTotal

requiredinteger

V8 heap total in bytes

heapUsed

requiredinteger

V8 heap used in bytes

pid

requiredinteger

Process ID

rss

requiredinteger

Resident set size in bytes

uptime

requiredinteger

Process uptime in seconds