Open binarytemple opened 9 years ago
Been messing around this weekend poc_erlang_flattener. Early stages (and my Erlang is super lame), but couldn't we implement something like this that we could just fire the nested proplists
into and they come out the other side all pretty?
Just emitting the json blob that we send to the /stats endpoint would allow for python/ruby/jq to parse the data and extract useful information
Customer just +1'd using a json format from the /stats endpoint here would be very useful
It's horrrrrrrible. I mean this ugly.
A mix of Erlang syntax, and regular lines.
If it were just Erlang terms it could be copied into an Erlang console and operated on.
If it were text, like the riak.conf it could be parsed with sed, awk, etc.
But nothing can parse it, well not without writing a Lexer/Parser, gaaah!
Wouldn't it look nicer like this? :