Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordTime ¶
RecordTime records time elapse from startTime for given metric.
Types ¶
type TPSMetrics ¶
TPSMetrics is the metrics for tps (Transaction Per Second)
func NewTPSMetrics ¶
func NewTPSMetrics() TPSMetrics
NewTPSMetrics creates a tpsMetrics and starts its ticker.
Click to show internal directories.
Click to hide internal directories.