Skip to content

telemetry [17]: complete servicing outcome metrics - #894

Draft
bfjelds (bfjelds) wants to merge 1 commit into
user/bfjelds/mjolnir/telemetry-grpc-client-errorsfrom
user/bfjelds/mjolnir/telemetry-servicing-outcomes
Draft

bfjelds (bfjelds) wants to merge 1 commit into
user/bfjelds/mjolnir/telemetry-grpc-client-errorsfrom
user/bfjelds/mjolnir/telemetry-servicing-outcomes

Conversation

@bfjelds

@bfjelds bfjelds (bfjelds) commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Description

Add rollback-start and runtime/streaming success metrics; archive runtime outcomes after reporting errors or success.

Rationale

Extracted from #778 to make the telemetry stack easier to review. Combined changes are unchanged.

Validation

Source Command or check Result Notes
Agent cargo 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:: Passed 115 targeted unit tests; run from /home/bfjelds/mjolnir-sandbox.
Agent Git tree comparison Passed Final split tip exactly matches original #778; restacked #779/#781 trees unchanged.
Agent VM functional tests Not run Require a VM; only host-safe unit tests were run.
CI Pipeline checks Not run Not evaluated as part of this split; results above are local.

Related PRs in stack:

@azure-pipelines

Copy link
Copy Markdown
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.

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch from 702ede5 to 04cf218 Compare October 26, 2026 01:33
@bfjelds bfjelds (bfjelds) changed the title telemetry: complete servicing outcome metrics telemetry [17]: complete servicing outcome metrics Oct 26, 2026
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 26, 2026 01:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

No-op rollback requests emit unmatched start events, incorrectly counting rollbacks that never begin.

1 open issue
What changed in this PR

Completes servicing outcome telemetry in Trident’s telemetry stack by adding success signals and archiving runtime metrics after outcomes are reported.

Changes:

  • Adds streamed-install, runtime-update, and runtime-rollback success metrics.
  • Adds manual-rollback start telemetry and request-kind debug support.
  • Moves runtime-update metric archival after success or error reporting.
File Description
crates/​trident/​src/​lib.rs Reports streamed-install success.
crates/​trident/​src/​engine/​runtime_update.rs Reports runtime outcomes before archiving metrics.
crates/​trident/​src/​engine/​manual_rollback/​utils.rs Derives traits used by rollback request telemetry.
crates/​trident/​src/​engine/​manual_rollback/​mod.rs Adds rollback-start and runtime-rollback success metrics.

Review effort: Balanced

Comment thread crates/trident/src/engine/manual_rollback/mod.rs Outdated
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch from 04cf218 to 7c7ca8e Compare October 26, 2026 01:53
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 26, 2026 01:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused telemetry changes preserve servicing behavior, resolve the prior no-op reporting issue, and have no identified blocking issues.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch 2 times, most recently from 408231d to f96a243 Compare October 27, 2026 21:39
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 27, 2026 21:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues remain in outcome reporting or archive ordering, and the previously reported no-op rollback issue is resolved.

No open issues 🎉

Review effort: Balanced

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch from f96a243 to cb0f614 Compare October 28, 2026 00:06
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 28, 2026 00:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the servicing outcome metrics changes.

No open issues 🎉

Review effort: Balanced

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch from cb0f614 to 44015e5 Compare October 28, 2026 20:45
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 28, 2026 20:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the servicing outcome telemetry changes.

No open issues 🎉

Review effort: Balanced

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch from 44015e5 to a0e6b61 Compare October 28, 2026 21:58
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 28, 2026 22:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the servicing outcome telemetry changes.

No open issues 🎉

Review effort: Balanced

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d0e7cadc-8f44-443f-affe-6ce8e856a218

Copilot-Session: 43cb811b-f191-4d90-852f-e3373041ca11
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/mjolnir/telemetry-servicing-outcomes branch from a0e6b61 to 90148de Compare October 28, 2026 22:58
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 28, 2026 23:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the servicing telemetry changes.

No open issues 🎉

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants