Documentation

sample.list() function

sample.list() outputs information about available InfluxDB sample datasets.

Function type signature
(
    
) => stream[{
    url: string,
    type: string,
    size: string,
    name: string,
    description: string,
}]
For more information, see Function type signatures.

Examples

List available InfluxDB sample datasets

import "influxdata/influxdb/sample"

sample.list()


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.