diff --git a/etc/telegraf.conf b/etc/telegraf.conf index 202e1a5b5..8c91b82c2 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -59,13 +59,17 @@ ## ie, a jitter of 5s and interval 10s means flushes will happen every 10-15s flush_jitter = "0s" + ## Collected metrics are rounded to the precision specified. Precision is + ## specified as an interval with an integer + unit (e.g. 0s, 10ms, 2us, 4s). + ## Valid time units are "ns", "us" (or "µs"), "ms", "s". + ## ## By default or when set to "0s", precision will be set to the same - ## timestamp order as the collection interval, with the maximum being 1s. + ## timestamp order as the collection interval, with the maximum being 1s: ## ie, when interval = "10s", precision will be "1s" ## when interval = "250ms", precision will be "1ms" + ## ## Precision will NOT be used for service inputs. It is up to each individual ## service input to set the timestamp at the appropriate precision. - ## Valid time units are "ns", "us" (or "µs"), "ms", "s". precision = "" ## Log at debug level. @@ -1858,6 +1862,14 @@ # # timestamp = "TIMESTAMP" # # defaultvalue = "TEXT" # # unsigned = "UNSIGNED" +# # bool = "BOOL" +# +# ## This setting controls the behavior of the unsigned value. By default the +# ## setting will take the integer value and append the unsigned value to it. The other +# ## option is "literal", which will use the actual value the user provides to +# ## the unsigned option. This is useful for a database like ClickHouse where +# ## the unsigned value should use a value like "uint64". +# # conversion_style = "unsigned_suffix" # # Configuration for Google Cloud Stackdriver to send metrics to diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index 8ca3f8215..d8a9b2463 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -59,13 +59,17 @@ ## ie, a jitter of 5s and interval 10s means flushes will happen every 10-15s flush_jitter = "0s" + ## Collected metrics are rounded to the precision specified. Precision is + ## specified as an interval with an integer + unit (e.g. 0s, 10ms, 2us, 4s). + ## Valid time units are "ns", "us" (or "µs"), "ms", "s". + ## ## By default or when set to "0s", precision will be set to the same - ## timestamp order as the collection interval, with the maximum being 1s. + ## timestamp order as the collection interval, with the maximum being 1s: ## ie, when interval = "10s", precision will be "1s" ## when interval = "250ms", precision will be "1ms" + ## ## Precision will NOT be used for service inputs. It is up to each individual ## service input to set the timestamp at the appropriate precision. - ## Valid time units are "ns", "us" (or "µs"), "ms", "s". precision = "" ## Log at debug level. @@ -1858,6 +1862,14 @@ # # timestamp = "TIMESTAMP" # # defaultvalue = "TEXT" # # unsigned = "UNSIGNED" +# # bool = "BOOL" +# +# ## This setting controls the behavior of the unsigned value. By default the +# ## setting will take the integer value and append the unsigned value to it. The other +# ## option is "literal", which will use the actual value the user provides to +# ## the unsigned option. This is useful for a database like ClickHouse where +# ## the unsigned value should use a value like "uint64". +# # conversion_style = "unsigned_suffix" # # Configuration for Google Cloud Stackdriver to send metrics to