metrics

package
v0.6.11-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0, LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {

	// Summary of the quantiles of Individual Issuance Tx Times
	IssuanceTxTimes prometheus.Summary
	// Summary of the quantiles of Individual Confirmation Tx Times
	ConfirmationTxTimes prometheus.Summary
	// Summary of the quantiles of Individual Issuance To Confirmation Tx Times
	IssuanceToConfirmationTxTimes prometheus.Summary
	// contains filtered or unexported fields
}

func NewDefaultMetrics added in v0.5.10

func NewDefaultMetrics() *Metrics

func NewMetrics

func NewMetrics(reg *prometheus.Registry) *Metrics

NewMetrics creates and returns a Metrics and registers it with a Collector

func (*Metrics) Print added in v0.6.0

func (m *Metrics) Print(outputFile string) error

func (*Metrics) Serve added in v0.5.10

func (m *Metrics) Serve(ctx context.Context, metricsPort string, metricsEndpoint string) *MetricsServer

type MetricsServer added in v0.5.10

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

func (*MetricsServer) Shutdown added in v0.5.10

func (ms *MetricsServer) Shutdown()

Jump to

Keyboard shortcuts

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