Skip to content

Add simple healthcheck#24

Merged
slominskir merged 2 commits into
mainfrom
issue-23
Jun 10, 2026
Merged

Add simple healthcheck#24
slominskir merged 2 commits into
mainfrom
issue-23

Conversation

@slominskir

Copy link
Copy Markdown
Member

Fixes #23

@slominskir

Copy link
Copy Markdown
Member Author

Need to consider some user requests for PV that don't exist are possible. Should not trigger unhealthy. If never connected, then we can't readily know if because user requested PV really doesn't exist, or backend IOC is temporarily unavailable. If PV previously connected (has non null Last Updated Timestamp), then we can reasonably guess when something goes wrong.

@slominskir slominskir merged commit 5852529 into main Jun 10, 2026
5 checks passed
@slominskir slominskir deleted the issue-23 branch June 10, 2026 10:10
@slominskir

Copy link
Copy Markdown
Member Author

Simple Healthcheck Known Limitations:

  • Won't catch issues specific to CaGet endpoint.
  • All-or-nothing - if a single IOC breaks, and hosted PV previously being monitored, entire epics2web host marked unhealthy
  • NeverConnected PVs are ignored, even though possible a connectivity issue. We can't tell if bad user request (non-existent PV) vs connectivity issue in this case, so we do nothing.

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.

Add Healthcheck endpoint

1 participant