influx

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaManager

type SchemaManager struct {
	// contains filtered or unexported fields
}

SchemaManager implements the schemamanagement.SchemaManager interface

func NewSchemaManager

func NewSchemaManager(
	client influx.Client,
	db, rp string,
	onConflictConvertIntToFloat bool,
	me discovery.MeasureExplorer,
	tagExplorer discovery.TagExplorer,
	fieldExplorer discovery.FieldExplorer) *SchemaManager

NewSchemaManager creates new schema manager that can discover influx data sets

func (*SchemaManager) DiscoverDataSets

func (sm *SchemaManager) DiscoverDataSets() ([]string, error)

DiscoverDataSets returns a list of the available measurements in the connected

func (*SchemaManager) FetchDataSet

func (sm *SchemaManager) FetchDataSet(dataSetIdentifier string) (*idrf.DataSet, error)

FetchDataSet for a given data set identifier (retention.measureName, or just measureName) returns the idrf.DataSet describing it

func (*SchemaManager) PrepareDataSet

func (sm *SchemaManager) PrepareDataSet(dataSet *idrf.DataSet, strategy schemaconfig.SchemaStrategy) error

PrepareDataSet NOT IMPLEMENTED

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL