Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "loki"
ModuleName is the name used in config file
Variables ¶
View Source
var (
ErrNoValidURLs = errutil.NewFactory("no valid URLs found")
)
errors
Functions ¶
Types ¶
type LokiRequest ¶
type LokiRequest struct {
Streams []LokiStream `json:"streams"`
}
type LokiStream ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig URLs []string `json:"urls"` // Array of HTTP connection strings Auth string `json:"auth"` // contains filtered or unexported fields }
OutputConfig holds the configuration json fields and internal objects
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
DefaultOutputConfig returns an OutputConfig struct with default values
Click to show internal directories.
Click to hide internal directories.