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

[datadogconnector] Add contrib to list of distributions #27243

Merged
merged 3 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion connector/datadogconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
<!-- status autogenerated section -->
| Status | |
| ------------- |-----------|
| Distributions | [] |
| Distributions | [contrib] |
| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Aconnector%2Fdatadog%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aconnector%2Fdatadog) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Aconnector%2Fdatadog%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Aconnector%2Fdatadog) |
| [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@mx-psi](https://www.github.com/mx-psi), [@gbbr](https://www.github.com/gbbr), [@dineshg13](https://www.github.com/dineshg13) |

[alpha]: https://github.com/open-telemetry/opentelemetry-collector#alpha
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib

## Supported Pipeline Types

Expand Down
2 changes: 1 addition & 1 deletion connector/datadogconnector/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status:
class: connector
stability:
alpha: [traces_to_metrics]
distributions: []
distributions: [contrib]
codeowners:
active: [mx-psi, gbbr, dineshg13]
4 changes: 4 additions & 0 deletions processor/datadogprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
<!-- end autogenerated section -->

## Deprecated in favor of datadogconnector

The `datadogprocessor` has been deprecated in favor of the `datadogconnector`. Please refer to the [following docs](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/connector/datadogconnector/README.md#usage) in order to update to the `datadogconnector`.

## Description


Expand Down
8 changes: 7 additions & 1 deletion processor/datadogprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ func newProcessor(ctx context.Context, logger *zap.Logger, config component.Conf
if err != nil {
return nil, err
}
logger.Warn("This component is deprecated in favor of the Datadog connector")
logger.Warn(
"The datadogprocessor has been deprecated in favor of the datadogconnector",
zap.String(
"documentation",
"https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/datadogprocessor/README.md#deprecated-in-favor-of-datadogconnector",
),
)
return &datadogProcessor{
logger: logger,
nextConsumer: nextConsumer,
Expand Down