Tracing - #21
Merged
Merged
Conversation
- Add src/observability.rs: init_tracing() wires tracing-log bridge, optional OTLP/gRPC exporter (disabled when OTEL_EXPORTER_OTLP_ENDPOINT is unset), and console fmt layer; replaces pretty_env_logger - Instrument inline_handler, cmd_loc_handler, resolve_locations, SearchChain::find, and all loc finders (Google, OSM, Yandex) with #[tracing::instrument]; replace log:: with tracing:: throughout - Add OtelAxumLayer + OtelInResponseLayer to axum router in both webhook and polling branches - Add otel test helper and two span tests: creates_span and hierarchy - Passthrough OTEL_EXPORTER_OTLP_ENDPOINT in docker-compose.yaml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
# Conflicts: # Cargo.lock
tracing_subscriber's try_init() already initializes the log bridge internally via its built-in tracing-log feature, making the explicit LogTracer::init() call a double-init that fails on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Owner
Author
|
@claude, review this PR, please |
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.
No description provided.