Skip to content

Commit

Permalink
[receiver/dotnetdiagnostics] add deprecation notice (#20740)
Browse files Browse the repository at this point in the history
* [receiver/dotnetdiagnostics] add deprecation notice

This component was removed from the distribution after being unmaintained for some time.

Signed-off-by: Alex Boten <[email protected]>

* add changelog

Signed-off-by: Alex Boten <[email protected]>

---------

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten authored Apr 10, 2023
1 parent ec8176d commit 0e3abee
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .chloggen/codeboten_deprecate-component.yaml
Original file line number Diff line number Diff line change
@@ -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:
4 changes: 2 additions & 2 deletions receiver/dotnetdiagnosticsreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| Status | |
| ------------------------ |----------------|
| Stability | [unmaintained] |
| Stability | [deprecated] |
| Supported pipeline types | metrics |
| Distributions | [contrib] |

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion receiver/dotnetdiagnosticsreceiver/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

const (
typeStr = "dotnet_diagnostics"
stability = component.StabilityLevelAlpha
stability = component.StabilityLevelDeprecated
)

func NewFactory() rcvr.Factory {
Expand Down
1 change: 1 addition & 0 deletions receiver/dotnetdiagnosticsreceiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Deprecated: dotnetdiagnostics exporter is deprecated.
module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver

go 1.19
Expand Down

0 comments on commit 0e3abee

Please sign in to comment.