Documentation ¶
Index ¶
- func New(opts ...Option) fiber.Handler
- type OperationFilter
- type Option
- func WithLabel(label, value string) Option
- func WithLabels(labels map[string]string) Option
- func WithNamespace(name string) Option
- func WithOperationFilter(filter OperationFilter) Option
- func WithRegisterer(registerer prometheus.Registerer) Option
- func WithServiceName(name string) Option
- func WithSubsystem(name string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OperationFilter ¶
type OperationFilter func(*fiber.Ctx) bool
type Option ¶
type Option func(*opts)
func WithLabels ¶
func WithNamespace ¶
func WithOperationFilter ¶
func WithOperationFilter(filter OperationFilter) Option
func WithRegisterer ¶
func WithRegisterer(registerer prometheus.Registerer) Option
func WithServiceName ¶
func WithSubsystem ¶
Click to show internal directories.
Click to hide internal directories.