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

Rename netty always-create-connect-span property to `connection-tel… #5834

Merged

Conversation

mateuszrzeszutek
Copy link
Member

…emetry`

This should make it more uniform and similar to ssl-telemetry, controller-telemetry etc.

@mateuszrzeszutek mateuszrzeszutek requested a review from a team April 14, 2022 13:18
static {
Config config = Config.get();
boolean alwaysCreateConnectSpan =
config.getBoolean("otel.instrumentation.netty.always-create-connect-span", false);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we try to communicate to users that they are using a deprecated property? Or will we just document the deprecation in release notes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, we've probably never done that before, but that's a good idea - @open-telemetry/java-instrumentation-approvers WDYT about adding a warning log if a deprecated property is used?

@trask trask added this to the v1.13.0 milestone Apr 14, 2022
@mateuszrzeszutek mateuszrzeszutek merged commit e9fbb36 into open-telemetry:main Apr 15, 2022
@mateuszrzeszutek mateuszrzeszutek deleted the netty-property-names branch April 15, 2022 11:38
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
open-telemetry#5834)

* Rename netty `always-create-connect-span` property to `connection-telemetry`

* formatting

* warn when deprecated property is used

* errorprone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants