Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeResult ¶
func MergeResult(results []types.MetricResult, groupByAndTimestamp []string, fields []string) *types.MetricMergedResult
Types ¶
type InfluxDB ¶
type InfluxDB struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage(cfg *monitorconfig.InfluxDBStorage) (*InfluxDB, error)
func (*InfluxDB) Query ¶
func (s *InfluxDB) Query(query *monitor.MetricQuery) (*types.MetricMergedResult, error)
Click to show internal directories.
Click to hide internal directories.