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

[exporter/datadog] Remove deprecated configuration features #12110

Merged
merged 11 commits into from
Jul 11, 2022

Conversation

This includes both the environment variable detection as well as
the deprecated settings.
@mx-psi mx-psi force-pushed the mx-psi/remove-deprecated-options branch from b2200c4 to f4105d2 Compare July 6, 2022 11:10
@mx-psi mx-psi marked this pull request as ready for review July 7, 2022 11:46
@mx-psi mx-psi requested a review from a team as a code owner July 7, 2022 11:46
@mx-psi mx-psi requested a review from codeboten July 7, 2022 11:46
@mx-psi mx-psi requested a review from gbbr July 7, 2022 11:56
Copy link
Member

@gbbr gbbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits, but looks good overall.

exporter/datadogexporter/config.go Show resolved Hide resolved
exporter/datadogexporter/config.go Outdated Show resolved Hide resolved
unreleased/mx-psi-remove-deprecated-options.yaml Outdated Show resolved Hide resolved
exporter/datadogexporter/config.go Outdated Show resolved Hide resolved
exporter/datadogexporter/config.go Outdated Show resolved Hide resolved
exporter/datadogexporter/config.go Outdated Show resolved Hide resolved
@mx-psi mx-psi requested a review from gbbr July 7, 2022 15:18
Copy link
Member

@gbbr gbbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Feel free to disregard the final comment since this is not new code and its an improvement never the less. I'll leave it up to you.

exporter/datadogexporter/config.go Outdated Show resolved Hide resolved
@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label Jul 11, 2022
Copy link
Member

@gbbr gbbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@mx-psi mx-psi removed the ready to merge Code review completed; ready to merge by maintainers label Jul 11, 2022
@mx-psi mx-psi merged commit c62a9a8 into open-telemetry:main Jul 11, 2022
@mx-psi mx-psi deleted the mx-psi/remove-deprecated-options branch July 11, 2022 13:42
atoulme pushed a commit to atoulme/opentelemetry-collector-contrib that referenced this pull request Jul 16, 2022
…emetry#12110)

* [exporter/datadog] Remove deprecated configuration features

This includes both the environment variable detection as well as
the deprecated settings.

* Add release note

* Revert deletion of `max_events_per_second`

This will be done in open-telemetry#12109

* Unify remaining config*.go files

* Add test cases for custom errors on renamed settings

* Add message for `metrics::instrumentation_library_metadata_as_tags`

* [exporter/datadog] Refactor code for removed settings

* Add link for `instrumentation_library_metadata_as_tags` removal

This one is to the PR, since we don't have a dedicated issue

* Address feedback
ag-ramachandran referenced this pull request in ag-ramachandran/opentelemetry-collector-contrib Sep 15, 2022
* [exporter/datadog] Remove deprecated configuration features

This includes both the environment variable detection as well as
the deprecated settings.

* Add release note

* Revert deletion of `max_events_per_second`

This will be done in #12109

* Unify remaining config*.go files

* Add test cases for custom errors on renamed settings

* Add message for `metrics::instrumentation_library_metadata_as_tags`

* [exporter/datadog] Refactor code for removed settings

* Add link for `instrumentation_library_metadata_as_tags` removal

This one is to the PR, since we don't have a dedicated issue

* Address feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants