This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Deploying js-ipfs to the Galaxy #804
Closed
Description
Similar to go-ipfs, we want to run some js-ipfs nodes and monitor their behaviour. From a quick chat with @lgierth on IRC, here are some notes:
14:48 <@lgierth> daviddias: about running js-ipfs, would be best if we can have a dockerfile, and metrics exposed at :5001/debug/metrics/prometheus
14:49 <@lgierth> like, number of peers and such stuff
14:49 <@lgierth> datastore stats
14:50 <@daviddias> lgierth: thanks, that is what I needed to know :)
14:50 <@daviddias> will let you know once we have metrics exposed, right now we have none
14:52 <@lgierth> memory/cpu usage and gc timings are welcome too but can at least mem/cpu can be pulled out of docker too
14:53 <@lgierth> relays?
15:00 <@daviddias> lgierth: is there a format that you expect coming from it?
15:06 <@lgierth> yeah prometheus text format
15:06 <@lgierth> let me see
15:07 <@lgierth> https://prometheus.io/docs/instrumenting/writing_exporters/
15:07 <@lgierth> or https://github.com/siimon/prom-client if it lgty