Skip to content

feat: session and act spans via plugin hooks #1048

Description

@ajbozarth

Background

Session-level and act-level spans are currently emitted via direct trace_application(...) calls in mellea/stdlib/session.py and mellea/stdlib/functional.py. This leaks tracing concerns into stdlib.

Replaces retired sub-issue #470.

Scope

Phase & dependencies

Phase 2 (coverage). Depends on Phase 1 (#1045, #1046, #1047). Can proceed in parallel with #1049, #1050, #1051, #1052, and with PR #1036 rebased onto Phase 1.

Acceptance criteria

  • mellea/stdlib/ no longer imports from mellea.telemetry.tracing.
  • Session → aact → backend span hierarchy preserved.
  • Tests cover parent-child span relationships.

Parent epic: #444

Metadata

Metadata

Assignees

Labels

area/stdlibCore abstractions: Context, MOT, SamplingStrategy, formatters, serializationarea/telemetryOTel spans, metrics, tracing, semconvenhancementNew feature or requestp2Medium/low: minor bugs, niche features, polish, docs, tests, cleanup. Scoped, lower urgency.refactor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions