SMF uses Prometheus for gathering statistics or counters from its microservices.
Grafana is used as the user interface to view metrics. It pulls the data from the Prometheus data store. Default graphs for KPI are available using Grafana for rendering a graphical view of the statistics with timelines.
For each microservice, counters and a set of labels are defined. Counters are incremented or decremented with the set of labels depending on the functionality.
The following snapshot is a sample of the Grafana dashboard.