Skip to content

Deliver foundation diagnostics #1001

Closed
Closed

Description

@privateip

Parent: #992

Deliverable: observable lifecycle and routing status, correlated failure diagnostics and a tested troubleshooting guide.

Work items:

  • Expose admission, attachment, ownership, expiry and route state with bounded telemetry cardinality and no credentials.
  • Add correlated diagnostics for admission denial, programming failure, policy denial and ownership expiry, with automated coverage for each failure.
  • Document and exercise a troubleshooting workflow that identifies the failed lifecycle stage and affected resources.

Dependencies: #993 defines status ownership; implementation proceeds alongside #994, #995, #996, #997, #998, #999 and completes against their integrated behavior.

Acceptance: an engineer can identify the active owner, attachment and route state and distinguish the specified failures using emitted diagnostics. Tests verify correlation, cardinality bounds and exclusion of credentials.

Activity

  1. added theissue type on Oct 22, 2026
  2. self-assigned this
    on Oct 24, 2026
  3. privateip commented on Oct 24, 2026

    @privateip
    ContributorAuthor

    #1058 implements this issue but does not close it.

    What it delivers:

    • Lifecycle state: core and galactic-edge export gauges for admission, attachment, ownership, expiry and route state, under galactic_edge_foundation_*. Labels are limited to bounded identifiers, and no metric or event carries a credential. TestStateCollectorBoundsCardinality and TestCorrelationExcludesCredentials cover both.
    • Correlated failures: an admission denial, a programming failure or an ownership expiry raises one Warning Event and one counter increment per failure transition. Each event's note ends with correlation keys that name the affected service, attachment, route and node (TestNoteKeepsCorrelation). Policy denials are counted by the existing galactic-router traffic-policy metrics, and forwarding-gate drops by the existing gate counters, so neither needed a new datapath counter. Envtest and agent tests cover each failure path.
    • Alerting: a galactic-edge alert group, with promtool unit tests in config/monitoring/tests/, plus PodMonitors for galactic-edge and the controller's edge role.
    • Troubleshooting guide: docs/edge/troubleshooting.md walks from a symptom to the failed lifecycle stage and the affected resources. docs/metrics.md lists every series.

    What's left before this closes:

    The first two work items are done. The third stays open until the guide has been run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions