Enhancements
- Added the
cpu_sustain_samplesoption (default3) to thepcg_backpressureprocessor. CPU backpressure now engages after that many consecutive checks abovecpu_threshold, and a check at or below the threshold resets the count. Previously, CPU backpressure waited forstartup_grace_periodto end, which allowed a restarted pod under heavy load to be terminated by its liveness probe before backpressure engaged.startup_grace_periodnow applies only to memory and queue depth. Gateway configurations that setpcg_backpressure: {}receive the default value. - Updated the
pcg_backpressure_activemetric to report a value of0or1for every reason (cpu,memory,queue_depth) on each collection, making an idle processor distinguishable from one that isn't running or not being scraped.
Bug fixes
- Fixed an issue where the Iceberg exporter, after a pod received no data for several minutes, wrote new attributes in the next batch only to the
attributescolumn instead of creating typed columns. The exporter now refreshes its schema cache before writing the batch so new attributes receive typed columns on the first batch. - Fixed an issue where, while backpressure was engaged, the
pcg_backpressureprocessor caused OTLP/HTTP receivers to respond with HTTP 200 and drop the batch, causing clients to treat the data as accepted. The receiver now returns a retryable error (HTTP 503 for OTLP/HTTP,Unavailablefor gRPC), and theotelcol_receiver_refused_*metrics count these rejections. The New Relic proprietary receiver behavior remains unchanged.
Removed metrics
- Removed the
pcg_backpressure_rejected_bytes_totalandpcg_backpressure_data_dropped_totalmetrics. They were declared but never reported a value.