feat: CLI root spans

Aperta
#1,052 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
40/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
cli, observability

Direzione di ricerca

Start by locating the current CLI entry points under cli/ for m serve, m alora, m decompose and m eval, since the issue says the original file paths may be stale. Find how tracing is configured in the codebase, then check the root span and attribute setup there. Done means each command emits a root span with cli.command, cli.subcommand and filtered mellea.cli.args when tracing is enabled, with no sensitive argument values in attributes by default.

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

Descrizione

area/alora area/cli enhancement p2

Background

Retired sub-issue #469 proposed CLI-level root spans. Still worth doing; low architectural complexity, mostly additive.

Scope

  • Add root spans around the main CLI entry points (m serve, m alora, m decompose, m eval). Verify current CLI layout under cli/ — the original issue's file paths may be stale.
  • Attributes: cli.command, cli.subcommand, mellea.cli.args (filtered to avoid leaking secrets).

Phase & dependencies

Phase 2 (coverage). Depends on Phase 1 (#1045, #1046, #1047). Lowest priority of the Phase 2 items; fully additive and architecturally simple. Can proceed in parallel with #1048, #1049, #1050, #1051.

Acceptance criteria

  • CLI commands emit root spans when tracing is enabled.
  • No sensitive arg values appear in attributes by default.

Parent epic: #444

Lingua principale
Python
Stelle
1.8k
Fork
161
Merge medio
4g 3h
PR unite (30g)
45

Preparare l'ambiente

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 generative-computing/mellea

Tutte le issue di generative-computing/mellea

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.