Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

@libp2p/interface-metrics-v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Nov 17:35
· 438 commits to master since this release

@libp2p/interface-metrics-v4.0.0 (2022-11-05)

⚠ BREAKING CHANGES

  • the global/per-peer moving average tracking has been removed from the interface as it's expensive and requires lots of timers - this functionality can be replicated by implementations if it's desirable. It's better to have simple counters instead and let an external system like Prometheus or Graphana calculate the values over time

Features

  • return metrics objects from register instead of updating with an options object (#310) (3b106ce)