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: critical alerts by modules - 4 #269

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

AlexanderLukin
Copy link
Contributor

All changes from the PR #264 plus

  1. Alertmanager failed to handle the numeric nos_module_id label correctly. Because of this fact, Discord alerts with this label were not sent and the app returned the Alertmanager error. Now this bug is fixed.

  2. The app failed to work correctly with the latest version of the Alertmanager. Now the particular version of the Alertmanager is fixed in the docker-compose file so that the app can always start all its containers correctly.

  3. Increase memory required for the Prometheus service in the docker-compose, so that the Prometheus service can correctly handle a larger number of node operators.

  4. Remove the DISCORD_WEBHOOK_URL env variable from env examples as we don't have such a variable in the EVM app.

  5. Slightly harmonize the content of alert labels.

1. Alertmanager failed to handle the numeric `nos_module_id` label
correctly. Because of this fact, Discord alerts with this label were not
sent and the app returned the Alertmanager error. Now this bug is fixed.

2. The app failed to work correctly with the latest version of the
Alertmanager. Now the particular version of the Alertmanager is fixed in
the `docker-compose` file so that the app can always start all its
containers correctly.

3. Increase memory required for the Prometheus service in the
docker-compose, so that the Prometheus service can correctly handle a
larger number of node operators.

4. Remove the `DISCORD_WEBHOOK_URL` env variable from env examples as we
don't have such a variable in the EVM app.

5. Slightly harmonize the content of alert labels.
1. Replace the `any` type in the `AlertRequestBody` interface fields
with more specific types.

2. Fix the maximal version of the Alertmanager that is compatible with
the current critical alerts code in the `docker-compose`.
@AlexanderLukin
Copy link
Contributor Author

Update.

  1. Replace the any type in the AlertRequestBody interface fields with more specific types.

  2. Fix the maximal version of the Alertmanager that is compatible with the current critical alerts code in the docker-compose.

@AlexanderLukin AlexanderLukin merged commit 28964f6 into develop Jan 27, 2025
5 checks passed
@AlexanderLukin AlexanderLukin deleted the feature/critical-csm-alerts-3 branch January 27, 2025 10:56
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