multi

package
v3.5.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 2 Imported by: 8

README

A buffered multi reporter

Combine reporters to emit to many backends.

Multiple tally.StatsReporter as a single reporter:

reporter := NewMultiReporter(statsdReporter, ...)

Multiple tally.CachedStatsReporter as a single reporter:

reporter := NewMultiCachedReporter(m3Reporter, promReporter, ...)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMultiCachedReporter

func NewMultiCachedReporter(
	r ...tally.CachedStatsReporter,
) tally.CachedStatsReporter

NewMultiCachedReporter creates a new multi tally.CachedStatsReporter.

func NewMultiReporter

func NewMultiReporter(
	r ...tally.StatsReporter,
) tally.StatsReporter

NewMultiReporter creates a new multi tally.StatsReporter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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