This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Browser support #33
Comments
The underlying library which this extends i.e. prom-client utilizes node's worker threads and aggregates them from the global registry, so this library is merely an extension of that with some exposed methods to make it easier to collect libp2p specific metrics as well. There are a few alternatives for your use case:
But I don't think extending this library would be the easiest way to achieve your goal. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Is there any way of running this lib in a browser? I see that it requires node for some of the metrics it captures (ex. memory usage), but is there a way to indicate that those should be skipped and to only extract the lib2p2 metrics?
Thanks!
The text was updated successfully, but these errors were encountered: