Flux sampledata package

Flux 0.128.0+

The Flux sampledata package provides functions that return basic sample datasets. Import the sampledata package:

import "sampledata"


The sampledata package includes the following constants:

sampledata.start = 2021-01-01T00:00:00Z
sampledata.stop = 2021-01-01T00:01:00Z

sampledata.start and sampledata.stop constants represent the time range that all data points output by sampledata functions are in.


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.