Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loki ¶
type Loki struct {
// contains filtered or unexported fields
}
Loki record writer
func NewWriteLoki ¶
func NewWriteLoki(params config.StageParam) (*Loki, error)
NewWriteLoki creates a Loki writer from configuration
func (*Loki) ProcessRecord ¶
func (l *Loki) ProcessRecord(record config.GenericMap) error
func (*Loki) Write ¶
func (l *Loki) Write(entries []config.GenericMap)
Write writes a flow before being stored
type WriteNone ¶
type WriteNone struct {
PrevRecords []config.GenericMap
}
type Writer ¶
type Writer interface {
Write(in []config.GenericMap)
}
func NewWriteStdout ¶
func NewWriteStdout(params config.StageParam) (Writer, error)
NewWriteStdout create a new write
Click to show internal directories.
Click to hide internal directories.