Documentation
¶
Index ¶
- type DatabaseAdapter
- type InfluxdbAdapter
- func (a *InfluxdbAdapter) ExtractTagFromQuery(query, database, tagKey string) ([]string, error)
- func (a *InfluxdbAdapter) FindMeasurements(database string) ([]string, error)
- func (a *InfluxdbAdapter) FindMeasurementsLike(database string, regex string) ([]string, error)
- func (a *InfluxdbAdapter) QueryAndIterate(query, database string, fn IterateQueryFunc) error
- func (a *InfluxdbAdapter) WritePoints(database string, points ...*influxdb.Point) error
- type IterateQueryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseAdapter ¶
func NewDatabaseAdapter ¶
func (*DatabaseAdapter) FindDatabases ¶
func (a *DatabaseAdapter) FindDatabases() ([]string, error)
type InfluxdbAdapter ¶
func NewInfluxdbAdapter ¶
func NewInfluxdbAdapter(config influxdb.HTTPConfig) (*InfluxdbAdapter, error)
func (*InfluxdbAdapter) ExtractTagFromQuery ¶
func (a *InfluxdbAdapter) ExtractTagFromQuery(query, database, tagKey string) ([]string, error)
func (*InfluxdbAdapter) FindMeasurements ¶
func (a *InfluxdbAdapter) FindMeasurements(database string) ([]string, error)
func (*InfluxdbAdapter) FindMeasurementsLike ¶
func (a *InfluxdbAdapter) FindMeasurementsLike(database string, regex string) ([]string, error)
func (*InfluxdbAdapter) QueryAndIterate ¶
func (a *InfluxdbAdapter) QueryAndIterate(query, database string, fn IterateQueryFunc) error
func (*InfluxdbAdapter) WritePoints ¶
func (a *InfluxdbAdapter) WritePoints(database string, points ...*influxdb.Point) error
Click to show internal directories.
Click to hide internal directories.