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 fans out 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 mutable data.
func NewMetrics ¶
NewMetrics wraps multiple metrics consumers in a single one. It fans out 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 mutable data.
func NewProfiles ¶
func NewProfiles(tcs []consumerprofiles.Profiles) consumerprofiles.Profiles
NewProfiles wraps multiple profile consumers in a single one. It fans out 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 mutable data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.