0.34 Upgrade Guide

An upgrade guide that addresses breaking changes in 0.34.0

Vector’s 0.34.0 release includes breaking changes:

  1. Removal of Deprecated Datadog Component Config Options
  2. Removal of Deprecated component_name Metric Tag
  3. Removal of Deprecated Metrics Replaced by component_errors_total
  4. Removal of peer_addr Metric Tag
  5. Blackhole sink no longer reports by default
  6. Remove direct OpenSSL legacy provider support
  7. Removal of the deprecated armv7 rpm package
  8. Default config location change

and deprecations:

  1. Deprecation of requests_completed_total, request_duration_seconds, and requests_received_total Internal Metrics
  2. Deprecation of repositories.timber.io package repositories

We cover them below to help you upgrade quickly:

Upgrade guide

Breaking changes

Removal of Deprecated Datadog Component Config Options

The region config option has been removed from the Datadog Events, Logs, and Metrics sinks. Instead the site option should be used.

The region and application_key config options have been removed from the Enterprise configuration. Instead of region, site should be used. application_key is no longer required.

Removal of Deprecated component_name Metric Tag

The deprecated component_name tag has been removed from all internal metrics. Instead, the component_id tag should be used.

Removal of Deprecated Metrics Replaced by component_errors_total

The following deprecated internal metrics have been removed. The component_errors_total metric should be used instead.

Metric NameComponents
parse_errors_totalapache metrics, dnstap, eventstoredb, http server, mongodb, nginx, prometheus
http_request_errors_totalapache metrics, aws ecs metrics, eventstoredb, http client, nginx, splunk hec
http_error_response_totalaws ecs metrics, http client
request_read_errors_totalaws kinesis firehose, heroku logplex
request_automatic_decode_errors_totalaws kinesis firehose
sqs_message_processing_failed_totalaws sqs
sqs_message_delete_failed_totalaws sqs
sqs_message_delete_batch_failed_totalaws sqs
sqs_message_receive_failed_totalaws sqs
sqs_message_delete_failed_totalaws sqs
decoder_framing_errors_totalcodecs
decoder_deserialize_errors_totalcodecs
encoder_framing_errors_totalcodecs
encoder_serialize_errors_totalcodecs
communication_errors_totaldocker
timestamp_parse_errors_totaldocker
logging_driver_errors_totaldocker
fingerprint_read_errors_totalfile
file_delete_errors_totalfile
file_watch_errors_totalfile
checkpoint_write_errors_totalfile
glob_errors_totalfile
decode_errors_totalfile
http_bad_requests_totalhttp server
invalid_record_totaljournald
invalid_record_bytes_totaljournald
consumer_offset_updates_failed_totalkafka
kafka_header_extraction_failures_totalkafka
k8s_event_annotation_failures_totalk8s
requests_received_totalheroku logplex
request_errors_totalmongodb, postgresql
reload_errors_totalreload
config_load_errors_totalreload
recover_errors_totalreload
encode_errors_totalsematext
connection_errors_totalsocket, tcp, unix
connection_failed_totaltcp, udp, unix
connection_send_ack_errors_totaltcp
windows_service_does_not_exist_totalwindows

Removal of peer_addr Metric Tag

The peer_addr tag has been removed from the component_received_bytes_total internal metric for TCP-based sources due to its unbounded cardinality.

Blackhole sink no longer reports by default

The blackhole sink no longer reports events processed every second by default. Instead this behavior can be opted into by setting print_interval_secs to 1 (or any other integer). This change was made due to users being surprised that this sink generates output by default.

Remove direct OpenSSL legacy provider support

In this release, we drop support for enabling the OpenSSL legacy provider via --openssl-legacy-provider (and its environment variable: VECTOR_OPENSSL_LEGACY_PROVIDER). This flag was deprecated in v0.33.0.

The legacy OpenSSL provider (and other providers than the default provider) can still be enabled if desired through options in OpenSSL’s configuration

Removal of the deprecated armv7 rpm package

The deprecated name of the armv7 RPM package, vector-<version>-1.armv7.rpm, is no longer published. Instead, it is published as vector-<version>-1.armv7hl.rpm to better follow RPM guidelines. If you are using yum to install the RPM, this change should be transparent.

Default config location change

The default config location is now /etc/vector/vector.yaml rather than /etc/vector/vector.toml. This is part of the migration to YAML as Vector’s preferred configuration language (though TOML and JSON will still be supported for the forseeable future). If you need Vector to load /etc/vector/vector.toml you must now specify --config /etc/vector/vector.toml or VECTOR_CONFIG=/etc/vector/vector.toml

See the associated release highlight from v0.33.0 for more details on the motivation for migrating from TOML to YAML as the default configuration language.

Deprecations

Deprecation of requests_completed_total, request_duration_seconds, and requests_received_total Internal Metrics

The requests_completed_total, request_duration_seconds, and requests_received_total internal metrics are removed in the 0.35.0 release.

Deprecated metricReplacement metricAffected components
requests_completed_totalhttp_client_responses_totalapache metrics, aws ecs metrics, http client, prometheus remote write, prometheus scrape
request_duration_secondshttp_client_response_rtt_secondsapache metrics, aws ecs metrics, http client, prometheus remote write, prometheus scrape
requests_received_totalhttp_server_requests_received_totalaws kinesis firehose, heroku logplex, prometheus exporter, splunk hec

Deprecation of repositories.timber.io package repositories

Starting with the v0.34.0 release, we are starting our migration of OS package hosting from repositories.timber.io to apt.vector.dev and yum.vector.dev. This is the last point release that will be published to repositories.timber.io (any v0.34.x patch releases will still be published). The repositories at repositories.timber.io will be decommissioned on February 28th, 2024. Please see the release highlight for details about this change and instructions on how to migrate.