Skip to content

Conversation

@conomist
Copy link

move OtlpConfig behind #[cfg(feature = "otlp")] so it only compiles when the feature is enabled
silence the unused layers parameter for builds without otlp by explicitly binding it under the same cfg guard
keeps the tracing logic untouched when the feature is on while removing noise for minimal builds

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

can this also feature gate the deps entirely?

Comment on lines 7 to 8
#[cfg(feature = "otlp")]
use reth_tracing_otlp::OtlpConfig;
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be replaced with full path imports

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Nov 29, 2025
@conomist conomist requested a review from mattsse November 29, 2025 10:56
Copy link
Author

@conomist conomist left a comment

Choose a reason for hiding this comment

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

work has done according your comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants