feat: update configs (#10345)

This commit is contained in:
telegraf-tiger[bot] 2021-12-23 13:51:20 -07:00 committed by GitHub
parent 2220fa2c2d
commit aee267681a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 58 additions and 0 deletions

View File

@ -5168,6 +5168,35 @@
# # tagdrop = ["server"]
# # 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.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
# # Retrieve data from MODBUS slave devices
# [[inputs.modbus]]
# ## Connection Configuration

View File

@ -5042,6 +5042,35 @@
# # tagdrop = ["server"]
# # 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.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
# # Retrieve data from MODBUS slave devices
# [[inputs.modbus]]
# ## Connection Configuration