kgiusti / ombt

oslo messaging benchmarking tool
Apache License 2.0
3 stars 5 forks source link

Output from ombt2 in machine readable format, like JSON #32

Open fgiorgetti opened 6 years ago

fgiorgetti commented 6 years ago

It would be nice if ombt2 could output in a machine readable format, like JSON.

msimonin commented 6 years ago

That's maybe not exactly what you want, but there's an option --output that can be passed to the agents. I'm using mostly the controller one : https://github.com/kgiusti/ombt/blob/879faa754ed2bde605d3f11057030db7ea3f9d58/ombt/_main.py#L344

For the controller, this output 2 lines (each in JSON format) with the non aggregated results for the clients (first line) and the servers (second line). The format is questionnable, but this is what I rely on so far.