Skip to content

Distributed Direct Publish Telemetry#117

Open
patrickleet wants to merge 1 commit into
mainfrom
tasks--distributed-direct-publish-telemetry-1
Open

Distributed Direct Publish Telemetry#117
patrickleet wants to merge 1 commit into
mainfrom
tasks--distributed-direct-publish-telemetry-1

Conversation

@patrickleet

Copy link
Copy Markdown
Collaborator

Summary

  • Adds bounded direct publish metrics and distributed.transport.publish spans for built-in bus publishers.
  • Suppresses duplicate direct publish metrics for outbox-dispatched sends while keeping outbox metrics separate.
  • Updates metrics, observability, and transport docs plus exposition/OTLP coverage.

Verification

  • git diff --check
  • cargo test --features "http metrics" --test metrics_exposition
  • cargo test --features "http otel" --test otel_export
  • cargo test
  • cargo test --features metrics
  • cargo check --all-targets --features "metrics http otel postgres sqlite nats rabbitmq kafka"

Implements [[tasks/distributed-direct-publish-telemetry-1]]

Implements [[tasks/distributed-direct-publish-telemetry-1]]
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@patrickleet, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d5a00295-915e-4496-abff-4f0b9bd86c97

📥 Commits

Reviewing files that changed from the base of the PR and between 84a72f1 and a18a602.

📒 Files selected for processing (17)
  • docs/metrics.md
  • docs/observability.md
  • docs/transports.md
  • src/bus/bus.rs
  • src/bus/in_memory_bus.rs
  • src/bus/kafka_bus.rs
  • src/bus/knative_bus.rs
  • src/bus/mod.rs
  • src/bus/nats_bus.rs
  • src/bus/producer_telemetry.rs
  • src/bus/rabbitmq_bus.rs
  • src/bus/sql_bus_common.rs
  • src/metrics.rs
  • src/outbox_worker/bus_publisher.rs
  • src/telemetry.rs
  • tests/metrics_exposition/main.rs
  • tests/otel_export/main.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tasks--distributed-direct-publish-telemetry-1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant