Documentation ¶
Index ¶
Constants ¶
View Source
const ErrAtLeastOneEntryFailedToProcess = "at least one entry in the push request failed to process"
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory return a new receiver.Factory for loki receiver.
Types ¶
type Config ¶
type Config struct { // Protocols is the configuration for the supported protocols, currently gRPC and HTTP (Proto and JSON). Protocols `mapstructure:"protocols"` KeepTimestamp bool `mapstructure:"use_incoming_timestamp"` }
Config defines configuration for the lokireceiver receiver.
type Protocols ¶
type Protocols struct { GRPC *configgrpc.GRPCServerSettings `mapstructure:"grpc"` HTTP *confighttp.HTTPServerSettings `mapstructure:"http"` }
Protocols is the configuration for the supported protocols.
Click to show internal directories.
Click to hide internal directories.