Skip to content

Add direct unit tests for app/services/grafana/tempo.py #882

@VaibhavUpreti

Description

@VaibhavUpreti

Why This Matters

Tempo trace parsing is important for RCA quality, but there is no direct service test module for it.

Read First

  • app/services/grafana/tempo.py

Scope

  1. Add direct tests for the mixin using the same fake-client pattern as the Loki/Mimir tests.
  2. Cover one successful trace-query response.
  3. Cover the failure envelope.

Tests / Coverage

  • tests/services/test_grafana_tempo.py
  • cover trace parsing
  • cover not-configured behavior
  • cover exception handling

Acceptance Criteria

  • Tempo behavior has direct unit coverage
  • tests stay isolated from tool formatting
  • result keys remain stable

Metadata

Metadata

Assignees

Labels

testsTest coverage and test organization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions