v0.49.0

vectordotdev/vectorv0.49.0Aug 12, 2025by github-actions[bot]

AI Summary

Release introducing WebSocket source, templating support, and metrics improvements.

Key Highlights

  • New WebSocket source
  • Templating support for http sink configuration
  • Watch-config enhancement for enrichment tables
  • TTL-based cache for metrics
  • Race condition fix for buffer metrics

Breaking Changes

  • Several VRL functions have breaking changes

New Features

  • WebSocket source for real-time data ingestion
  • Templating for http sink uri and request.headers
  • Watch-config flag now watches enrichment table files
  • TTL-based cache for metrics sets
  • expire_metrics_secs config option for prometheus_remote_write
  • Race condition fix for vector_buffer_byte_size and vector_buffer_events gauges

Full Release Notes

Datadog's Community Open Source team is excited to announce version 0.49.0 ๐Ÿš€ 

Here are some of the highlights from this release:

- A `websocket` source has been introduced. A WebSocket source in Vector enables ingestion of real-time data from services that expose WebSocket APIs.
- The http sinkโ€™s `uri` and `request.headers config` fields now support templating, allowing dynamic construction based on event data.
- The `--watch-config` flag now also watches for changes in enrichment table files.
- Added a TTL-based cache for metrics sets and also an `expire_metrics_secs` config option for the  `prometheus_remote_write` sink. This fixes an issue where incremental metrics are preserved for the lifetime of Vector's runtime causing indefinite memory growth.
- Fixed a race condition that could cause negative values in the `vector_buffer_byte_size` and `vector_buffer_events` gauges.

A few VRL functions include breaking changes. Please refer to [the upgrade guide](https://vector.dev/highlights/2025-08-12-0-49-0-upgrade-guide/) for more details.

This release contains several more enhancements and bug fixes. View the full changelog here:
๐Ÿ‘‰ https://vector.dev/releases/0.49.0/