metrics

package
v0.0.0-...-60192f8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package metrics provides a prometheus/open-metrics route.

Index

Constants

This section is empty.

Variables

View Source
var Middleware = newCollectorMiddlware()

Middleware is the global metrics middleware.

Functions

func ListenAndServe

func ListenAndServe(host string, port int) error

ListenAndServe start an HTTP server only to serve the /metrics route.

Types

This section is empty.

Jump to

Keyboard shortcuts

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