Skip to content

docs(observability): developer onboarding page + per-component pages + CONTEXT.md#208

Merged
jvcorredor merged 2 commits into
mainfrom
worktree-homelab-185-observability-docs
May 17, 2026
Merged

docs(observability): developer onboarding page + per-component pages + CONTEXT.md#208
jvcorredor merged 2 commits into
mainfrom
worktree-homelab-185-observability-docs

Conversation

@jvcorredor

Copy link
Copy Markdown
Member

What

Documentation deliverables for the ADR-0007 self-hosted observability
stack — tracer-bullet #8 of the #176 PRD. Five new docs pages plus
CONTEXT.md updates, all in one PR so the cross-links resolve.

New pages

  • platform/observability-for-developers.md — the one-page
    developer contract: the ServiceMonitor metrics contract, zero-action
    log collection, the PrometheusRule path for per-namespace alerting,
    the documented OTLP push endpoint (with a clear callout that Tempo is
    Phase 3), and the Scratch → code dashboard promotion workflow. The
    ServiceMonitor and PrometheusRule snippets are valid YAML —
    verified with kubectl apply --dry-run=client.
  • applications/kube-prometheus-stack.md, loki.md,
    alloy.md — per-component pages mirroring the existing
    adguard-home.md / homepage.md structure.
  • applications/observability.md — stack-level page narrating how
    the three components fit together, with a data-flow diagram (story 29).

CONTEXT.md

A new ## Observability section defines the observability namespace,
the observability stack, and the Discord/healthchecks.io alert pipeline.

Also in this PR

  • The three new addons are registered in the applications/ index table.
  • platform/index.md gains a pointer to the developer page.
  • Stale-doc fixes: hubble-ui.md and metrics-server.md both still
    said observability was "a deferred Phase-2 deep-dive" / "there is no
    Prometheus, no Grafana." Corrected to the now-true coexistence framing
    (ADR-0007 explicitly keeps Hubble UI alongside the new stack) so the
    docs site is not self-contradicting. overview/architecture.md's
    Status snapshot was left alone — it couples observability with the
    separate Longhorn phase question and is a broader refresh.

Testing

  • npm run build (Astro/Starlight) passes — 24 pages, all five new
    pages built.
  • All internal links and heading anchors referenced across the changed
    files resolve to existing pages/anchors.
  • Both developer-page YAML snippets parse and kubectl apply --dry-run=client cleanly.

Note

The Discord/healthchecks.io alert pipeline is documented per its
ADR-0007 design; the receivers themselves ship in a separate stack
slice (#176 tracer-bullet #6). The CONTEXT.md entry and the
Observability page both state plainly that until that slice lands,
Alertmanager runs but routes nothing externally.

Closes: #185

🤖 Generated with Claude Code

jvcorredor and others added 2 commits May 15, 2026 22:17
…TEXT

Add the documentation deliverables for the ADR-0007 self-hosted
observability stack (tracer-bullet #8 of the #176 PRD).

- Developer onboarding page (platform/observability-for-developers):
  the ServiceMonitor metrics contract, zero-action log collection, the
  PrometheusRule path for per-namespace alerting, the documented OTLP
  endpoint (with a clear Phase-3/Tempo callout), and the Scratch → code
  dashboard workflow. Each contract carries a copy-paste YAML snippet.
- Per-component pages for kube-prometheus-stack, Loki, and Alloy under
  applications/, mirroring the existing adguard-home / homepage shape.
- A stack-level Observability page narrating how the three components
  fit together, with a data-flow diagram.
- CONTEXT.md: a new Observability section defining the `observability`
  namespace, the stack, and the Discord/healthchecks.io alert pipeline.
- Register the three new addons in the applications index, and correct
  now-stale "observability is deferred" framing in hubble-ui.md and
  metrics-server.md so the docs site is internally consistent.

Closes: #185

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jvcorredor jvcorredor merged commit 9a81b40 into main May 17, 2026
1 check passed
@jvcorredor jvcorredor deleted the worktree-homelab-185-observability-docs branch May 17, 2026 00:18
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.

docs(observability): developer onboarding page + per-component pages + CONTEXT.md

1 participant