[task] Explain usage and cost by feature

Aperta
#433 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Williamzhibo ci sta già lavorando.

Dal 28/11/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Read docs/OBSERVABILITY-IMPLEMENTATION.md, specifically implementation ticket 18, together with #342, then AGENTS.md and the service contribution guides to see where the cost view belongs. Check the state of the blocking issues #425, #427 and #429 first, since nothing can start until they land. Done means a priced fixture with retries, late usage and one unreported call reconciles known cost by feature and period, with coverage, unattributed spend, invoice variance and cost per confirmed completion shown from the same cohort, the rate blank at zero completions, and invoice detail gated on billing access.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/deployment area/observability area/service area/tooling type/feature
Blocked by

#425, #432

What

Measure model and speech usage per provider attempt and reconcile feature costs to Railway spend and invoices.

Why

Billing reviewers need to explain spend changes, including retries, shared charges and unreported usage.

Area

deployment, observability, service, tooling

Done looks like
  • LLM chat, embeddings and meeting speech emit one usage observation per provider attempt. Attribute retries to the original feature and handle cancellation, late data and unknown units.
  • Join units to effective-dated prices and show known usage, coverage and unattributed spend. Restrict invoice details to billing reviewers.
  • A priced fixture with retries, late usage and one unreported call reconciles known cost by feature and period. The view shows coverage, shared/unattributed spend, invoice variance and cost per confirmed completion from the same cohort. With zero completions the rate is blank. Invoice detail enforces billing access.
Design notes

Part of #415. Metering can begin against #416. The final view uses dashboard infrastructure from #425 and completion counts from #432. Earlier provider-attempt contract: #429. Design proposal: #342 / PR #398.

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
3g 3h
PR unite (30g)
31

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UTMIST/Misty

Tutte le issue di UTMIST/Misty

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.