Replies: 1 comment
-
the radar klib is connected to a hosted service https://nanovms.com/radar much in the same way cloudwatch is connected to aws' cloudwatch; as such there are other server-side components to this so while some of this might get incorporated in the future that roadmap is entirely driven by the radar svc roadmap itself and we'd only make changes for that particular klib in conjunction w/changes for radar |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
/shutdowns
- endpoint/functionality to report kernel/program stop/shutdown with enough information to identifyIt might look smth like the following (just a general idea, since have yet to investigate what can be reported and what not)
/machine-stats - cpu usage
- if feasible without introducing locks/delays in kernel, report all times necessary to calculate "instance" cpu "usage"./crashes
- identify kernel crash - when the kernel crashes and nothing is sent/executed in shutdown handlers, there might be no "dump" to be sent upon (re)start, so we just get the/boots
notification, but nocrashes
.Now this might not be needed assuming that we can treat the lack of
/shutdowns
notification as a severe kernel crash, however the naive idea would be for theradar
klib to set "smth" upon boot, that the kernel "has to clean" upon "correct" shutdown. It might be an additional carved space or the same we use for KLOG_DUMP. Upon start, report it as crash and (re)set that "smth" so that kernel can identify that it's not a program crash_dump and clean it.Those are just some initial raw ideas, for real needs, that could help.
Beta Was this translation helpful? Give feedback.
All reactions