This file is indexed.

/usr/share/gocode/src/github.com/influxdata/influxdb/stress/stress.toml is in golang-github-influxdb-influxdb-dev 1.1.1+dfsg1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[provision]
  [provision.basic]
    enabled = true
    address = "localhost:8086"
    database = "stress"
    reset_database = true

[write]
  [write.point_generator]
    [write.point_generator.basic]
      enabled = true
      point_count = 100
      series_count = 100000
      tick = "10s"
      jitter = true
      measurement = "cpu"
      start_date = "2006-Jan-02"
      [[write.point_generator.basic.tag]]
        key = "host"
        value = "server"
      [[write.point_generator.basic.tag]]
        key = "location"
        value = "us-west"
      [[write.point_generator.basic.field]]
        key = "value"
        value = "float64"


  [write.influx_client]
    [write.influx_client.basic]
      enabled = true
      addresses = ["localhost:8086","localhost:1234","localhost:5678"] # stress_test_server runs on port 1234
      database = "stress"
      precision = "n"
      batch_size = 10000
      batch_interval = "0s"
      concurrency = 10
      ssl = false
      format = "line_http" # line_udp, graphite_tcp, graphite_udp

[read]
  [read.query_generator]
    [read.query_generator.basic]
      template = "SELECT count(value) FROM cpu where host='server-%v'"
      query_count = 250

  [read.query_client]
    [read.query_client.basic]
      enabled = true
      addresses = ["localhost:8086"]
      database = "stress"
      query_interval = "100ms"
      concurrency = 1