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"`
// contains filtered or unexported fields
}
Config defines configuration for the lokireceiver receiver.
type Protocols ¶
type Protocols struct {
GRPC *configgrpc.ServerConfig `mapstructure:"grpc"`
HTTP *confighttp.ServerConfig `mapstructure:"http"`
// contains filtered or unexported fields
}
Protocols is the configuration for the supported protocols.
Click to show internal directories.
Click to hide internal directories.