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 provides methods to query Loki via Kubernetes service proxy
type QueryResponse ¶
type QueryResponse struct {
Status string `json:"status"`
Data struct {
ResultType string `json:"resultType"`
Result []struct {
Stream map[string]string `json:"stream"`
Values [][]string `json:"values"` // [timestamp, log line]
} `json:"result"`
} `json:"data"`
}
QueryResponse represents the response from Loki's query_range endpoint
Click to show internal directories.
Click to hide internal directories.