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 Platform 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:
1
apiVersion: monitoring.coreos.com/v1
2
kind: ServiceMonitor
3
metadata:
4
name: fabric-servicemonitor
5
spec:
6
endpoints:
7
- interval: 15s
8
port: metrics
9
selector:
10
matchLabels:
11
monitoring: true #these labels are provisioned automatically for each service that supports monitoring endpoint
Copied!
A built-in monitoring tool based on Prometheus and Grafana will be available in future releases of Catalyst Blockchain Platform.
Last modified 6mo ago
Copy link