metrics

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIMonitor

type APIMonitor interface{}

APIMonitor monitors the API service.

type AccountManagerMonitor

type AccountManagerMonitor interface {
	// AccountManagerCompleted is called when an account manager process has completed.
	AccountManagerCompleted(started time.Time, request string, result core.Result)
}

AccountManagerMonitor monitors the account manager service.

type CheckerMonitor

type CheckerMonitor interface{}

CheckerMonitor monitors the checker service.

type ConfidantMonitor

type ConfidantMonitor interface{}

ConfidantMonitor monitors the confidant service.

type FetcherMonitor

type FetcherMonitor interface{}

FetcherMonitor monitors the fetcher service.

type ListerMonitor

type ListerMonitor interface {
	// ListAccountsCompleted is called when a request for accounts has completed.
	ListAccountsCompleted(started time.Time)
}

ListerMonitor monitors the account lister service.

type LockerMonitor

type LockerMonitor interface{}

LockerMonitor monitors the locker service.

type PeersMonitor

type PeersMonitor interface{}

PeersMonitor monitors the dirk peers service.

type ProcessMonitor

type ProcessMonitor interface{}

ProcessMonitor monitors the process service.

type ReceiverMonitor

type ReceiverMonitor interface{}

ReceiverMonitor monitors the receiver service.

type RulerMonitor

type RulerMonitor interface{}

RulerMonitor monitors the ruler service.

type SenderMonitor

type SenderMonitor interface{}

SenderMonitor monitors the sender service.

type Service

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

Service is the generic metrics service.

type SignerMonitor

type SignerMonitor interface {
	// SignCompleted is called when a siging process has completed.
	SignCompleted(started time.Time, request string, result core.Result)
}

SignerMonitor monitors the signer service.

type WalletManagerMonitor

type WalletManagerMonitor interface {
	// WalletManagerCompleted is called when an wallet manager process has completed.
	WalletManagerCompleted(started time.Time, request string, result core.Result)
}

WalletManagerMonitor monitors the wallet manager service.

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