metrics

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() http.Handler

func Open added in v0.0.31

Types

type Events added in v0.0.31

type Events struct {
	Accepted, Rejected prometheus.Counter
}

type Metrics added in v0.0.31

type Metrics struct {
	Events Events
}

func Get added in v0.0.31

func Get(ctx context.Context) *Metrics

Jump to

Keyboard shortcuts

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