Fix: use TelemetryConfig in init_tracer to resolve type mismatch#693
Open
smiletech092-code wants to merge 1 commit into
Open
Fix: use TelemetryConfig in init_tracer to resolve type mismatch#693smiletech092-code wants to merge 1 commit into
smiletech092-code wants to merge 1 commit into
Conversation
|
@smiletech092-code Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #541
closes #542
closes #543
closes #544
Problem
src/main.rs:189 reports expected &TracingConfig, found &TelemetryConfig during init_tracer call.
Why this matters
This currently blocks clean compilation and safe deployment workflows.
Proposed fix
Align tracer init signature and config type usage so startup compiles with telemetry enabled.
Acceptance criteria
Project compiles for the relevant target/feature set.
Startup/worker path behaves as expected under default env settings.
Add/adjust tests where practical.
Align
init_tracerto acceptTelemetryConfigfromAppConfigand remove the duplicate localTracingConfigtype. This fixes the compile-time type mismatch when telemetry is enabled.Changes:
TelemetryConfigfrom crate::config and updateinit_tracersignature.No behavioral change beyond using the centralized config type.