[P1-08] Add structured metrics, tracing, audit events, and operational diagnostics #46
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Current observability is primarily ad hoc log messages. There is no stable correlation across HTTP, Rabbit, actors, CouchDB, target schedules, leases, retries, and generated documents. Queue pressure and runtime ownership cannot be inspected reliably.
Required metrics
Tracing and audit
Acceptance tests
ARDR reconciliation — 2026-08-29
Canonical research/design now owns this scope:
lost-rob0t/starintel-auto-research/roam/research/star-server/STAR-RESEARCH-052-observability-correlation-audit-contract.orglost-rob0t/starintel-auto-research/roam/design/star-server/STAR-SERVER-051-observability-correlation-audit-contract.orglost-rob0t/starintel-auto-research#201Lifecycle only:
READY_FOR_DESIGNDESIGN_READY_FOR_OPERATOR_REVIEWNo issue text, label, green test, publication state, or AUTO-RAGE wording is implementation authorization. Do not enqueue this issue into executable RAGE until the canonical operator approval record explicitly authorizes implementation.
Scope reconciliation
This issue is the parent semantic/diagnostic contract. Related open seeds are not independent competing architectures:
lost-rob0t/star-lang#49owns StarLang actor/runtime instrumentation semantics.OTLP/OpenObserve is a downstream optional adapter, not the internal application model. StarLang remains authoritative for actor/domain lifecycle, mailbox, supervision, dispatcher, and runtime-event semantics.
Architecture constraints
traceparent/tracestateparsing lives at transport adapters; internal propagation uses validated typed context.Proposed implementation slices — not approved
starintel-server). No HTTP/actor/Rabbit/CouchDB/network/thread effects.star-lang#49.Mandatory RED-first target for slice 1
On untouched
master, define a test against the new typed constructor:A post-hoc regex redaction test over a free-form log string is not valid GREEN.
Sibling REDs: unknown attributes; oversize values; invalid trace/span IDs; forbidden high-cardinality metric labels; deterministic schema/version; immutable/copy-safe context; disabled OTLP creates zero network/thread/exporter effects.
Dependencies
Pure semantic values can be implemented independently after operator approval. Production propagation/snapshot composition should consume the #39/#40/#42 explicit runtime/component seams as realized. Queue/lifecycle metrics consume #34–#37/#42 ownership. OTLP config consumes #38. Actor/runtime instrumentation is owned by StarLang #49.
These dependencies affect realization order only; none of them grant approval.
Operator approval recorded for STAR-RESEARCH-052 — Observability Correlation, Metrics, and Audit Contract.
Approved research evidence:
github.com/lost-rob0t/starintel-auto-research@0b5ac74a36Scope of this approval: research conclusion approved; proceed to canonical design. This does not approve the architecture/design itself and does not authorize implementation. Those remain separate operator gates.