multi

package
v4.0.0-...-fb5b55a Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 2 Imported by: 0

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