metrics

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package metrics tracks various metrics that measure the performance of vouch.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientMonitor

type ClientMonitor interface {
	// ClientOperation provides a generic monitor for client operations.
	ClientOperation(provider string, name string, succeeded bool, duration time.Duration)
	// StrategyOperation provides a generic monitor for strategy operations.
	StrategyOperation(strategy string, provider string, operation string, duration time.Duration)
}

ClientMonitor provides methods to monitor client connections.

type Service

type Service interface {
	// Presenter provides the presenter for this service.
	Presenter() string
}

Service is the generic metrics service.

type SignerMonitor added in v1.0.0

type SignerMonitor interface{}

SignerMonitor provides methods to monitor signers.

type ValidatorsManagerMonitor added in v1.0.0

type ValidatorsManagerMonitor interface{}

ValidatorsManagerMonitor provides methods to monitor the validators manager.

Directories

Path Synopsis
Package null is a null metrics logger.
Package null is a null metrics logger.

Jump to

Keyboard shortcuts

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