refactor(observability): name each service after its application - #13699
juliusmarminge merged 6 commits into
Conversation
…plication Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR changes the default telemetry identity across server, desktop, web, mobile, and relay paths and removes the server’s configurable service-name setting. Existing telemetry queries and installations may need updates, so the default-change and cross-cutting runtime impact warrant human review. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingdotgg/t3code/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (20)
💤 Files with no reviewable changes (5)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughTelemetry resources now use fixed service names across server, desktop, mobile, web, and relay components. The server configuration no longer accepts a configurable OTLP service name. Tests and observability documentation reflect the updated names and resource attributes. ChangesOTLP service names
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to The fixed service identities appear consistent across the reviewed components. No identified issue prevents merging after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Existing telemetry queries and alerts may need to switch to the new service names during rollout. The reviewed changes do not show a new telemetry destination or a weakened export control, but collector-side rules were not available to check. Retained concerns
Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 14 files. (1 skipped: 1 unsupported.) Full details: Description checkExplanation The description explains the rationale and migration impact, but it does not follow the required template. It omits the "What Changed" heading, the checklist, and explicit confirmation that UI changes are not applicable. Resolution Rewrite the description using the required sections: "## What Changed", "## Why", and "## Checklist". Summarize the implementation changes under "What Changed", retain the rationale under "Why", state that UI changes are not applicable or remove that section, and complete the checklist.
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
## What's Changed * feat(desktop): honor the standard OTLP variables in the main process and WSL backends by @yordis in pingdotgg/t3code#13641 * fix(web): restore compact provider instance badges by @t3-code[bot] in pingdotgg/t3code#13700 * perf(mobile): lighter Home rows away from the viewport by @AKolenda in pingdotgg/t3code#13702 * fix(usage): price Cursor cache savings by base model by @Yash-Singh1 in pingdotgg/t3code#13731 * perf(mobile): render Home rows further ahead while scrolling by @AKolenda in pingdotgg/t3code#13705 * refactor(observability): name each service after its application by @yordis in pingdotgg/t3code#13699 * perf(server): stop remapping every thread on each thread event by @t3dotgg in pingdotgg/t3code#13720 * Remove unused items tracking from Claude adapter state by @t3dotgg in pingdotgg/t3code#13718 * feat(observability): name the command on subprocess spans by @t3dotgg in pingdotgg/t3code#13701 * fix(cli): t3 triage points agents at log files that exist by @t3dotgg in pingdotgg/t3code#13685 * fix(server): the SQLite WAL file shrinks back after large writes by @t3dotgg in pingdotgg/t3code#13684 * feat(cli): summarize the server trace file from the command line by @t3dotgg in pingdotgg/t3code#13698 * perf(server): pull request sync reads only threads with linked pull requests by @t3dotgg in pingdotgg/t3code#13704 ## New Contributors * @AKolenda made their first contribution in pingdotgg/t3code#13702 **Full Changelog**: pingdotgg/t3code@v0.0.43-nightly.20260925.2269...v0.0.43-nightly.20260926.2282 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.43-nightly.20260926.2282
OTEL_RESOURCE_ATTRIBUTESalready carries them, for example through the stabledeployment.environment.nameconvention. A configurable name adds nothing they cannot express.t3code-prefix and thet3codeservice.namespacekeep T3 Code's services grouped and distinguishable in a collector that also receives other applications, whether a backend groups by name or by namespace.T3CODE_OTLP_SERVICE_NAMEor querying the old names has to switch, which is cheaper now than after more dashboards depend on them.Summary by CodeRabbit
t3codenamespace.T3CODE_OTLP_SERVICE_NAME.OTEL_SERVICE_NAMEand service name or namespace values inOTEL_RESOURCE_ATTRIBUTESno longer override them.