parent
1673491996
commit
4b5dac0cba
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
## Telegraf will cache metric_buffer_limit metrics for each output, and will
|
## Telegraf will cache metric_buffer_limit metrics for each output, and will
|
||||||
## flush this buffer on a successful write.
|
## flush this buffer on a successful write.
|
||||||
metric_buffer_limit = 10000
|
metric_buffer_limit = 1000
|
||||||
## Flush the buffer whenever full, regardless of flush_interval.
|
## Flush the buffer whenever full, regardless of flush_interval.
|
||||||
flush_buffer_when_full = true
|
flush_buffer_when_full = true
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
## Telegraf will cache metric_buffer_limit metrics for each output, and will
|
## Telegraf will cache metric_buffer_limit metrics for each output, and will
|
||||||
## flush this buffer on a successful write.
|
## flush this buffer on a successful write.
|
||||||
metric_buffer_limit = 10000
|
metric_buffer_limit = 1000
|
||||||
## Flush the buffer whenever full, regardless of flush_interval.
|
## Flush the buffer whenever full, regardless of flush_interval.
|
||||||
flush_buffer_when_full = true
|
flush_buffer_when_full = true
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ var header = `# Telegraf Configuration
|
||||||
|
|
||||||
## Telegraf will cache metric_buffer_limit metrics for each output, and will
|
## Telegraf will cache metric_buffer_limit metrics for each output, and will
|
||||||
## flush this buffer on a successful write.
|
## flush this buffer on a successful write.
|
||||||
metric_buffer_limit = 10000
|
metric_buffer_limit = 1000
|
||||||
## Flush the buffer whenever full, regardless of flush_interval.
|
## Flush the buffer whenever full, regardless of flush_interval.
|
||||||
flush_buffer_when_full = true
|
flush_buffer_when_full = true
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Default number of metrics kept between flushes.
|
// Default number of metrics kept between flushes.
|
||||||
DEFAULT_METRIC_BUFFER_LIMIT = 10000
|
DEFAULT_METRIC_BUFFER_LIMIT = 1000
|
||||||
|
|
||||||
// Limit how many full metric buffers are kept due to failed writes.
|
// Limit how many full metric buffers are kept due to failed writes.
|
||||||
FULL_METRIC_BUFFERS_LIMIT = 100
|
FULL_METRIC_BUFFERS_LIMIT = 100
|
||||||
|
|
Loading…
Reference in New Issue