Get the Native Fabric Metrics for Peer or Orderer

get

/console/admin/api/v2/dashboard/statistics/metrics

You can query the Hyperledger Fabric metrics and publish the output to a Prometheus database.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Operational metrics exported for consumption by Prometheus
Body ()
Root Schema : StatsMetrics
Type: string
Example:
broadcast_enqueue_duration_bucket{channel=\"fochannel01\",status=\"SUCCESS\",type=\"ENDORSER_TRANSACTION\",le=\"0.005\"} 11

400 Response

Invalid arguments
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top