From 0b7764f8d03f931a3741d6961e396f9a7fa15686 Mon Sep 17 00:00:00 2001 From: Doug Smith Date: Fri, 3 Nov 2023 13:36:15 -0400 Subject: [PATCH] chore(observability): deprecate obsolete http metrics (#18972) * OPW-94 deprecate obsolete http metrics * feedback * feedback * fmt * Update DEPRECATIONS.md --- docs/DEPRECATIONS.md | 1 + .../highlights/2023-11-07-0-34-0-upgrade-guide.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/docs/DEPRECATIONS.md b/docs/DEPRECATIONS.md index 348508312f8f0..b2e1faedd6996 100644 --- a/docs/DEPRECATIONS.md +++ b/docs/DEPRECATIONS.md @@ -19,3 +19,4 @@ For example: ## To be removed - datadog_v1_metrics v0.35.0 Support for `v1` series endpoint in the `datadog_metrics` sink should be removed. +- http_internal_metrics v0.35.0 `requests_completed_total`, `request_duration_seconds`, and `requests_received_total` internal metrics should be removed. diff --git a/website/content/en/highlights/2023-11-07-0-34-0-upgrade-guide.md b/website/content/en/highlights/2023-11-07-0-34-0-upgrade-guide.md index 0b1fe0e5011d6..d1b4076157832 100644 --- a/website/content/en/highlights/2023-11-07-0-34-0-upgrade-guide.md +++ b/website/content/en/highlights/2023-11-07-0-34-0-upgrade-guide.md @@ -18,6 +18,9 @@ Vector's 0.34.0 release includes **breaking changes**: 1. [Blackhole sink no longer reports by default](#blackhole-sink-reporting) 1. [Remove direct OpenSSL legacy provider support](#openssl-legacy-provider) +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: @@ -101,3 +104,15 @@ 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](/docs/reference/configuration/tls) + +### 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 |