개발이야기
telegraf 에러 Metric buffer overflow; 3645 metrics have been dropped
AndersonChoi
2021. 4. 22. 14:08
Metric buffer overflow; 3645 metrics have been dropped
상기와 같이 오류가 나는 이유는 telegraf agent 내부에서 사용하는 버퍼가 모두 찼기 때문입니다. 아래와 같이 buffer를 늘려서 대응할 수 있습니다.
[agent]
metric_buffer_limit = 10000
관련정보
metric_buffer_limit: Maximum number of unwritten metrics per output. Increasing this value allows for longer periods of output downtime without dropping metrics at the cost of higher maximum memory usage.
github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md
influxdata/telegraf
The plugin-driven server agent for collecting & reporting metrics. - influxdata/telegraf
github.com
반응형