ipfs-cluster/cmd/ipfs-cluster-ctl
Hector Sanjuan 19b1124999 Make metrics human
Issue #572 exposes metrics but they carry the peer ID in binary.

This was ok with our internal codecs but it doesn't seem to work
very well with json, and makes the output format unusable.

This makes the Metric.Peer field a string.

Additinoally, fixes calling the command without arguments and displaying
the date in the right format.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-26 14:11:30 +02:00
..
dist Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/ 2018-09-27 20:56:09 +02:00
formatters.go Make metrics human 2018-10-26 14:11:30 +02:00
graph_test.go Fix changed peer ID String() output. 2018-10-17 14:08:56 +02:00
graph.go Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/ 2018-09-27 20:56:09 +02:00
main.go Make metrics human 2018-10-26 14:11:30 +02:00
Makefile Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/ 2018-09-27 20:56:09 +02:00