Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DroppedEntry ¶
type Entry ¶
func (*Entry) UnmarshalJSON ¶
type LokiClient ¶
func NewLokiClient ¶
func NewLokiClient(config Config) *LokiClient
func (*LokiClient) QueryRange ¶
func (lc *LokiClient) QueryRange(ctx context.Context, infinite bool) chan *LokiQueryRangeResponse
func (*LokiClient) SetTomb ¶
func (lc *LokiClient) SetTomb(t *tomb.Tomb)
func (*LokiClient) Tail ¶
func (lc *LokiClient) Tail(ctx context.Context) (chan *LokiResponse, error)
type LokiQueryRangeResponse ¶
LokiQuery GET response. See https://grafana.com/docs/loki/latest/api/#get-lokiapiv1query
type LokiResponse ¶
type LokiResponse struct { Streams []Stream `json:"streams"` DroppedEntries []interface{} `json:"dropped_entries"` //We don't care about the actual content i think ? }
Click to show internal directories.
Click to hide internal directories.