View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005650||GNUnet||statistics service||public||2019-03-16 17:55||2019-10-10 22:46|
|Target Version||Fixed in Version|
|Summary||0005650: Metrics collected by statistics lack canonical identifiers|
|Description||$ gnunet-statistics -s nse|
nse # flood messages received: 13
nse # peers connected: 4
nse # nodes in the network (estimate): 203
nse # flood messages started: 5
nse # estimated network diameter: 3
nse # flood messages transmitted: 10
With such verbose keys there's no easy way to form compact JSON document or entries for time-series database.
And you can't query single stats without having to copypaste the line exactly and put in quotes:
$ gnunet-statistics -s nse -n "# nodes in the network (estimate)"
gnunet-statistics -s nse -n network.nodes
|Tags||No tags attached.|
||This is a good point. Any change will likely result in touching a lot of code, though, so we should work out a reasonable way to do this.|
The process can be gradual, at the expense of having to duplicate metrics, if the services would do the same operation for both "fully readable" and "compact" keys.
Maybe it can even be configured and/or CPPd out of the code.