metrics

package
v0.5.0-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(fx.Annotated{Name: "metrics", Target: newApp}),
	fx.Invoke(
		newHandler,
		registerHooks,
	),
)

Functions

This section is empty.

Types

type ErrLoggerFun

type ErrLoggerFun func(v ...interface{})

ErrLoggerFun is an adapter for promhttp Logger to log errors.

func (ErrLoggerFun) Println

func (l ErrLoggerFun) Println(v ...interface{})

type Handler

type Handler struct{}

Jump to

Keyboard shortcuts

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