ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
812 stars 81 forks source link

feat: add metrics property to helia interface #512

Closed achingbrain closed 2 months ago

achingbrain commented 2 months ago

To allow collecting metrics about arbitrary parts of the Helia stack, add an optional .metrics property for stat collection.

This can be used with implementations such as @libp2p/prometheus-metrics and/or others.

Change checklist