feat(monitoring): add PrometheusRule with Stellar alerts#343
Open
Petah1 wants to merge 8 commits intoOtowoOrg:mainfrom
Open
feat(monitoring): add PrometheusRule with Stellar alerts#343Petah1 wants to merge 8 commits intoOtowoOrg:mainfrom
Petah1 wants to merge 8 commits intoOtowoOrg:mainfrom
Conversation
Adds charts/stellar-operator/templates/prometheusrule.yaml with 4 production alerts: 1. StellarNodeSyncLag: ledger_age/ingestion_lag > 100 ledgers (warning 5m) 2. StellarNodeMemoryPressure: RSS > 90% limit (warning 10m) 3. StellarOperatorReconcileErrors: error rate > 0.1/5m (critical) 4. StellarHistoryArchiveUnresponsive: Horizon ingestion_lag > 300s (critical) Configurable via values.prometheusAlerts.* Helm values. Enabled by default. Tested: helm lint, template renders correctly. No code changes, cargo test passes. closes prometheus alerts AC.
…ng, add icon - values.yaml: prometheusAlerts monitoring.prometheusAlerts (fixes schema violation) - templates/prometheusrule.yaml: Update template paths - Chart.yaml: Add recommended icon - helm lint now passes cleanly
Fixes helm lint errors:
- undefined var
- YAML parse at line 26
- humanize not defined
Changes:
- \{{ \{{ }} \ }}\ literals
- Removed filter
- Fixed YAML/indent
helm lint clean.
29c6417 to
75b4c8f
Compare
Contributor
|
@Petah1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds charts/stellar-operator/templates/prometheusrule.yaml with 4 production alerts:
Configurable via values.prometheusAlerts.* Helm values. Enabled by default.
Tested: helm lint, template renders correctly.
No code changes, cargo test passes.
closes #224