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 ¶ added in v0.0.9
func NewInfluxdbAdapter ¶ added in v0.0.9
func NewInfluxdbAdapter(config influxdb.HTTPConfig) (*InfluxdbAdapter, error)
func (*InfluxdbAdapter) ExtractTagFromQuery ¶ added in v0.0.9
func (a *InfluxdbAdapter) ExtractTagFromQuery(query, database, tagKey string) ([]string, error)
func (*InfluxdbAdapter) FindMeasurements ¶ added in v0.0.9
func (a *InfluxdbAdapter) FindMeasurements(database string) ([]string, error)
func (*InfluxdbAdapter) FindMeasurementsLike ¶ added in v0.0.9
func (a *InfluxdbAdapter) FindMeasurementsLike(database string, regex string) ([]string, error)
func (*InfluxdbAdapter) QueryAndIterate ¶ added in v0.0.9
func (a *InfluxdbAdapter) QueryAndIterate(query, database string, fn IterateQueryFunc) error
func (*InfluxdbAdapter) WritePoints ¶ added in v0.0.9
func (a *InfluxdbAdapter) WritePoints(database string, points ...*influxdb.Point) error
Click to show internal directories.
Click to hide internal directories.