prometheus

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (*gin.Engine, error)

func NewWithRegistry

func NewWithRegistry(reg *prometheus.Registry) (*http.Server, error)

NewWithRegistry creates a server that exposes metrics from a custom prometheus.Registry at the /metrics endpoint.

Types

This section is empty.

Directories

Path Synopsis
Package lazy provides lazy-registering Prometheus metric wrappers.
Package lazy provides lazy-registering Prometheus metric wrappers.

Jump to

Keyboard shortcuts

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