mirror of https://github.com/grafana/loki
Add tenant to tee (#11573)
It is useful for implementations of Tee to also know the tenant who sent the logs. This PR adds tenant to the tee interface.pull/11597/head
parent
e9446a93de
commit
d2f43787b6
@ -1,6 +1,6 @@ |
|||||||
package distributor |
package distributor |
||||||
|
|
||||||
// Tee imlpementations can duplicate the log streams to another endpoint.
|
// Tee implementations can duplicate the log streams to another endpoint.
|
||||||
type Tee interface { |
type Tee interface { |
||||||
Duplicate([]KeyedStream) |
Duplicate(tenant string, streams []KeyedStream) |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue