31 lines
756 B
Plaintext
31 lines
756 B
Plaintext
# Generate metrics for test and demonstration purposes
|
|
[[inputs.mock]]
|
|
## Set the metric name to use for reporting
|
|
metric_name = "mock"
|
|
|
|
## Optional string key-value pairs of tags to add to all metrics
|
|
# [inputs.mock.tags]
|
|
# "key" = "value"
|
|
|
|
## One or more mock data fields *must* be defined.
|
|
##
|
|
## [[inputs.mock.constant]]
|
|
## name = "constant"
|
|
## value = value_of_any_type
|
|
## [[inputs.mock.random]]
|
|
## name = "rand"
|
|
## min = 1.0
|
|
## max = 6.0
|
|
## [[inputs.mock.sine_wave]]
|
|
## name = "wave"
|
|
## amplitude = 1.0
|
|
## period = 0.5
|
|
## [[inputs.mock.step]]
|
|
## name = "plus_one"
|
|
## start = 0.0
|
|
## step = 1.0
|
|
## [[inputs.mock.stock]]
|
|
## name = "abc"
|
|
## price = 50.00
|
|
## volatility = 0.2
|