libp2p / libp2p/py-libp2p

Advanced Metrics module for py-libp2p

Open
#1,090 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
624
Forks
256
Avg merge
1d 34m
Merged PRs (30d)
47

Description

### Description

To add a advanced Metrics module to py-libp2p using `open-telemetry` similiar to the [js-libp2p metrics module](https://github.com/libp2p/js-libp2p/tree/main/packages/metrics-opentelemetry/src)

### Motivation

The metrics module along with a resource manager provides a proper UI to analyse and check the connections and streams going on in the libp2p module and in various graph forms and it is also useful to provide a summary about them

### Current Implementation

currently not implemented .

### Are you planning to do it yourself in a pull request ?

Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked js-libp2p metrics-opentelemetry module and the existing py-libp2p structure; no Python entry point or test is named in the issue. Clarify the intended OpenTelemetry metrics, resource-manager integration, and UI-facing summary before implementation. Done means an agreed metrics module exists for py-libp2p and its behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.