31 lines
773 B
Text
31 lines
773 B
Text
# 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
|
|
# phase = 20.0
|
|
# base_line = 0.0
|
|
# [[inputs.mock.step]]
|
|
# name = "plus_one"
|
|
# start = 0.0
|
|
# step = 1.0
|
|
# [[inputs.mock.stock]]
|
|
# name = "abc"
|
|
# price = 50.00
|
|
# volatility = 0.2
|