metrics

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package metrics provides functions for serving and registering prometheus metrics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(collectors ...prometheus.Collector)

Register a prometheus collector.

func Serve

func Serve(r *http.ServeMux)

Serve prometheus metrics via HTTP on the provided router.

Types

This section is empty.

Jump to

Keyboard shortcuts

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