prom

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 11 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Namespace = "parapet"

Namespace is the prometheus namespace

Functions

func Connections

func Connections(s *parapet.Server)

Connections collects connection metrics from server

func Handler

func Handler() http.Handler

Handler returns prom handler

func Networks added in v0.6.0

func Networks(s *parapet.Server)

Networks tracks network io

func Registry

func Registry() *prometheus.Registry

Registry returns prometheus registry

func Requests

func Requests() parapet.Middleware

Requests collects request count

func Start

func Start(addr string) error

Start starts prom server

Types

This section is empty.

Jump to

Keyboard shortcuts

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