Get the Native Fabric Metrics for Peer or Orderer
get
/console/admin/api/v1.1/dashboard/statistics/metrics
You can query the Hyperledger Fabric metrics and publish the output to a Prometheus database.
Request
Supported Media Types
- application/json
Query Parameters
-
nodeId: string
Node ID of a peer or orderer
Response
Supported Media Types
- application/json
200 Response
Operational metrics exported for consumption by Prometheus.
400 Response
The specified nodeId is invalid.
Root Schema : schema
Type:
Show Source
object
-
respMesg(optional):
string
The response message.
Example:
{
"respMesg":"invalid nodeId:peer100"
}
Default Response
unexpected error