Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/slack notification handler #411

Merged
merged 3 commits into from
May 2, 2024
Merged

Conversation

Andreass2
Copy link
Collaborator

@Andreass2 Andreass2 commented Apr 30, 2024

Description

  • Added a scheduled query which runs each 5th minute for logs of 500 errrors in broker.
  • if logs are found and email is sent and forwarded to slack.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@Andreass2
Copy link
Collaborator Author

When this is merged into main, we will start sending errors to slack. If you want to see a test email notification as a step of the review let me know.

As of now it logs all 500 errors with 5 minute intervals. (max 1 email per 5 min).

@Ceredron
Copy link
Collaborator

Does it log to our normal Slack channel or a separate one?

@Andreass2
Copy link
Collaborator Author

Does it log to our normal Slack channel or a separate one?

No. As requested by Eirik Mikkelsen it logs to a general one for all product teams.

@Andreass2 Andreass2 merged commit a7e775d into main May 2, 2024
@Andreass2 Andreass2 deleted the feat/slack-notification-handler branch May 2, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants