Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps Loki HTTP API
func NewProbeClient ¶ added in v0.35.0
NewProbeClient creates a Loki client with a short timeout for connectivity checks
func (*Client) LabelValues ¶
LabelValues returns all values for a given label If query is non-empty, values are scoped to streams matching the query selector
func (*Client) Labels ¶
Labels returns all label names from Loki If query is non-empty, labels are scoped to streams matching the query selector
func (*Client) TestConnection ¶
TestConnection verifies the Loki connection is working
Click to show internal directories.
Click to hide internal directories.