package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Packages

# Functions

GetVersion returns the loghttp version for a given path.
ParseInstantQuery parses an InstantQuery request from an http request.
ParseLabelQuery parses a LabelRequest request from an http request.
ParseRangeQuery parses a RangeQuery request from an http request.
ParseTailQuery parses a TailRequest request from an http request.

# Constants

QueryStatus values.
QueryStatus values.
ResultType values.
ResultType values.
ResultType values.
ResultType values.
Valid Version values.
Valid Version values.

# Structs

LabelResponse represents the http json response to a label query.
DroppedStream represents a dropped stream in tail call.
Entry
Entry represents a log entry.
InstantQuery defines a log instant query.
LabelResponse represents the http json response to a label query.
PushRequest models a log stream push but is unmarshalled to proto push format.
QueryResponse represents the http json response to a Loki range and instant query.
QueryResponseData represents the http json response to a label query.
RangeQuery defines a log range query.
Stream represents a log stream.
TailResponse represents the http json response to a tail query.

# Interfaces

ResultValue interface mimics the promql.Value interface.

# Type aliases

LabelSet is a key/value pair mapping of labels.
LogProtoStream helps with unmarshalling of each log stream for push request.
Matrix is a slice of SampleStreams.
QueryStatus holds the status of a query.
ResultType holds the type of the result.
Scalar is a single timestamp/float with no labels.
Streams is a slice of Stream.
Vector is a slice of Samples.
Version holds a loghttp version.