-
Notifications
You must be signed in to change notification settings - Fork 4
refactor(portmapper)!: non-global metrics collection #20
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
base: main
Are you sure you want to change the base?
Conversation
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/net-tools/pr/20/docs/net_tools/ Last updated: 2025-05-02T08:44:03Z |
portmapper/Cargo.toml
Outdated
@@ -22,7 +22,7 @@ derive_more = { version = "1.0.0", features = ["debug", "display", "from", "try_ | |||
futures-lite = "2.5" | |||
futures-util = "0.3.25" | |||
igd-next = { version = "0.15.1", features = ["aio_tokio"] } | |||
iroh-metrics = { version = "0.32", default-features = false } | |||
iroh-metrics = { git = "https://github.com/n0-computer/iroh-metrics", branch = "main" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is released now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
Description
Needed for n0-computer/iroh#3262
Updates
iroh-metrics
to 0.34, and makes the metrics collection non-global. Metrics are now collected per portmapper service.Breaking Changes
portmapper::metrics::Metrics
now implementsMetricsGroup
from[email protected]
, and no longer implementsMetric
from[email protected]
.Notes & open questions
Change checklist