Repository navigation
telemetry [20]: default to OptIn and add opt-out RPM - #910
Draft
bfjelds (bfjelds) wants to merge 1 commit into
Draft
bfjelds (bfjelds) wants to merge 1 commit into
bfjelds (bfjelds) wants to merge 1 commit 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. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Ignoring all configuration read errors can leave telemetry enabled despite an explicit opt-out when the file contains invalid UTF-8.
1 open issue
What changed in this PR
Changes Trident telemetry to default to OptIn and adds an RPM-based opt-out that preserves other agent settings.
Changes:
- Default missing telemetry configuration to
OptInand extend configuration tests. - Add
trident-telemetry-optout, which writes a persistent opt-out on installation or upgrade. - Update configuration documentation and startup status text to reflect the new default.
| File | Description |
|---|---|
packaging/rpm/trident.spec |
Adds the opt-out subpackage and configuration script. |
docs/Reference/Telemetry.md |
Documents default-enabled telemetry and opt-out options. |
docs/Reference/Agent-Configuration.md |
Explains defaults, RPM behavior, and when changes take effect. |
crates/trident/src/main.rs |
Removes outdated default-opt-out wording from status text and comments. |
crates/trident/src/agentconfig.rs |
Changes the telemetry default and adds unset-configuration tests. |
Review effort: Balanced
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 15:58
6417ba2 to
b5eb99c
Compare
This was referenced Oct 26, 2026
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 18:24
0f2546b to
4db6e06
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 18:52
4db6e06 to
78b2cea
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 19:25
78b2cea to
2525895
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 19:51
2525895 to
de49c55
Compare
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 20:14
de49c55 to
68efec3
Compare
Rebase onto agent configuration read-error handling. Preserve structured read errors instead of falling back to OptIn. Original layer head: b5eb99c Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 43cb811b-f191-4d90-852f-e3373041ca11
bfjelds (bfjelds)
force-pushed
the
user/bfjelds/telemetry-default-optin
branch
from
October 30, 2026 20:46
68efec3 to
3335c83
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.

Summary
Validation
At
b5eb99c180f9289dca716a143d0ea5504d3efeecon 2026-10-30:cargo fmt -- --check: passed.-D warnings): passed withgrpc-preview,dangerous-options,trident_api/documentation,functional-test,pytest-generator.functional-test.Prior packaging checks (2026-10-29, before the exact-tree-preserving reorder): RPM spec parsing, an opt-out RPM build using cached Trident binaries, and seven
--nodepsRPM transaction scenarios passed. The source Cargo build was skipped in that packaging validation copy. Full source rebuild, dependency-solver validation, VM lifecycle tests and live ingestion were not performed.Stack
Native stack 913, position 20/20. Positions 1-14 provide sink-neutral telemetry; positions 15-20 add telemetry preferences, shared transport, AppInsights and build/image/package integration.
Full-stack pipeline branch:
user/bfjelds/telemetry-default-optin(#910).Related PRs in stack: