Repository navigation
Add kindling race keys - #31
Conversation
radiance records which kindling transport carried each request and how the others fared (getlantern/radiance#666). KindlingTransportAttr builds the per-transport form (kindling.smart.outcome) so spans carry every transport's outcome as groupable attributes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BW8kRuU5CnDvuK8jha5ear
|
Warning Review limit reachedOnly developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing. Next included review available in 51 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to This adds new telemetry attribute names and a helper for building transport-scoped names. It does not change how existing telemetry is produced or exported, so merge risk is minimal. Security Architecture Review
Pre-merge checks |
|
There was a problem hiding this comment.
🟡 Changes recommended
Duplicate transport names can silently overwrite race outcomes in flattened span attributes.
1 open finding
What changed in this PR
Adds canonical Kindling race telemetry keys and a helper for transport-scoped span attributes.
Changes:
- Defines Kindling winner and attempt attribute keys.
- Adds and tests transport-scoped key generation.
| File | Description |
|---|---|
custom.go |
Adds Kindling keys and transport-scoping helper. |
kindling_test.go |
Tests generated transport attribute names. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Review on #31 (Copilot). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BW8kRuU5CnDvuK8jha5ear
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BW8kRuU5CnDvuK8jha5ear

Adds attribute keys for kindling races, for getlantern/radiance#666. That PR records on each request's span which bootstrap transport carried it (
domainfront,smart,amp,soar) and what happened to the others, using kindling's newWithRaceObserver(getlantern/kindling#57).kindling.winner, plus attempt-event keyskindling.transport,.outcome,.status,.elapsed_msand.error.KindlingTransportAttr(transport, key)builds the per-transport span attributes, for examplekindling.smart.outcomeandkindling.smart.status. These let SigNoz filter and group by one transport's outcome, such as "IR clients wherekindling.smart.status = 403". Transport names come from the caller's kindling configuration, so cardinality is bounded.🤖 Generated with Claude Code
https://claude.ai/code/session_01BW8kRuU5CnDvuK8jha5ear
Summary by CodeRabbit