Thanks to visit codestin.com
Credit goes to github.com

Skip to content

急増行数だけでなく、末尾の数行ログを抜粋して通知(main_log_monitor.py) #11

@kamonabe

Description

@kamonabe

概要

ログ急増の通知時、行数だけでなく実際のログ末尾も数行添付することで、現象の把握が容易になる。

内容

  • 急増が検知された対象ログについて、末尾10行程度をSlack通知に添付
  • エラーメッセージや例外の兆候などが含まれる場合がある

目的

  • 即時の目視確認が可能になり、SSHでのログ参照作業を削減できる

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions