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

feat: add libp2p tracing metrics #166 #194

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

shobit000
Copy link

Title

Add libp2p tracing metrics to libp2p-defaults

Description

This PR integrates libp2p tracing metrics into the libp2p-defaults.ts and libp2p-defaults.browser.ts files. The tracing metrics are initialized to enhance monitoring and debugging capabilities. This change ensures that the libp2p metrics are captured without adding any server-related code.

Fixes [https://github.com//issues/166]

Changes:

  • Added trace import from @libp2p/opentelemetry-metrics.

  • Initialized tracing within getLibp2pConfig function.

Files Changed:

  • packages/verified-fetch/libp2p-defaults.ts

  • packages/verified-fetch/libp2p-defaults.browser.ts

Copy link
Member

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not solve the issue.

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