metrics

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.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 added in v1.2.4

type Metrics interface {
	IsMetricsEnabled() bool

	// HTTPHandler returns the HTTP handler of this metrics registry
	HTTPHandler() http.Handler

	GetAPIServerRESTHTTPMiddleware() func(next http.Handler) http.Handler

	// functions for transaction handler to define and emit metrics
	TransactionHandlerMetrics
}

func NewMetricsManager

func NewMetricsManager(ctx context.Context) Metrics

type TransactionHandlerMetrics added in v1.2.7

type TransactionHandlerMetrics interface {
	txhandler.TransactionMetrics
}

Transaction handler metrics are defined and emitted by transaction handlers

Jump to

Keyboard shortcuts

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