Skip to content

Commit 6fca5d1

Browse files
authored
Merge pull request #98 from objectstack-ai/claude/issue-87-phantom-auth-metric
docs: delete the phantom auth-failure alert and its two signal listings
2 parents 622866b + fe78131 commit 6fca5d1

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

‎content/docs/operate/observability.mdx‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
7770
Cold starts are not on that list. The kernel is built once, at startup, and
7871
the process reports [ready](/docs/deploy/docker) only afterwards — there is
7972
no 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+
8184
For OpenTelemetry, set `OS_OBS_EXPORTER=otlp` **and** `OS_OTLP_ENDPOINT`
8285
(e.g. `https://<collector>/otlp`) and ObjectOS will emit traces and metrics
8386
in OTLP format. The exporter defaults to `noop` (zero runtime cost), so OTLP

‎content/docs/resources/faq.mdx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ the pair [Docker](/docs/deploy/docker) and
161161
[status.objectstack.ai](https://status.objectstack.ai).
162162

163163
**Q: What metrics should I monitor?**
164-
A: 5xx rate, p95 latency, auth failure rate, readiness
165-
(`/api/v1/ready`), queue depth. Minimal Prometheus example in [Observability](/docs/operate/observability).
164+
A: 5xx rate, p95 latency, readiness (`/api/v1/ready`), queue depth. There is
165+
no auth-failure metric to monitor — review sign-in activity in the Console's
166+
`Auth` audit view instead. Minimal Prometheus example in [Observability](/docs/operate/observability).
166167

167168
**Q: How do I take a backup?**
168169
A: Back up the **database** and the **storage bucket** — those hold

0 commit comments

Comments
 (0)