package multi
import "github.com/uber/jaeger-lib/metrics/multi"
Index ¶
- type Factory
- func New(factories ...metrics.Factory) *Factory
- func (f *Factory) Counter(name string, tags map[string]string) metrics.Counter
- func (f *Factory) Gauge(name string, tags map[string]string) metrics.Gauge
- func (f *Factory) Namespace(name string, tags map[string]string) metrics.Factory
- func (f *Factory) Timer(name string, tags map[string]string) metrics.Timer
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory is a metrics factory that dispatches to multiple metrics backends.
func New ¶
New creates a new multi.Factory that will dispatch to multiple metrics backends.
func (*Factory) Counter ¶
Counter implements metrics.Factory interface
func (*Factory) Gauge ¶
Gauge implements metrics.Factory interface
func (*Factory) Namespace ¶
Namespace implements metrics.Factory interface
func (*Factory) Timer ¶
Timer implements metrics.Factory interface
Source Files ¶
- Version
- v1.1.0
- Published
- Sep 10, 2017
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 weeks ago –
Tools for package owners.