Documentation ¶
Index ¶
- type ESClient
- func (esc *ESClient) Close() error
- func (esc *ESClient) CreateTimeseries(results *elastic.SearchHits) ([]*prompb.TimeSeries, error)
- func (esc *ESClient) Insert(req prompb.WriteRequest) error
- func (esc *ESClient) NewBulkService() error
- func (esc *ESClient) Select(q *prompb.Query) (*elastic.SearchHits, error)
- func (esc *ESClient) SetupIndex(c esconf) error
- func (esc *ESClient) Statistics()
- func (esc *ESClient) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ESClient ¶
type ESClient struct {
// contains filtered or unexported fields
}
func (*ESClient) CreateTimeseries ¶
func (esc *ESClient) CreateTimeseries(results *elastic.SearchHits) ([]*prompb.TimeSeries, error)
func (*ESClient) NewBulkService ¶
func (*ESClient) SetupIndex ¶
func (*ESClient) Statistics ¶
func (esc *ESClient) Statistics()
Click to show internal directories.
Click to hide internal directories.