robusta
robusta copied to clipboard
Feature Request: Add JSON logging to Robusta Runner
We use Kibana for logs and use structured JSON logs where possible.
It would be great if the runner
could be configured to emit JSON logs.
H, Tomer from the Robusta team here, we looked into it and have a proposed solution. Writing it down here so it is visible for contributors.
- Json logging should be done via the https://github.com/madzak/python-json-logger library
- Json logging should be optional. The user should opt-in for json logging by setting a variable to his generated_values.yaml file: json_logging: true
@Sheeproid sounds good to me!
@Sheeproid I would love work on this issue Can you assign it to me
@pavangudiwada did you already create a POC for this?
@aantn Yep, here's the code https://github.com/robusta-dev/robusta/commit/3e35fb1c44fe200b450b726bd970b8cc6b7215dc. Just need some tweaking and testing.
@pavangudiwada Could you guide me on what needs to be done on my end so that I may begin?
@itsCheithanya I might get to this in the next week or sooner. Happy to help if you have other issues that interest you.
I would love to work on any of good first issues
@pavangudiwada any progress on that?