Skip to content

Commit cc5b35c

Browse files
committed
Enhance Traces documentation to reflect completion of Trace-to-Metric Exemplars feature
1 parent 9ec942c commit cc5b35c

1 file changed

Lines changed: 4 additions & 17 deletions

File tree

Internal/Roadmap/Traces.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following features have been implemented:
4242
| Latency breakdown / critical path | **Yes** | Per-hop latency, bottleneck detection | No | BubbleUp (Honeycomb) | ~~P1~~ Done |
4343
| In-trace search | **Yes** | Yes | No | No | ~~P1~~ Done |
4444
| Per-trace service map | **Yes** | Yes (Map view) | No | No | ~~P1~~ Done |
45-
| Trace-to-metric exemplars | None | Pivot from metric graph to traces | Metric-to-trace linking | Prometheus exemplars | **P1** |
45+
| Trace-to-metric exemplars | **Yes** | Pivot from metric graph to traces | Metric-to-trace linking | Prometheus exemplars | ~~P1~~ Done |
4646
| Custom metrics from spans | None | Generate count/distribution/gauge from tags | Via NRQL | SLOs from span data | **P2** |
4747
| Structural trace queries | None | Trace Queries (multi-span relationships) | Via NRQL | TraceQL spanset pipelines | **P2** |
4848
| Trace comparison / diffing | None | Partial | Side-by-side comparison | compare() in TraceQL | **P2** |
@@ -179,22 +179,9 @@ Without these, users cannot answer basic questions like "is my service healthy?"
179179

180180
## Phase 3: Advanced Analytics & Correlation (P2) — Power Features
181181

182-
### 3.1 Trace-to-Metric Exemplars
182+
### ~~3.1 Trace-to-Metric Exemplars~~ ✅ Done
183183

184-
**Current**: Metric model has no traceId/spanId fields.
185-
**Target**: Link metric data points to trace IDs; show exemplar dots on metric charts that navigate to traces.
186-
187-
**Implementation**:
188-
189-
- Add optional `traceId` and `spanId` columns to the Metric ClickHouse model
190-
- During metric ingestion, extract exemplar trace/span IDs from OTLP exemplar fields
191-
- On metric charts, render exemplar dots at data points that have associated traces
192-
- Clicking an exemplar dot navigates to the trace view
193-
194-
**Files to modify**:
195-
- `Common/Models/AnalyticsModels/Metric.ts` (add traceId/spanId columns)
196-
- `Telemetry/Services/OtelMetricsIngestService.ts` (extract exemplars)
197-
- `App/FeatureSet/Dashboard/src/Components/Metrics/MetricGraph.tsx` (render exemplar dots)
184+
Implemented: Metric model has `traceId`/`spanId` columns. Exemplar trace/span IDs are extracted during OTLP metric ingestion. Metric charts render clickable exemplar dots (purple) that navigate to the trace view.
198185

199186
### 3.2 Custom Metrics from Spans
200187

@@ -315,7 +302,7 @@ Without these, users cannot answer basic questions like "is my service healthy?"
315302
3. **Quick Wins** - Ship top-N operations, error rate by service, trace duration histogram, span count display
316303
4. **Phase 1.3** - Trace-Based Alerting (core observability workflow)
317304
5. **Phase 1.4** - Head-Based Sampling (essential for high-volume users)
318-
6. **Phase 3.1** - Trace-to-Metric Exemplars
305+
6. ~~**Phase 3.1** - Trace-to-Metric Exemplars~~ ✅ Done
319306
7. **Phase 3.2-3.4** - Custom metrics, structural queries, comparison
320307
8. **Phase 4.x** - AI/ML, RUM, profiling (long-term)
321308

0 commit comments

Comments
 (0)