nightingale/vendor/github.com/uber-go/tally/multi/README.md

14 lines
323 B
Markdown
Raw Normal View History

2020-11-16 08:56:04 +08:00
# A buffered multi reporter
Combine reporters to emit to many backends.
Multiple `tally.StatsReporter` as a single reporter:
```go
reporter := NewMultiReporter(statsdReporter, ...)
```
Multiple `tally.CachedStatsReporter` as a single reporter:
```go
reporter := NewMultiCachedReporter(m3Reporter, promReporter, ...)
```