Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LokiStreamResponse ¶
type LokiStreamResponse struct {
ResultType string `json:"resultType"`
Result StreamResult `json:"result"`
Stats LokiStats `json:"stats"`
}
TODO: unclear yet if all this model is useful. Currently unused, as this is done on the frontend side
type ParsedStream ¶
type ParsedStream struct {
Labels map[string]string `json:"labels"`
Values []ParsedStreamValue `json:"values"`
}
type ParsedStreamValue ¶
type StreamResult ¶
type StreamResult struct {
Stream map[string]string `json:"stream"`
Values [][]string `json:"values"`
}
func (*StreamResult) Parse ¶
func (in *StreamResult) Parse() (*ParsedStream, error)
Click to show internal directories.
Click to hide internal directories.