Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeResultES ¶
func MergeResultES(columns [][]string, data [][]interface{}) (*types.MetricMergedResult, error)
Types ¶
type ES ¶
type ES struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage(cfg *monitorconfig.ElasticSearchStorage) (*ES, error)
func (*ES) Query ¶
func (s *ES) Query(query *monitor.MetricQuery) (*types.MetricMergedResult, error)
Click to show internal directories.
Click to hide internal directories.