client

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg client.Config, numberOfBatchIds uint64, logger log.Logger) (client.Client, error)

New makes a new Client.

func NewClient

func NewClient(cfg *config.Config, logger log.Logger) (client.Client, error)

NewClient creates a new client based on the fluentbit configuration.

func NewPromtailClient

func NewPromtailClient(cfg client.Config, logger log.Logger) (client.Client, error)

NewPromtailClient return promtail client which increments the ForwardedLogs counter on successful call of the Handle function

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL