fabric-smart-client icon indicating copy to clipboard operation
fabric-smart-client copied to clipboard

Define and implement FSC performance metrics

Open mbrandenburger opened this issue 2 years ago • 3 comments

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

mbrandenburger avatar Aug 02 '22 08:08 mbrandenburger

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).

davidkel avatar Aug 02 '22 09:08 davidkel

Also FSC collects counter metrics on grpc connections opened and closed

davidkel avatar Aug 02 '22 14:08 davidkel

@alexandrosfilios , please, can you comment on this to understand what is available now?

adecaro avatar Sep 20 '24 07:09 adecaro