mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
3c06179184
* basic vmalert backbone * Resolve code review comments for vmalert backbone * Second review fixes for vmalert backbone
14 lines
346 B
Go
14 lines
346 B
Go
package datasource
|
|
|
|
import "context"
|
|
|
|
// Metrics the data returns from storage
|
|
type Metrics struct{}
|
|
|
|
// VMStorage represents vmstorage entity with ability to read and write metrics
|
|
type VMStorage struct{}
|
|
|
|
//Query basic query to the datasource
|
|
func (s *VMStorage) Query(ctx context.Context, query string) ([]Metrics, error) {
|
|
return nil, nil
|
|
}
|