You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When input plugins runs in threaded mode, they use a ring buffer to communicate with
the engine. This patch adds new metrics to track the behavior of the input ring buffer,
enabling better observability and troubleshooting in high-load or threaded environments.
The following counters are now registered per input instance:
- fluentbit_input_ring_buffer_writes_total: Number of successful ring buffer writes
- fluentbit_input_ring_buffer_retries_total: Number of retry attempts due to saturation
- fluentbit_input_ring_buffer_retry_failures_total: Number of failed retries (after limit hit)
Example from Prometheus endpoint:
# HELP fluentbit_input_ring_buffer_writes_total Number of ring buffer writes.
# TYPE fluentbit_input_ring_buffer_writes_total counter
fluentbit_input_ring_buffer_writes_total{name="syslog.0"} 15000
# HELP fluentbit_input_ring_buffer_retries_total Number of ring buffer retries.
# TYPE fluentbit_input_ring_buffer_retries_total counter
fluentbit_input_ring_buffer_retries_total{name="syslog.0"} 820
# HELP fluentbit_input_ring_buffer_retry_failures_total Number of ring buffer retry failures.
# TYPE fluentbit_input_ring_buffer_retry_failures_total counter
fluentbit_input_ring_buffer_retry_failures_total{name="syslog.0"} 5
Signed-off-by: Eduardo Silva <[email protected]>
0 commit comments