package
0.1.9-alpha
Repository: https://github.com/2gis/loggo.git
Documentation: pkg.go.dev

# Functions

NewStageFiltering is a StageFiltering constructor.
NewStageJSONMarshalling is a constructor for StageJSONMarshalling.
NewStageParsingEntry is a StageParsingEntry constructor.
NewStageParsingSLI is a StageParsingSLI.
NewStageTransport is a StageTransport constructor.
StageInit initializes parallelism count of stage workers, then waits for stage to close.

# Constants

SleepTransportUnavailable is used to determine how long to sleep between deliver attempts.

# Variables

No description provided by the author

# Structs

StageFiltering filters messages from input.
StageJSONMarshalling marshals messages from input to JSON and sends them to output.
StageParsingEntry parses lines using given parser, extends resulting map with metadata and sends it downstream.
StageParsingSLI checks if the message in its input is a SLI message, modifies metrics, then sends message downstream.
StageTransport stacks messages from input into batches and tries to send them to transport.

# Interfaces

MetricsCollector is a metrics counter object interface for parsing sli stage.
ParserSLI may inject additional operations on parsed entry.
Stage interface.
TransportClient is a transport interface for transport stage.

# Type aliases

No description provided by the author
No description provided by the author