Documentation ¶
Index ¶
Constants ¶
View Source
const ValueTypeLog parser.ValueType = "log"
View Source
const ValueTypeLogSelector parser.ValueType = "logselector"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrQueryCanceled ¶
type ErrQueryCanceled string
ErrQueryCanceled is returned if a query was canceled during processing.
func (ErrQueryCanceled) Error ¶
func (e ErrQueryCanceled) Error() string
type ErrQueryTimeout ¶
type ErrQueryTimeout string
ErrQueryTimeout is returned if a query timed out during processing.
func (ErrQueryTimeout) Error ¶
func (e ErrQueryTimeout) Error() string
type ErrStorage ¶
type ErrStorage struct{ Err error }
ErrStorage is returned if an error was encountered in the storage layer during query handling.
func (ErrStorage) Error ¶
func (e ErrStorage) Error() string
type ErrTooManySamples ¶
type ErrTooManySamples string
ErrTooManySamples is returned if a query would load more than the maximum allowed samples into memory.
func (ErrTooManySamples) Error ¶
func (e ErrTooManySamples) Error() string
type ErrWithWarnings ¶
type LineMatcher ¶
type LogSelector ¶
type LogSelector struct { Name string LabelMatchers []*labels.Matcher LineMatchers []*LineMatcher TimeRange TimeRange }
LogSelector represents a Log selection.
func (LogSelector) PositionRange ¶
func (ls LogSelector) PositionRange() parser.PositionRange
func (LogSelector) Pretty ¶
func (ls LogSelector) Pretty(int) string
func (LogSelector) String ¶
func (ls LogSelector) String() string
Click to show internal directories.
Click to hide internal directories.