Repository navigation
telemetry [16]: report gRPC client transport failures - #893
Draft
bfjelds (bfjelds) wants to merge 2 commits into
Draft
bfjelds (bfjelds) wants to merge 2 commits into
bfjelds (bfjelds) wants to merge 2 commits into
Conversation
|
Azure Pipelines: 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
This was referenced Oct 26, 2026
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 26, 2026 01:33
2acd581 to
d179912
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Client telemetry incorrectly synthesizes servicing IDs that do not correlate with the daemon’s persisted servicing identity.
1 open issue
What changed in this PR
Extends the telemetry stack to correlate gRPC-client commands and report transport failures while avoiding duplicate reports of daemon errors.
Changes:
- Wraps client dispatch in command context and selectively reports servicing transport failures.
- Filters busy-daemon responses out of client error telemetry.
- Updates documentation for client correlation IDs and command-error reporting.
| File | Description |
|---|---|
docs/Reference/Telemetry.md |
Documents client correlation fields and error-reporting behavior. |
crates/trident/src/logging/operation_context.rs |
Updates module documentation for client context wiring. |
crates/trident/src/grpc_client/mod.rs |
Adds correlated dispatch and transport-error filtering. |
Review effort: Balanced
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 26, 2026 01:53
d179912 to
25e0afb
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 26, 2026 15:10
a1a2dec to
837f40d
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The telemetry documentation incorrectly promises command_error reporting for busy-lock and unprovisioned-host rejections, which neither the server nor client reports.
1 open issue
1 resolved since last review
Review effort: Balanced
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 28, 2026 00:06
3402573 to
1d75c6a
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 28, 2026 20:45
1d75c6a to
bca4953
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 28, 2026 21:58
bca4953 to
8a8be8e
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d0e7cadc-8f44-443f-affe-6ce8e856a218 Copilot-Session: 43cb811b-f191-4d90-852f-e3373041ca11
Document intentionally unreported busy and unprovisioned-host rejections without changing runtime behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 43cb811b-f191-4d90-852f-e3373041ca11
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/mjolnir/telemetry-grpc-client-errors
branch
from
October 28, 2026 22:58
8a8be8e to
e56fc08
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Correlate gRPC-client commands and report transport failures without double-counting daemon errors; update telemetry docs.
Document that busy-lock and unprovisioned-host admission-control rejections intentionally emit no
command_errorfrom either daemon or client; runtime behavior is unchanged.Rationale
Extracted from #778 to make the telemetry stack easier to review. Combined changes are unchanged.
Validation
git diff --check 837f40d5648465449de4f32333d269721ddbe77c 34025733f8bcb43940fa13a7cafdc476586b384dcargo test --locked --manifest-path /home/bfjelds/mjolnir-sandbox/trident-telemetry-split778-20261025-1743/Cargo.toml -p trident -p osutils -p trident_api --features trident/grpc-preview,trident/dangerous-options,trident_api/documentation -- command_kind:: logging:: cli:: engine::context:: config::host::tests virt::/home/bfjelds/mjolnir-sandbox.Related PRs in stack: