
loki
Index
type Client
Client pushes log entries to the Loki HTTP API.
func NewClient
NewClient creates a Loki push API client.
func (*Client) Push
Push sends a batch of log entries to Loki under the given stream labels. Each entry is a [timestamp_nanos, json_line] pair.
type Entry
Entry is a single log line with a nanosecond-precision timestamp string.
func NewEntry
NewEntry creates a log entry from a time and JSON line.
Generated by gomarkdoc