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 WithGoCollector ¶
func WithGoCollector() Option
func WithProcessCollector ¶
func WithProcessCollector() Option
Click to show internal directories.
Click to hide internal directories.