feat: CLI root spans

Đang mở
#1,052 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
40/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
cli, observability

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
1.8k
Fork
161
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của generative-computing/mellea

Tất cả issue của generative-computing/mellea

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.