Logging and Monitoring
Hyperledger Fabric provides options to monitor deployed solutions. A full list of exportable metrics can be found in the official Hyperledger Fabric Docs.
Prometheus Endpoint
Each node (ordering and peer) in Catalyst Blockchain Platform has a Prometheus endpoint automatically configured for collecting metrics. This endpoint is available with no authorization inside the cluster and can be accessed at:
<servicename>:8443Configuring with ServiceMonitor
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 monitoringLast updated
Was this helpful?