prometheus

package
v0.8.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) fiber.Handler

Types

type OperationFilter

type OperationFilter func(*fiber.Ctx) bool

type Option

type Option func(*opts)

func WithLabel

func WithLabel(label, value string) Option

func WithLabels

func WithLabels(labels map[string]string) Option

func WithNamespace

func WithNamespace(name string) Option

func WithOperationFilter

func WithOperationFilter(filter OperationFilter) Option

func WithRegisterer

func WithRegisterer(registerer prometheus.Registerer) Option

func WithServiceName

func WithServiceName(name string) Option

func WithSubsystem

func WithSubsystem(name string) Option

Jump to

Keyboard shortcuts

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