Decide telemetry scope for v1: which OTLP signals, exporter, and whether it gates the release #29
Labels
No labels
Compat/Breaking
Crazy Idea
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
OpenIndiana/ips#29
Loading…
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?
Part of #24
Maintainer decisions — 2026-09-22
V1 must ship traces, metrics and structured logs over OTLP/HTTP using the researched stack (#34). Cover request latency/errors, import outcomes/duration, catalog rebuilds and retirement/purge operations.
Collector/export failure must not block serving or imports. Bound the export queues; on overflow drop oldest queued records and count drops locally. Retention/access tracking and committed import outcomes need independent durable records and cannot rely on sampled or dropped telemetry.
Still open: collector endpoint, numerical queue limits, sampling/cardinality policy, batching/shutdown behavior and ADR/implementation plan. Signal/scope decisions are agreed; implementation is not complete.
These decisions supersede conflicting earlier scope below. This update records maintainer decisions, not implementation or test completion.
Earlier brief and context
Question
pkg6depotd/src/telemetry/mod.rshas aTODO: Add OTLP layer if configured;TelemetryConfigalready hasotlp_endpoint,service_name,log_format. Decide what v1 actually ships.Grill on:
Waits on the research ticket about the crate stack. Record the outcome in the plan for #7.
Links
Implementation is in draft PR #44 at
9dd36eb. pkg6depotd now exports OTLP/HTTP protobuf traces, metrics and logs through bounded per-signal queues with oldest-first eviction. Collector failure stays off the request path; configured shutdown was tested against a slow collector. The packaged KDL sample and pkg6depotd(8) document configuration and limits. Local depot suite: 51 passed; independent Opus review found no release blocker. Native illumos, merged integration, and release-candidate CI remain open before this ticket can close.Resolution
Decided 2026-09-22 with the maintainer and recorded as ADR-006 (now Accepted on PR #54): v1 requires traces, metrics and structured logs over OTLP/HTTP protobuf via reqwest, with bounded per-signal queues that drop oldest on overflow and count drops; a collector outage never blocks serving or imports; durable access records for retirement are independent of telemetry. Implemented and running on oirepo6 as RC13. The remaining native verification is build work and lives in #7, which this ticket no longer blocks.