prometheus

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(registry *prometheus.Registry) *Collector

func (*Collector) IncApprovalCount

func (c *Collector) IncApprovalCount()

IncApprovalCount implements metrics.Metrics.

func (*Collector) IncApprovalErrorCount

func (c *Collector) IncApprovalErrorCount()

IncApprovalErrorCount implements metrics.Metrics.

func (*Collector) ObserveApprovalDuration

func (c *Collector) ObserveApprovalDuration(time float64)

ObserveApprovalDuration implements metrics.Metrics.

func (*Collector) ObserveGetProofDataDuration

func (c *Collector) ObserveGetProofDataDuration(time float64)

ObserveGetProofDataDuration implements metrics.Metrics.

func (*Collector) ObserveMerkleProofVerificationDuration

func (c *Collector) ObserveMerkleProofVerificationDuration(time float64)

ObserveMerkleProofVerificationDuration implements metrics.Metrics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL