From 0e3abee91eed9dd4bf640d39a1ee6cdd4a04ffa3 Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Mon, 10 Apr 2023 02:57:42 -0700 Subject: [PATCH] [receiver/dotnetdiagnostics] add deprecation notice (#20740) * [receiver/dotnetdiagnostics] add deprecation notice This component was removed from the distribution after being unmaintained for some time. Signed-off-by: Alex Boten * add changelog Signed-off-by: Alex Boten --------- Signed-off-by: Alex Boten --- .chloggen/codeboten_deprecate-component.yaml | 16 ++++++++++++++++ receiver/dotnetdiagnosticsreceiver/README.md | 4 ++-- receiver/dotnetdiagnosticsreceiver/factory.go | 2 +- receiver/dotnetdiagnosticsreceiver/go.mod | 1 + 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100755 .chloggen/codeboten_deprecate-component.yaml diff --git a/.chloggen/codeboten_deprecate-component.yaml b/.chloggen/codeboten_deprecate-component.yaml new file mode 100755 index 000000000000..952014d71eda --- /dev/null +++ b/.chloggen/codeboten_deprecate-component.yaml @@ -0,0 +1,16 @@ +# 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: dotnetdiagnosticsreceiver + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: add deprecation notice + +# One or more tracking issues related to the change +issues: [20740] + +# (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: diff --git a/receiver/dotnetdiagnosticsreceiver/README.md b/receiver/dotnetdiagnosticsreceiver/README.md index 0aa2beb6ce55..b40aca77101c 100644 --- a/receiver/dotnetdiagnosticsreceiver/README.md +++ b/receiver/dotnetdiagnosticsreceiver/README.md @@ -2,7 +2,7 @@ | Status | | | ------------------------ |----------------| -| Stability | [unmaintained] | +| Stability | [deprecated] | | Supported pipeline types | metrics | | Distributions | [contrib] | @@ -112,5 +112,5 @@ https://github.com/dotnet/diagnostics/blob/master/documentation/design-docs/ipc- https://github.com/Microsoft/perfview/blob/main/src/TraceEvent/EventPipe/EventPipeFormat.md -[unmaintained]: https://github.com/open-telemetry/opentelemetry-collector#unmaintained +[deprecated]: https://github.com/open-telemetry/opentelemetry-collector#deprecated [contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib diff --git a/receiver/dotnetdiagnosticsreceiver/factory.go b/receiver/dotnetdiagnosticsreceiver/factory.go index 33e4d9c4ca60..52da4cb9da53 100644 --- a/receiver/dotnetdiagnosticsreceiver/factory.go +++ b/receiver/dotnetdiagnosticsreceiver/factory.go @@ -32,7 +32,7 @@ import ( const ( typeStr = "dotnet_diagnostics" - stability = component.StabilityLevelAlpha + stability = component.StabilityLevelDeprecated ) func NewFactory() rcvr.Factory { diff --git a/receiver/dotnetdiagnosticsreceiver/go.mod b/receiver/dotnetdiagnosticsreceiver/go.mod index f02574381d15..f3eab2b581fe 100644 --- a/receiver/dotnetdiagnosticsreceiver/go.mod +++ b/receiver/dotnetdiagnosticsreceiver/go.mod @@ -1,3 +1,4 @@ +// Deprecated: dotnetdiagnostics exporter is deprecated. module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver go 1.19