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!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more