Versions in this module Expand all Collapse all v2 v2.5.0 Apr 12, 2019 Changes in this version + func Create(dataBase moira.Database) metricSource.MetricSource + func FetchData(database moira.Database, pattern string, from int64, until int64, ...) ([]*types.MetricData, []string, error) + type ErrEvalExpr struct + func (err ErrEvalExpr) Error() string + type ErrEvaluateTargetFailedWithPanic struct + func (err ErrEvaluateTargetFailedWithPanic) Error() string + type ErrParseExpr struct + func (err ErrParseExpr) Error() string + type ErrUnknownFunction struct + FuncName string + func ErrorUnknownFunction(err error) ErrUnknownFunction + func (err ErrUnknownFunction) Error() string + type FetchResult struct + Metrics []string + MetricsData []*metricSource.MetricData + Patterns []string + func CreateEmptyFetchResult() *FetchResult + func (fetchResult *FetchResult) GetMetricsData() []*metricSource.MetricData + func (fetchResult *FetchResult) GetPatternMetrics() ([]string, error) + func (fetchResult *FetchResult) GetPatterns() ([]string, error) + type Local struct + func (local *Local) Fetch(target string, from int64, until int64, allowRealTimeAlerting bool) (metricSource.FetchResult, error) + func (local *Local) IsConfigured() (bool, error)