Documentation ¶
Index ¶
- func New(cfg client.Config, numberOfBatchIds uint64, logger log.Logger) (types.LokiClient, error)
- func NewClient(cfg *config.Config, logger log.Logger) (types.LokiClient, error)
- func NewPromtailClient(cfg client.Config, logger log.Logger) (types.LokiClient, error)
- func NewRemoveTenantIdClient(clientToWrap types.LokiClient) types.LokiClient
- type LokiClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPromtailClient ¶
NewPromtailClient return promtail client which increments the ForwardedLogs counter on successful call of the Handle function
func NewRemoveTenantIdClient ¶ added in v0.36.0
func NewRemoveTenantIdClient(clientToWrap types.LokiClient) types.LokiClient
NewRemoveTenantIdClient return loki client wich removes the __tenant_id__ value fro the label set
Types ¶
type LokiClient ¶ added in v0.36.0
Click to show internal directories.
Click to hide internal directories.