fabric-smart-client
fabric-smart-client copied to clipboard
Define and implement FSC performance metrics
This task is about starting a discussion on defining and implementing FSC performance metrics. FSC comes with support for prometheus (https://github.com/hyperledger-labs/fabric-smart-client/blob/main/platform/view/services/metrics/operations/metrics.go).
Currently FSC reports the following:
- Commiter:
-
commit
-
isFinal
-
listenTo
-
What about others?
- View invocations via view manager
- View interactions message size
- Vault usage (size, read/write per sec)
- KVS usage (size, read/write per sec)
- Memory / CPU load
Given my lack of knowledge of the FSC at this time, the only comment I can currently make is that I don't think we need to worry too much about Memory/CPU Load at this time. We can leave it for other metrics gatherers to collect that information (eg prometheus process explorer, nmon, prometheus k8s).
Also FSC collects counter metrics on grpc connections opened and closed
@alexandrosfilios , please, can you comment on this to understand what is available now?