Skip to content

Tracing - #21

Merged
kozalosev merged 3 commits into
release/0.4.0from
tracing
Mar 23, 2026
Merged

Tracing#21
kozalosev merged 3 commits into
release/0.4.0from
tracing

Conversation

@kozalosev

Copy link
Copy Markdown
Owner

No description provided.

kozalosev and others added 3 commits March 18, 2026 14:34
- 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>
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>
@kozalosev kozalosev added the enhancement New feature or request label Mar 23, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@kozalosev

Copy link
Copy Markdown
Owner Author

@claude, review this PR, please

@kozalosev
kozalosev merged commit b2e0257 into release/0.4.0 Mar 23, 2026
2 checks passed
@kozalosev
kozalosev deleted the tracing branch March 23, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant