sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.03k stars 174 forks source link

[EPIC] Audit & improve sensu-backend logging #4701

Open calebhailey opened 2 years ago

calebhailey commented 2 years ago

Description

Sensu backend log output can be cumbersome for some users – especially so when embedded etcd is enabled. We need to audit/review/update/move (to different log levels) various log output from the sensu-backend.

Goals

Proposal

TBD

Spec

Coming soon.

Possible inspiration:

Issues

portertech commented 2 years ago

Quick'n dirty thoughts:

Every time I need to debug a pipeline (and it's resources), I need to see the raw event input which forces me to use the debug log level (extremely verbose). When a cluster is under significant load, debug logging is too costly (negatively impacts backend performance), I am forced to create a separate pipeline with a cat handler to get enough context. Many log events reference an event_id, this is fine when the event has been persisted (has a check), however, there is no record (without debug logging) of events that only contain metrics.

fguimond commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @amdprophet @c-kruse @ccressent @echlebek

c-kruse commented 2 years ago

@fguimond I'm a little confused about what we are meant to be estimating here. Everything in the epic?

fguimond commented 2 years ago

@c-kruse - Don't worry about it I must have selected it by accident.

asachs01 commented 2 years ago

Need to add https://github.com/sensu/sensu-go/issues/4842 to this as well

calebhailey commented 2 years ago

Hey, we completed an issue from this epic in 6.8.0! That's progress! 🙌

I will roll this EPIC to 6.9.0 now and aim to complete at least one more issue in that milestone.

asachs01 commented 2 years ago

@fguimond we need to add https://github.com/sensu/sensu-enterprise-go/issues/2453 to this. This issue was raised in a recent interaction.