Epic: Trace Misty workflows and deliver observability dashboards

Open
#415 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
5/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active

Research direction

This is an epic with no code files named; the design lives in PR #398 and issue #342, which are the first things to read. Start with the design's event contract and the staging pilot prerequisites (retention, access, operator, budget decisions), which are still open. Done means child implementation PRs exist, split by CODEOWNERS zone, not that this epic closes.

Written by the indexing model from the issue text.

Description

area/bot area/deployment area/docs-system area/integration area/observability area/service area/tooling epic
Blocked by

None.

Summary

Implement the observability design in PR #398 and #342 so maintainers can understand outcomes across Misty's services. Begin with a synthetic staging recording: trace capture, save and Discord delivery, then extend measurements to answers, catalog activity, service health and costs.

Model

Use versioned, content-free events, authenticated internal trace propagation, bounded asynchronous emission, environment-scoped collection and replayable projections. Producers own their observations. Unknown or missing observations stay visible; do not infer success from missing data. Use existing Railway logs first; keep restricted attempt detail separate from aggregate views.

Saved recordings deliver both a PDF and a Doc link. Track each independently and require both deliveries for complete saved-recording success; PDF-only recordings require PDF delivery.

Implementation tasks
  • #416 — Collect traces across Misty services
  • #425 — Show where a recording failed and alert its operator
  • #432 — Show answer, catalog and login health
  • #433 — Explain usage and cost by feature

The recording pilot, disable and recovery exercise, and production-readiness decision belong to #425. Provider metering can begin against #416 while the dashboard and completion measures are being built.

Area

bot, deployment, docs-system, integration, observability, service, tooling

What we can build on

Existing audit middleware, Railway logs, meeting persistence and recovery, and discovery/refresh monitoring. Design: https://github.com/UTMIST/Misty/pull/398 and https://github.com/UTMIST/Misty/issues/342.

Not in this epic

Feature implementation for #332–#335 or #341; readiness activation #55; scheduled refresh acceptance #338. No production rollout is implied by filing or merging implementation.

Open questions

Choose operator, retention and access policy, alert thresholds, collection mechanism, overhead and spending budgets before the relevant staging or production enablement. Split implementation PRs by CODEOWNERS zone; tests use synthetic inputs and fake providers.

Dominant language
Python
Stars
0
Forks
2
Avg merge
3d 3h
Merged PRs (30d)
31

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.