prometheus

package
v1.30.5 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package prometheus provides Prometheus metrics for Mailpit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandler

func GetHandler() http.Handler

GetHandler returns the Prometheus metrics HTTP handler

func GetMode

func GetMode() string

GetMode returns the Prometheus run mode

func StartSeparateServer

func StartSeparateServer()

StartSeparateServer starts a separate HTTP server for Prometheus metrics

func StartUpdater

func StartUpdater()

StartUpdater starts the periodic metrics update routine

Types

This section is empty.

Jump to

Keyboard shortcuts

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