Documentation ¶
Index ¶
Constants ¶
View Source
const LOG_ENTRIES_CHAN_SIZE = 5000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Log(Line string, level LogLevel, extraLabels LabelSet) Shutdown() Sent() int Buffered() int }
func NewClientProto ¶
func NewClientProto(conf ClientConfig, parent *http.Client) (Client, error)
type ClientConfig ¶
type EntryBatch ¶
type EntryBatch struct {
// contains filtered or unexported fields
}
func NewEntryBatch ¶
func NewEntryBatch(labels LabelSet) *EntryBatch
func (EntryBatch) Append ¶
func (b EntryBatch) Append(entry *logproto.Entry) *EntryBatch
Click to show internal directories.
Click to hide internal directories.