Skip to content

Conversation

@jjyr
Copy link

@jjyr jjyr commented Oct 15, 2025

This PR introduce a feature metrics.

Currently we record the following metrics:

  • yamux.ping_timeout
  • yamux.ping_latency

By adding ping metrics, we want to identify the following TimedOut error of fiber.

  2025-10-13T09:51:53.826342Z DEBUG tentacle::session: session poll error: Kind(TimedOut)
    at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tentacle-0.7.2/src/session.rs:970

  2025-10-13T09:51:53.826957Z DEBUG tentacle::session: MuxerError: Kind(TimedOut)
    at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tentacle-0.7.2/src/session.rs:983

@jjyr jjyr force-pushed the add-yamux-metrics branch from 9ac0b07 to 6185d90 Compare October 16, 2025 01:32
@driftluo driftluo merged commit 8f1e2e6 into nervosnetwork:master Oct 16, 2025
7 checks passed
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.

2 participants