monitor

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsHandler

func MetricsHandler() http.Handler

MetricsHandler returns an HTTP handler function that serves Prometheus metrics.

func RegisterMetrics

func RegisterMetrics()

RegisterMetrics registers Prometheus metrics.

func RequestDuration

func RequestDuration() *prometheus.HistogramVec

RequestDuration returns the Prometheus histogram for request duration

func RequestsTotal

func RequestsTotal() *prometheus.CounterVec

RequestsTotal returns the Prometheus counter for total requests

Types

This section is empty.

Jump to

Keyboard shortcuts

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