Logging and Monitoring

Hyperledger Fabric provides options to monitor deployed solutions. You can find a list of exportable metrics in the official Hyperledger Fabric Docs

Each node (ordering and peer) in Catalyst Blockchain Manager has automatically configured the Prometheus endpoint for collecting metrics. This endpoint is available with no authorization inside a cluster and can be accessed by <servicename>:8443.

For example, you can use Prometheus-operator and configure endpoints using ServiceMonitor

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
 name: fabric-servicemonitor
spec:
 endpoints:
 - interval: 15s
 port: metrics
 selector:
 matchLabels:
 monitoring: true #these labels are provisioned automatically for each service that supports monitoring endpoint
A built-in monitoring tool based on Prometheus and Grafana will be available in future releases of Catalyst Blockchain Manager.