Documentation ¶
Overview ¶
Package fanoutconsumer contains implementations of Traces/Metrics/Logs consumers that fan out the data to multiple other consumers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogs ¶
NewLogs wraps multiple log consumers in a single one. It fanouts the incoming data to all the consumers, and does smart routing:
- Clones only to the consumer that needs to mutate the data.
- If all consumers needs to mutate the data one will get the original data.
func NewMetrics ¶
NewMetrics wraps multiple metrics consumers in a single one. It fanouts the incoming data to all the consumers, and does smart routing:
- Clones only to the consumer that needs to mutate the data.
- If all consumers needs to mutate the data one will get the original data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.