GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(world): F11.7 host metrics, Prometheus endpoint and tracing spans · Issue #553 · developing-today/code

id(world): F11.7 host metrics, Prometheus endpoint and tracing spans #553

New issue
Copy link
New issue
Copy link
Closed
#1715
Closed
id(world): F11.7 host metrics, Prometheus endpoint and tracing spans#553
#1715
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insenhancementNew feature or requestkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addednowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/humanFiled directly by a humanstatus:in-review

Description

@dezren39
dezren39
opened on Oct 22, 2026
Issue body actions

What and why

Counters and histograms for actor queue depth, command latency, journal append/fsync latency, checkpoint duration, session count and frame bytes, shown in id world stats and as admin-token-protected Prometheus text, plus tracing spans per actor command. There is no way to see queue depth, latency or journal cost on a running node, and the audit log (F12.6) and fair scheduling (F12.10) build on these numbers.

Source

  • .opencode/plans/phase-11-foundations.md:42
  • .opencode/plans/2026-10-20_phase-11-status.md:17

Current status

Not started. id world stats exists (pkgs/id/src/cli.rs:1701) but only prints module, capability and profile state as JSON. grep -rn 'prometheus\|histogram\|queue_depth\|fsync_latency\|command_latency' pkgs/id/src finds nothing; only per-call fuel metrics exist (commands/world.rs:734).

Acceptance criteria

  • Counters and histograms exist for actor queue depth, command latency, journal append and fsync latency, checkpoint duration, session count and frame bytes
  • id world stats shows them
  • A Prometheus text endpoint serves them and refuses requests without the admin token (tested)
  • Each actor command runs in a tracing span

Size

L

Prerequisites

  • id(world): F11.10 split world.rs, world_session.rs and cli.rs (moves only) #540 — D1-010 F11.10 Split world.rs, world_session.rs, cli.rs (moves only)

Activity

Next
  1. dezren39
    added
    enhancementNew feature or request
    on Oct 22, 2026
  2. github-actions
    assigned
    dezren39
    on Oct 22, 2026
  3. dezren39
    added a commit that references this issue on Oct 25, 2026

    docs(id): Phase 14 plan — close-out: finish, measure, verify, open th…

    ee67188
  4. dezren39
    added
    kind/featureNew feature or capability request
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  5. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Intake review

    Fleet-monitor intake pass (2026-10-26). Body already carries a full ## Acceptance criteria section, so this pass is label normalization plus a liveness check — no body edit.

    Verified live on main e3467560 (2026-10-26): git grep -i 'prometheus' origin/main -- pkgs/id/src finds nothing, and none of the named histograms (queue depth, command latency, journal append/fsync latency, checkpoint duration, frame bytes) exist. id world stats remains the module/capability/profile print the body describes. Still live, exactly as filed.

    Related: prerequisite #540 (splitting world.rs / world_session.rs / cli.rs) is still open and unenriched — instrumentation touches all three files, so landing this first means re-instrumenting after the split; sequencing after #540 is cheaper. Consumers waiting on these numbers: #557 (per-world budget observability) and the F12.6/F12.10 work named in the body.

    Risks / notes: the admin-token refusal on the Prometheus endpoint is a security acceptance bullet — it needs its test in the same PR, not a follow-up. Histogram bucket choices for fsync/command latency should match how the numbers will actually be read (p99-oriented buckets).

    Suggested approach: sequence after #540; add the counters/histograms at the actor and journal layers, surface them in id world stats, then add the token-protected Prometheus text endpoint with its refusal test, and wrap actor commands in tracing spans last.

  6. dezren39
    added
    priority/highImportant and time-sensitive
    nowOrg Project gate: active priority — orchestrator adds to the board
    queue/queuedHas a queued queue task
    and removed
    priority/normalOrdinary priority (the default)
    on Oct 27, 2026
  7. 77 remaining items

  8. dezren39
    reopened this on Oct 27, 2026
  9. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Reopened by queue worker (task 1305): PR #1437 merged F11.7 slice 1 only (metrics core + stats). Two acceptance criteria remain unimplemented — the admin-token Prometheus endpoint and the per-command tracing spans — and are enqueued as the slices 2+3 follow-up task. Closing keyword in the slice-1 PR closed the whole issue prematurely.

  10. developing-today
    added
    status:to-do
    on Oct 27, 2026
  11. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Correction to the follow-up plan (queue worker, task 1305): the slices 2+3 follow-up could NOT be enqueued — the queue's fix dedupe key is one-per-issue (repo-health:v1:fix:…:issue:553 was consumed by the slice-1 task 1305 and enqueue returns that done task; the draft slice packets' :slice-N suffixes fail validation). The combined packet is preserved at hidden_files/packet-553-slices23.json and a SET-REMAINDER entry is in backlog-devtoday-code.md. This issue keeps queue/queued as the work order for the fleet monitor's safety-net enqueue. Slices remaining: (2) Prometheus text endpoint gated by admin token + refusal test; (3) tracing span per actor command + span-capture test.

  12. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-27 12:23 CDT — Duty 1 safety-net reconciliation
    • Found via: monitor reconciliation
    • Task: safety-net reconciliation — slice 1 merged (PR feat(id): F11.7 slice 1 — host metrics core + world stats surfacing (#553) #1437, 42eae63, task 1305 done) and this issue was reopened for slices 2+3, but it carries queue/queued with NO live task, and the monitor cannot enqueue the follow-up with a standard packet.
    • Expectation: operator repair (see below); remaining scope is the acceptance criteria beyond slice 1 (stats display, Prometheus endpoint, tracing spans).
    • Links: task 1305 (done, PR feat(id): F11.7 slice 1 — host metrics core + world stats surfacing (#553) #1437 merged), triage task 1261 (done), system limitation tracked in fleet(queue): repo-queue.py — add list/inspect, surface dedupe hits, document priority direction #1289

    Why it is stuck: task 1305's own progress said to enqueue the combined slices 2+3 follow-up "with freed fix dedupe key", but the key is not freed — verified this run: enqueue with the fix dedupe key returns done task 1305 and with the triage key returns done task 1261, creating nothing. This is the same one-per-issue dedupe limitation the worker flagged at 17:10Z. Until the queue gains a requeue/revive path (#1289), the slices 2+3 follow-up needs operator repair to get a live task; flagged prominently in the monitor's run summary.

  13. developing-today
    added
    status:in-review
    and removed
    status:to-do
    on Oct 28, 2026
  14. dezren39
    added 3 commits that reference this issue on Oct 28, 2026

    feat(id): add admin-protected prometheus metrics and tracing spans

    ff93a7c

    feat(id): add admin-protected prometheus metrics and tracing spans

    436f6a9

    feat(id): add admin-protected prometheus metrics and tracing spans

    17cdeeb
  15. dezren39
    closed this as completedin #1715on Oct 30, 2026
  16. dezren39
    added a commit that references this issue on Oct 30, 2026

    Merge pull request #1690 from developing-today/docs/roadmap-tending-2…

    3527580
  17. dezren39
    marked this as blocked on Nov 1, 2026
    • Define rollback compatibility for world profile journal entries #227
  18. dezren39
    marked this as blocking on Nov 1, 2026
    • id(ci): F11.8 benchmark harness with committed baselines #539
  19. dezren39
    added a commit that references this issue on Nov 3, 2026

    chore: remove agent-scratch get_plan.py from repo root (#2464) (#4861)

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

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insenhancementNew feature or requestkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addednowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/humanFiled directly by a humanstatus:in-review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.