prometheusx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricsServer

func NewMetricsServer(r *prometheus.Registry, opts ...Option) *prometheusServer

Types

type CollectorOpt

type CollectorOpt prometheus.Opts

func (CollectorOpt) String

func (c CollectorOpt) String() string

type Option

type Option func(*prometheusServer)

func WithConstLables

func WithConstLables(lables map[string]string) Option

func WithGoCollector

func WithGoCollector() Option

func WithProcessCollector

func WithProcessCollector() Option

Jump to

Keyboard shortcuts

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