Setting up diagnostics
Domain for keeping track of some operational metrics
#635
Labels
diagnostics
Domain for keeping track of some operational metrics
#635
Specification
Discussion about the #634 #628 and 223c367 has led to the idea of a
diagnostics
domain that is useful for keeping some operational metrics.Note that I'm still of the position that operational logs, the kind that comes out of STDERR should be captured by an orchestrator and that orchestrator can do log analysis, storage, ETL, and visualisation using grafana. This stuff should not be in Polykey core. It just adds too much complexity.
However some level of internal diagnostics may be useful - especially in terms of remote debugging too. Since we have a JS runtime, it should be possible to expose some level of remote debugging, and then keep track of diagnostic statistics about various parts of PK.
A
diagnostics
domain can be an "internal" domain with no guarantee of API stability that allows us to throw whatever we want in. However from a security POV it's important this does not leak anything important or become a vulnerability.Some interesting diagnostics will be about dimensionality of the system and the different domains of the system:
Additional context
audit
domain for tracking user/action events and metrics #628 - audit focuses on high level events - it represents user behaviour trackingTasks
The text was updated successfully, but these errors were encountered: