constnode = awaitcreateLibp2p({ metrics:inspectorMetrics(), //... other options her })
2. Install the inspector
$ npm i -g @ipshipyard/libp2p-inspector
3. Run
$ libp2p-inspector
Local libp2p nodes running the @ipshipyard/libp2p-inspector-metrics metrics
implementation will advertise themselves via MDNS and should appear in the
app.
An electron app that bundles @ipshipyard/libp2p-inspector-ui for use with libp2p nodes running under Node.js or (eventually) in browsers.
Installation instructions
1. libp2p configuration
Configure
@ipshipyard/libp2p-inspector-metrics
as your metrics implementation:2. Install the inspector
3. Run
Local libp2p nodes running the
@ipshipyard/libp2p-inspector-metrics
metrics implementation will advertise themselves via MDNS and should appear in the app.