package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Mar 20, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package metrics implements a standalone HTTP server for serving pprof
profiles and Prometheus metrics.
AddressFamily returns the label value for reporting the address family of an IP address.
Enabled indicates that configured at least one metrics server
Server represents a standalone HTTP server for serving a Prometheus metrics
endpoint.
NewServer creates a new instance of a Prometheus server that asynchronously
serves requests.
Close shuts down the server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.