Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc/metrics: Track # connected nodes supporting specific protocol #2734

Merged
merged 16 commits into from
Jul 15, 2022

Commits on Jun 28, 2022

  1. misc/metrics: Explicitly delegate event recording to each recorder

    This allows delegating a single event to multiple `Recorder`s. That enables e.g. the
    `identify::Metrics` `Recorder` to act both on `IdentifyEvent` and `SwarmEvent`. The latter enables
    it to garbage collect per peer data on disconnects.
    mxinden committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    7bb55ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9260aa2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6af02ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3c8155 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cb07db9 View commit details
    Browse the repository at this point in the history
  6. misc/metrics: Track # connected nodes supporting specific protocol

    An example metric exposed with this patch:
    
    ```
    libp2p_identify_protocols{protocol="/ipfs/ping/1.0.0"} 10
    ```
    
    This implies that 10 of the currently connected nodes support the ping protocol.
    mxinden committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    06d8ef6 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    d8d1c19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01a0a1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c308868 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a156ba4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    06b1109 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4264061 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    70076f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5cbd457 View commit details
    Browse the repository at this point in the history
  3. */CHANGELOG: Update entries

    mxinden committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    cab8fb4 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    f3adea7 View commit details
    Browse the repository at this point in the history