Skip to content

Revert 21 feat/live monitoring - #22

Closed
AmrMsCLL wants to merge 3 commits into
mainfrom
revert-21-feat/live-monitoring
Closed

AmrMsCLL wants to merge 3 commits into
mainfrom
revert-21-feat/live-monitoring

Conversation

@AmrMsCLL

@AmrMsCLL AmrMsCLL commented Nov 5, 2026

Copy link
Copy Markdown
Member

What changed

Verification

Checklist

  • The change is focused and contains no credentials or generated secrets.
  • Documentation and tests were updated when behavior changed.
  • Deployment or rollback considerations are described when relevant.

…sk use and stricter requests

Redeploy runs graphite-up as a transient systemd unit through nsenter instead of
calling the agent, returns at once, and the page polls the unit's state and log,
so Cloudflare's 100 second limit and a redeploy of the console itself both work.
The missing-secret hint ignores names the project's values file supplies, and
the needs-redeploy hint counts graphite-up's .applied marker as a rollout.
Removing images now removes every unused image and refreshes disk use. Disk use
is reported as df does. Every response carries the security headers, and a write
needs this console's Origin or Sec-Fetch-Site same-origin.
…le alert rules with email, and log search (#21)

A stats stream per running container and /proc on the host feed a 1 second
frame: CPU, memory, network and disk rates. GET /api/live streams it to every
tab over Server-Sent Events with the last three minutes, and closes when the
viewer stops being a member. History keeps each minute's average and peak, with
network and disk, in the existing table. Charts gain a live range, network and
disk, and a peak view. Alerts are checked every 10 seconds against rules owners
edit (threshold, duration, on or off), open once a condition holds for its
duration, resolve after a clear minute, and are emailed through SMTP_URL to
ALERTS_EMAIL with a test button. Logs adds a search across containers.
@github-actions github-actions Bot added the size/l 201-600 changed lines, excluding lockfiles label Nov 5, 2026
@AmrMsCLL AmrMsCLL closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/l 201-600 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant