sampledata package

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

import "sampledata"


sampledata.start = 2021-01-01T00:00:00Z
sampledata.stop = 2021-01-01T00:01:00Z
  • sampledata.start represents the earliest time included in sample datasets.
  • sampledata.stop represents the latest time included in sample datasets.


Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.