metrics

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 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 BaseMonitor

type BaseMonitor interface {
	// Build is called when the build number is established.
	Build(build uint64)
}

BaseMonitor provides base information about the instance.

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 ReadyMonitor

type ReadyMonitor interface {
	// Ready is called when the service is ready to serve requests, or when it stops being so.
	Ready(ready bool)
}

ReadyMonitor provides information about if the process is ready.

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{}

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 UnlockerMonitor

type UnlockerMonitor interface {
}

UnlockerMonitor monitors the unlocker 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

Jump to

Keyboard shortcuts

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