Skip to content

Document the cluster event log alerts - #208

Draft
boddumanohar wants to merge 1 commit into
mainfrom
docs/event-log-alerts
Draft

Document the cluster event log alerts#208
boddumanohar wants to merge 1 commit into
mainfrom
docs/event-log-alerts

Conversation

@boddumanohar

Copy link
Copy Markdown
Member

Documents the optional event-log-driven alert rules on the Kubernetes alerting page, which previously covered only the metrics-based rules.

Companion to simplyblock/simplyblock-operator#474, which adds the rules themselves.

What is documented

  • All eight rules in a table: severity, what each fires on, what suppresses it, and how it clears. Four of them clear when a freshness window expires rather than when the condition is fixed, which is worth knowing before relying on them.
  • Enablement, trap first. Three values must all be set, and a missing cluster ID renders no data sources and no rules at all with no error anywhere. Since the cluster ID and secret only exist once cluster create has run, a fresh install always begins in that state and needs a second upgrade to finish.
  • Multiple clusters. The values shape, and that clusters are not discovered automatically.
  • Tuning for logLimit, interval, for, and plugin.preinstalled, each with the reason it matters.
  • Verifying, including that a rule which cannot reach its data source still lists normally while reporting health=error, so confirming the rules exist is not sufficient on its own.
  • Current limitations: a planned node restart or suspend still notifies, four alerts clear on a timer, and nothing is notified at all until a receiver is configured.

Two behaviors are written down because neither is discoverable from the interface: Grafana reads its provisioning only at startup, so a chart upgrade touching only the ConfigMap leaves the running rules unchanged until the pod restarts, and the REST data source plugin is downloaded on every pod start unless it is baked into the image.

Checks

  • All eight house-style checkers pass.
  • The reference/cli/cluster.md links match the existing rows on the page and resolve at build time via scripts/cli-reference-gen.py.

Open question for review

There is a parallel docs/non-kubernetes/operations/monitoring/alerts.md with near-identical content. These rules are chart-driven and so Kubernetes-only as written, and that page is untouched. If the non-Kubernetes install can enable them too, it needs its own version.

The Kubernetes alerting page covered only the metrics-based rules. The optional
event log rules are configured entirely differently and fail in ways that give
an operator nothing to go on, so the page now covers all eight of them: what
each fires on, what suppresses it, and whether it clears on recovery or on a
timer.

The enablement section leads with the trap. All three of the monitoring stack,
the eventAlerts flag, and a cluster ID and secret must be set, and a missing
cluster ID renders no data sources and no rules at all, with no error anywhere.
Because the ID and secret only exist once `cluster create` has run, a fresh
install always starts in that state and needs a second upgrade to finish.

Two further behaviors are written down because neither is discoverable: Grafana
reads its provisioning only at startup, so a chart upgrade that touches only the
ConfigMap leaves the running rules unchanged until the pod restarts, and a rule
that cannot reach its data source still lists normally while reporting
health=error, which makes "the rules are present" an insufficient check.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🤖: Deployment available as https://docstest.simplyblock.io/docs-event-log-alerts

@boddumanohar
boddumanohar marked this pull request as draft September 2, 2026 15:07
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.

1 participant