Skip to content

feat(telemetry): logfire structured AI observability bridge #59

Closed

Description

@dan-petty

Problem or Motivation

Debugging multi-turn agent reasoning, tool call sequences, and scratchpad mutations requires high-density structured telemetry that bridges seamlessly between OpenTelemetry distributed traces and terminal formatters.

Proposed Solution & Architectural Design

  • Author native Pydantic Logfire integration in devops_cli.telemetry.logfire.
  • Bind Logfire spans to active OpenTelemetry tracer provider, propagating W3C traceparent headers.
  • Provide real-time agent turn visualization, prompt inspection, and token counter metrics.
  • Expose CLI configuration flag --logfire / --no-logfire with graceful fallback when Logfire credentials are not configured.

Standards Compliance

  • Strictly enforce cyclomatic complexity <= 10 and nesting depth <= 5.
  • Zero plaintext credential leakage; store API keys in OS Keyring.
  • Maintain >= 90% test coverage.

Activity

  1. added this to the v0.2.13 milestone on Sep 7, 2026
  2. added
    type/feature
    scope/telemetry
    priority/p2-medium
    on Sep 7, 2026
  3. dan-petty commented on Sep 9, 2026

    @dan-petty
    OwnerAuthor

    Completed and verified in #72, squash-merged into release branch release/v0.2.13.

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

    priority/p2-mediumscope/telemetrytype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions