github.com/influxdata/influxdb/v2@v2.7.6/influxql/v1validation/goldenfiles/example_generated.yaml (about)

     1  description: |
     2    This test suite demonstrates how to use the generated
     3    option for producing a dataset based on TOML schema.
     4  
     5  tests:
     6    - query: "select sum(f0) from m0"
     7      result: |
     8        name,tags,time,sum
     9        m0,,0,10
    10  
    11  generated:
    12    start: "1000000000000"
    13    end:   "5000000000000"
    14    toml: |
    15      [[measurements]]
    16      name = "m0"
    17      tags = [
    18        { name = "tag0", source = [ "host1" ] },
    19      ]
    20      fields = [
    21        { name = "f0", count = 10, source = 1 },
    22      ]