Documentation
¶
Index ¶
- Variables
- func FileOutputFactory(rawCfg map[string]interface{}) (api.Output, error)
- func FluentOutputFactory(rawCfg map[string]interface{}) (api.Output, error)
- func LokiOutputFactory(cfg map[string]interface{}) (api.Output, error)
- func PrometheusFactory(rawCfg map[string]interface{}) (api.Output, error)
- func StdoutOutputFactory(cfg map[string]interface{}) (api.Output, error)
- type File
- type FileOutputConfig
- type FluentOutput
- type FluentOutputConfig
- type LogMarshaler
- type LokiOutput
- type OutputFactory
- type PrometheusConfig
- type PrometheusOutput
- type StdoutOutput
- type TraefikProm
Constants ¶
This section is empty.
Variables ¶
View Source
var Outputs map[string]OutputFactory
Functions ¶
func FluentOutputFactory ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File writes logs to file
type FileOutputConfig ¶
type FileOutputConfig struct {
PathPattern string `mapstructure:"path_pattern"`
}
type FluentOutput ¶
type FluentOutput struct {
// contains filtered or unexported fields
}
func (*FluentOutput) Close ¶
func (f *FluentOutput) Close() error
type FluentOutputConfig ¶
type LogMarshaler ¶
type LogMarshaler struct {
// contains filtered or unexported fields
}
func (*LogMarshaler) MarshalMsg ¶
func (l *LogMarshaler) MarshalMsg(out []byte) ([]byte, error)
type LokiOutput ¶
type LokiOutput struct {
// contains filtered or unexported fields
}
func (*LokiOutput) Close ¶
func (l *LokiOutput) Close() error
type PrometheusConfig ¶
type PrometheusOutput ¶
type PrometheusOutput struct {
// contains filtered or unexported fields
}
func (*PrometheusOutput) Close ¶
func (p *PrometheusOutput) Close() error
func (*PrometheusOutput) ServeHTTP ¶
func (p *PrometheusOutput) ServeHTTP(w http.ResponseWriter, r *http.Request)
type StdoutOutput ¶
type StdoutOutput struct { }
func (*StdoutOutput) Close ¶
func (s *StdoutOutput) Close() error
type TraefikProm ¶
type TraefikProm struct {
// contains filtered or unexported fields
}
func NewTraefikProm ¶
func NewTraefikProm(project, key []byte) *TraefikProm
Click to show internal directories.
Click to hide internal directories.