prometheus

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ProcessorName = "prometheus"

ProcessorName is the registration name for the Prometheus metrics processor.

Variables

This section is empty.

Functions

func HTTPHandler

func HTTPHandler(w http.ResponseWriter, r *http.Request)

HTTPHandler writes the active Prometheus scrape response.

func New

func New(_ metrics.Config, service string) (metrics.Processor, error)

New creates a Prometheus scrape processor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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