Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { // Number of peers. Peers metrics.Gauge // Number of connected persistent peers. ConnectedPersistentPeers metrics.Gauge // Number of unconnected persistent peers. UnonnectedPersistentPeers metrics.Gauge // contains filtered or unexported fields }
func PrometheusMetrics ¶
func PrometheusMetrics() *Metrics
func (*Metrics) Start ¶
func (m *Metrics) Start(ctx context.CLIContext)
Click to show internal directories.
Click to hide internal directories.