metrics

package
v0.0.0-...-f4d84f6 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBStats

type DBStats = sql.DBStats

type Metrics

type Metrics interface {
	SetExchangeID(exchangeID string)
	IncOrdersCounter(apiKeyID int64)
	SetNumberOfKeys(numberOfKeys int)
	SetDBStats(dbstats DBStats)
	SetKeyCycleTimeDelta(cycleName string, apiKeyID int64, deltaSeconds float64)
	MarkKeyPulled(apiKeyID int64)
	HTTPHandler() http.Handler
}

func NewPrometheusExporter

func NewPrometheusExporter() Metrics

Jump to

Keyboard shortcuts

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