Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NumberOfReceivedMsgs = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "number_of_received_messages_total", Help: "Number of messages received by file output", }, []string{"file_name"})
View Source
var NumberOfWrittenBytes = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "number_of_written_bytes_total", Help: "Number of bytes written to file", }, []string{"file_name"})
View Source
var NumberOfWrittenMsgs = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "number_of_written_messages_total", Help: "Number of messages written to file", }, []string{"file_name"})
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FileName string `mapstructure:"filename,omitempty"` FileType string `mapstructure:"file-type,omitempty"` Format string `mapstructure:"format,omitempty"` Multiline bool `mapstructure:"multiline,omitempty"` Indent string `mapstructure:"indent,omitempty"` Separator string `mapstructure:"separator,omitempty"` }
Config //
Click to show internal directories.
Click to hide internal directories.