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

Remove deprecated fields from OTel ResolverSettings #4803

Conversation

andrzej-stencel
Copy link
Contributor

@andrzej-stencel andrzej-stencel commented May 23, 2024

What does this PR do?

Replaces the deprecated Providers and Converters fields of ResolverSettings struct with ProviderFactories and ConverterFactories.

The fields were deprecated in OTel v0.99.0 (PR: open-telemetry/opentelemetry-collector#9516) and removed in v0.101.0.

Why is it important?

This refactoring is required before updating to OTel v0.101.0.

Checklist

  • My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

The `Providers` and `Converters` fields of `ResolverSettings` struct
were deprecated in [v0.99.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.99.0) (open-telemetry/opentelemetry-collector#9516)
and removed in [v0.101.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.101.0).
This refactoring is required before updating to OTel v0.101.0.
Copy link
Contributor

mergify bot commented May 23, 2024

This pull request does not have a backport label. Could you fix it @andrzej-stencel? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@ycombinator ycombinator requested review from ChrsMark and michel-laterman and removed request for michalpristas and leehinman May 24, 2024 15:31
Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

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

lgtm

@andrzej-stencel andrzej-stencel merged commit cb7e377 into elastic:main May 29, 2024
14 checks passed
@andrzej-stencel andrzej-stencel deleted the remove-deprecated-resolversettings-fields branch May 29, 2024 10:28
michalpristas pushed a commit that referenced this pull request Jun 21, 2024
The `Providers` and `Converters` fields of `ResolverSettings` struct
were deprecated in [v0.99.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.99.0) (open-telemetry/opentelemetry-collector#9516)
and removed in [v0.101.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.101.0).
This refactoring is required before updating to OTel v0.101.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants