这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@svagner
Copy link
Contributor

@svagner svagner commented Sep 4, 2018

problem

Sometimes people would complain that notifications about close/ack were not delivered to them
it seems that it's not possible to easily debug that now with current state of logs.

There is no log entries about successfull sending acks and closes. Only log failures (e.g. 400 response)

  • notifications option 'print = true' also seems to not do anything for action notifications (even for failed notifications that are logged)
  • logs don't allow you to understand if 'Send notifications' checkbox was on or off

goal

  • log successful actions (similar to how it logs alert notifications)
  • print new logs according to 'notification' settings
  • improve error log format - write extra data about notification that has delivery problem
  • log actions if there wasn't set checkbox notification

changes:

  • add logging if there was action without notification
  • add logging for any actions/alerts
  • add extra felds to log messages

Stan Putrya added 2 commits September 4, 2018 14:39
- add logging if there was action without notification
- add logging for any actions/alerts
- add extra felds to log message
@stepashka
Copy link

Hey @kylebrandt, @captncraig!
Any objections to this change? Is there something else we need to implement before this gets merged?
Thanks,
Anna

@svagner
Copy link
Contributor Author

svagner commented Sep 22, 2018

Hi @kylebrandt ! Thanks for your comments. I've pushed changes. Could you please review again? Thanks!

@kylebrandt kylebrandt merged commit 95589fb into bosun-monitor:master Sep 24, 2018
@pradeepbbl pradeepbbl deleted the improve_logs branch October 3, 2018 11:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants