multiprovider

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package multiprovider allows multiple metrics.Providers to be composed together to report metrics to multiple places.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(providers ...metrics.Provider) metrics.Provider

New takes any number of providers and returns a metrics.Provider that fans out all constructor calls to all the providers.

Types

type MultiCardinalityCounter added in v0.0.56

type MultiCardinalityCounter []metrics.CardinalityCounter

func (MultiCardinalityCounter) Insert added in v0.0.56

func (cc MultiCardinalityCounter) Insert(b []byte)

func (MultiCardinalityCounter) With added in v0.0.56

func (cc MultiCardinalityCounter) With(labelValues ...string) metrics.CardinalityCounter

Jump to

Keyboard shortcuts

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