Skip to content

Arcp.Otel.md lists span attributes the code never emits #50

Description

@nficano

Category: docs Severity: major
Location: docs/projects/Arcp.Otel.md:76-79

What

ArcpTracing.SetCommonAttributes (src/Arcp.Otel/ArcpTracing.cs:82-92) sets only Direction, Type, Id, SessionId, JobId, TraceId, EventSeq. The constants Agent/LeaseCapabilities/LeaseExpiresAt/BudgetRemaining (ArcpDiagnostics.cs:24-30) are defined but never passed to SetTag anywhere in src (verified by grep). The documented table claims four attributes that are never produced.

Evidence

| `arcp.agent`                 | `payload.agent` (on submit / accept)     |
| `arcp.lease.capabilities`    | comma-joined lease keys                  |
| `arcp.lease.expires_at`      | ISO 8601 string (v1.1)                   |
| `arcp.budget.remaining`      | JSON-stringified currency map (v1.1)     |

Proposed fix

Either emit these four attributes in ArcpTracing.SetCommonAttributes, or delete the four unimplemented rows from the table.

Acceptance criteria

  • Every attribute listed in the table is actually emitted by ArcpTracing, or the unimplemented rows are removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    audit/docsAudit: documentation inaccuracysev/majorSeverity: major

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions