@@ -36,7 +36,6 @@ Track at least:
3636| Request count by route/status | Detect error spikes |
3737| Request duration | Detect latency regressions |
3838| 5xx errors | Alert on runtime failures |
39- | Auth failures | Detect configuration or attack patterns |
4039| Readiness transitions | The process reports ready only once its kernel is built, and ` /api/v1/ready ` answers 503 when a data driver stops |
4140
4241### Minimal Prometheus example
@@ -66,18 +65,22 @@ groups:
6665 for : 5m
6766 annotations :
6867 summary : " ObjectOS 5xx rate above 2% for 5 minutes"
69-
70- - alert : ObjectOSAuthFailureSpike
71- expr : rate(auth_failures_total[5m]) > 5
72- for : 10m
73- annotations :
74- summary : " Sustained auth failure rate — check for misconfiguration or attack"
7568` ` `
7669
7770Cold starts are not on that list. The kernel is built once, at startup, and
7871the process reports [ready](/docs/deploy/docker) only afterwards — there is
7972no steady-state cache-miss signal to alert on, so alert on readiness instead.
8073
74+ Auth failures are not on it either. The runtime's metric registry covers
75+ HTTP, storage, cache, background jobs and the package registry; none of those
76+ counts a rejected credential, so there is no series to alert on. Counting
77+ 401/403 out of ` http_requests_total` is not a substitute for one: the sign-in
78+ endpoints do not feed that counter, a rejected API key is indistinguishable
79+ from a request that carried no credential at all, and both statuses are
80+ dominated by ordinary permission denials against users who authenticated
81+ perfectly well. Review sign-in activity in the Console's `Auth` audit view
82+ instead — see [Audit Logs](/docs/operate/audit-logs).
83+
8184For OpenTelemetry, set `OS_OBS_EXPORTER=otlp` **and** `OS_OTLP_ENDPOINT`
8285(e.g. `https://<collector>/otlp`) and ObjectOS will emit traces and metrics
8386in OTLP format. The exporter defaults to `noop` (zero runtime cost), so OTLP
0 commit comments