:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(capture): report live queue bytes in producer queue bytes gauge (#88154)
Nick Best8e1832c1a63d
diff --git a/rust/capture/src/sinks/kafka.rs b/rust/capture/src/sinks/kafka.rsindex 4f0ff9c15f26..10449fd26002 100644--- a/rust/capture/src/sinks/kafka.rs+++ b/rust/capture/src/sinks/kafka.rs@@ -98,7 +98,7 @@ impl rdkafka::ClientContext for KafkaContext {gauge!("capture_kafka_callback_queue_depth",).set(stats.replyq as f64);gauge!("capture_kafka_producer_queue_depth",).set(stats.msg_cnt as f64);gauge!("capture_kafka_producer_queue_depth_limit",).set(stats.msg_max as f64);- gauge!("capture_kafka_producer_queue_bytes",).set(stats.msg_max as f64);+ gauge!("capture_kafka_producer_queue_bytes",).set(stats.msg_size as f64);gauge!("capture_kafka_producer_queue_bytes_limit",).set(stats.msg_size_max as f64);for (topic, stats) in stats.topics {