Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.01 KB

File metadata and controls

35 lines (20 loc) · 1.01 KB

Prometheus metrics example

This example uses minifab.

This example targets Hyperledger 2.2.

This example builds on the minifab example, adding Prometheus metrics collection using fabric-logger's Prometheus scraper.

Start the example

Make sure Docker and docker-compose are installed.

$> ./start.sh

Access Splunk

Splunk runs as part of the deployment on your machine, and is available at https://localhost:8000.

You can log in with admin/changeme. Splunk installs the Hyperledger Fabric application, from which you can explore your setup.

Exploring metrics

You can explore metrics in the metrics tab of the Hyperledger Fabric application.

fabric-logger is configured to collect Prometheus metrics from all peers and orderers of the network.

Stopping the sample

When done, make sure to stop the network. The following script will remove all containers, their volumes and images.

$> ./stop.sh