merging docker health monitor into main#22
Merged
haoruizhou merged 14 commits intomainfrom Mar 20, 2026
Merged
Conversation
tracks two containers with various variables for each and stores them in influxDB 3
…on metric - Drop _best_effort_write_health_to_influx from /api/health-status — health-monitor sidecar is the authoritative writer; frontend calls were creating duplicate points - Add depends_on: data-downloader-api to health-monitor in docker-compose so it doesn't log API errors on cold start - Replace meaningless runs_per_minute (run count / poll interval) with last_scan_duration_seconds, computed from started_at/finished_at already tracked in scanner_status.json — measures how long the slicks InfluxDB scan actually took - Expose last_scan_duration_seconds in /api/health-status response - Add health-monitor env vars to .env.example
Old pre-slicks entries with non-round-hour timestamps would persist forever because merge_scanned_runs kept all vanished runs, not just ones with user notes. Now only preserves vanished entries that have a note, so noise artifacts are cleaned out on each fresh scan.
Contributor
Summary of changes in this PROriginal work (shark1Martin)
Review fixes (wfr-data-acquisition)
Data Downloader improvements (wfr-data-acquisition)
|
Collaborator
|
Congrats on your first shipped feature @shark1Martin |
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.
No description provided.