metrics

package
v0.9.30 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMetrics

func InitMetrics()

InitMetrics registers /metrics endpoint within default http serve mux

func MessagesCustomer

func MessagesCustomer(sender id.UserID)

MessagesCustomer increments count of messages from customers

func MessagesOperator

func MessagesOperator()

MessagesOperator increments count of messages from operator

func RequestDone

func RequestDone()

RequestDone increments count of closed requests

func RequestNew

func RequestNew()

RequestNew increments count of new requests

Types

type Handler

type Handler struct{}

Handler for metrics

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, _ *http.Request)

Jump to

Keyboard shortcuts

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