Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromqlExecutor ¶
type PromqlExecutor struct {
// contains filtered or unexported fields
}
PromqlExecutor executes queries against local prometheus query engine
func NewPromqlExecutor ¶
func NewPromqlExecutor(timeSeriesFile string) (*PromqlExecutor, error)
NewPromqlExecutor creates a new executor with time series and rules loaded from file Samples loaded from test file starts at time.Time.UTC(0,0)
func (*PromqlExecutor) Close ¶
func (p *PromqlExecutor) Close()
Click to show internal directories.
Click to hide internal directories.