Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct { QueryString string Start time.Time End time.Time Limit int Forward bool Step time.Duration Interval time.Duration Quiet bool NoLabels bool IgnoreLabelsKey []string ShowLabelsKey []string FixedLabelsLen int LocalConfig string }
Query contains all necessary fields to execute instant and range queries and print the results.
func (*Query) DoLocalQuery ¶ added in v1.5.0
DoLocalQuery executes the query against the local store using a Loki configuration file.
func (*Query) SetInstant ¶
SetInstant makes the Query an instant type
Click to show internal directories.
Click to hide internal directories.