· rangkumin.tech

Vector 0.62.0 removes deprecated metrics and stops reporting a zero sum for histograms that lack one

Vector released version 0.62.0 on November 16 with 40 changes from 18 contributors, including six breaking changes that remove deprecated metrics and stop fabricating a zero sum for histograms that do not report one.

Why it matters

The histogram change follows OTLP, which makes the sum optional, and OpenMetrics, which only recommends the series. Sources can now produce histograms without a sum, and downstream components omit it instead of writing zero: the Prometheus exporter and remote write sinks skip the sum series, the InfluxDB sink drops the field and the GreptimeDB sink drops the column.

A Lua transform sees a missing sum as nil rather than a number, so custom transforms that assumed a value need checking. The release also removes the deprecated metrics cardinality counter, legacy buffer maximum-size gauges and the process runtime counter, all of which had replacements in earlier versions.

Two further breaks land on operators. The MongoDB metrics source now requires MongoDB 4.4 or newer after a driver upgrade, so connections to 4.2 servers fail, and configuration files are parsed before environment variables and secret references are substituted. The release notes recommend stepping through minor versions when upgrading because of the breaking changes.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.