From 1d555e97e6028533e8a5da6b09d55a0dd5889a87 Mon Sep 17 00:00:00 2001 From: asreehari-splunk <74424581+asreehari-splunk@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:51:03 -0700 Subject: [PATCH] [receiver/sapm] Deprecate SAPM receiver (#35935) Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32125 Co-authored-by: Antoine Toulme --- .chloggen/deprecate_sapmreceiver.yaml | 27 +++++++++++++++++++ receiver/sapmreceiver/README.md | 6 +++-- .../internal/metadata/generated_status.go | 2 +- receiver/sapmreceiver/metadata.yaml | 2 +- 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 .chloggen/deprecate_sapmreceiver.yaml diff --git a/.chloggen/deprecate_sapmreceiver.yaml b/.chloggen/deprecate_sapmreceiver.yaml new file mode 100644 index 000000000000..07b04f7ed8cc --- /dev/null +++ b/.chloggen/deprecate_sapmreceiver.yaml @@ -0,0 +1,27 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: deprecation + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: sapmreceiver + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Deprecate SAPM receiver + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [32125] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# If your change doesn't affect end users or the exported elements of any package, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [] diff --git a/receiver/sapmreceiver/README.md b/receiver/sapmreceiver/README.md index 0c19d2ef0399..16fb06da057d 100644 --- a/receiver/sapmreceiver/README.md +++ b/receiver/sapmreceiver/README.md @@ -3,15 +3,17 @@ | Status | | | ------------- |-----------| -| Stability | [beta]: traces | +| Stability | [deprecated]: traces | | Distributions | [contrib] | | Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Areceiver%2Fsapm%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Areceiver%2Fsapm) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Areceiver%2Fsapm%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Areceiver%2Fsapm) | | [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@atoulme](https://www.github.com/atoulme) | -[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta +[deprecated]: https://github.com/open-telemetry/opentelemetry-collector#deprecated [contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib +**The SAPM receiver is deprecated and will be removed from the repository in April 2025.** + The SAPM receiver builds on the Jaeger proto. This allows the collector to receive traces from other collectors or the SignalFx Smart Agent. SAPM proto and some useful related utilities can be found diff --git a/receiver/sapmreceiver/internal/metadata/generated_status.go b/receiver/sapmreceiver/internal/metadata/generated_status.go index cc8b6150872f..d73869d71e75 100644 --- a/receiver/sapmreceiver/internal/metadata/generated_status.go +++ b/receiver/sapmreceiver/internal/metadata/generated_status.go @@ -12,5 +12,5 @@ var ( ) const ( - TracesStability = component.StabilityLevelBeta + TracesStability = component.StabilityLevelDeprecated ) diff --git a/receiver/sapmreceiver/metadata.yaml b/receiver/sapmreceiver/metadata.yaml index 199ae9009fea..1e1c8304eb47 100644 --- a/receiver/sapmreceiver/metadata.yaml +++ b/receiver/sapmreceiver/metadata.yaml @@ -3,7 +3,7 @@ type: sapm status: class: receiver stability: - beta: [traces] + deprecated: [traces] distributions: [contrib] codeowners: active: [atoulme]