ipfs-cluster/api
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
..
rest Make metrics human 2018-10-26 14:11:30 +02:00
add_test.go Fix tests 2018-08-09 03:42:39 +02:00
add.go Fix: escape the add query parameters correctly in the client 2018-10-19 20:19:52 +02:00
types_test.go Start cluster tests 2018-08-07 20:12:05 +02:00
types.go Make metrics human 2018-10-26 14:11:30 +02:00
util.go wip 2018-08-07 20:12:05 +02:00