Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(observability): deprecate obsolete http metrics #18972

Merged
merged 9 commits into from
Nov 3, 2023
4 changes: 4 additions & 0 deletions docs/DEPRECATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ See [DEPRECATION.md](docs/DEPRECATION.md#process) for the process for updating t

## To be removed

### 0.34.0
* Support for `v1` series endpoint in the `datadog_metrics` sink should be removed.
* legacy_openssl_provider v0.34.0 OpenSSL legacy provider flag should be removed
* armv7_rpm v0.34.0 The armv7 RPM packages should be removed (replaced by armv7hl)

### 0.35.0
* `requests_completed_total`, `request_duration_seconds`, and `requests_received_total` internal metrics
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Vector's 0.34.0 release includes **breaking changes**:
1. [Removal of Deprecated `component_name` Metric Tag](#deprecated-component-name)
1. [Blackhole sink no longer reports by default](#blackhole-sink-reporting)

and **deprecations**:

1. [Deprecation of `requests_completed_total`, `request_duration_seconds`, and `requests_received_total` Internal Metrics](#deprecate-obsolete-http-metrics)

We cover them below to help you upgrade quickly:

## Upgrade guide
Expand All @@ -38,3 +42,15 @@ The deprecated `component_name` tag has been removed from all internal metrics.
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.

### Deprecations

#### Deprecation of `requests_completed_total`, `request_duration_seconds`, and `requests_received_total` Internal Metrics {#deprecate-obsolete-http-metrics}

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

| Deprecated metric | Replacement metric | Affected components |
|-----------------------------|-------------------------------------|------------------------------------------------------------------------------------------|
| requests_completed_total | http_client_responses_total | apache metrics, aws ecs metrics, http client, prometheus remote write, prometheus scrape |
| request_duration_seconds | http_client_response_rtt_seconds | apache metrics, aws ecs metrics, http client, prometheus remote write, prometheus scrape |
| requests_received_total | http_server_requests_received_total | aws kinesis firehose, heroku logplex, prometheus exporter, splunk hec |
Loading