Repository navigation
feat: declare agent hosting mode extension telemetry field - #10973
Draft
Hui Miao (huimiu) wants to merge 1 commit into
Draft
Hui Miao (huimiu) wants to merge 1 commit into
Hui Miao (huimiu) wants to merge 1 commit into
Conversation
|
Azure Pipelines: 27 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
4 of 5 tasks
4 of 5 tasks
Hui Miao (huimiu)
force-pushed
the
hui/byo-aks-telemetry-contract
branch
from
November 18, 2026 08:14
d6435eb to
9af8682
Compare
Hui Miao (huimiu)
force-pushed
the
hui/byo-aks-telemetry-contract
branch
from
November 20, 2026 00:07
9af8682 to
8c09fe6
Compare
Hui Miao (huimiu)
force-pushed
the
hui/byo-aks-telemetry-contract
branch
from
November 23, 2026 00:12
8c09fe6 to
cc881e0
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
We need a core extension telemetry contract to count BYO AKS agent hosting runs during
azd provisionandazd upwithout coupling adoption tracking toagent.phase.completedtiming telemetry. This PR declaresext.agent.hosting.mode(byo_aksonagent.hosting.selected) and updates core governance tests and shared telemetry docs; runtime emission inazure.ai.projectslands in the stacked follow-up PR.Changes
AgentHostingMode(ext.agent.hosting.mode,SystemMetadata/FeatureInsight, endpointN/A) incli/azd/extensions/telemetry/fields.gocli/azd/extensions/telemetry/fields_test.goandcli/azd/cmd/telemetry_test.goagent.hosting.selectedevent contract,ext.agent.hosting.modeenum (byo_aks), and privacy scope indocs/reference/telemetry-data.mdanddocs/specs/metrics-audit/Telemetry change
What changed: declares
ext.agent.hosting.mode(byo_aks) forazure.ai.projectsext.usagespans whereextension.event="agent.hosting.selected". Field registration alone emits nothing in this PR. Once the stackedazure.ai.projectsPR lands, Foundry provisionDeployruns with effectiveagentHosting.enabled == trueresolved fromazure.yaml,$ref, or on-disk parameters will emit oneagent.hosting.selectedevent withext.agent.hosting.mode="byo_aks"before preview-gate, validation, preflight, and ARM deploy, whileazd provision --preview, projects withoutagentHosting,enabled: falseoverrides, and malformedagentHostinginputs emit noagent.hosting.selectedevent.Why it is needed: count BYO AKS provision attempts as a dedicated
FeatureInsightadoption signal, and join onoperation_Idwithcmd.provision,cmd.up, oragent.phase.completedfor outcomes (machine.idfor distinct machines) andagent.context.resolved(ext.agent.container.mode) for container packaging without resource IDs.Approval coverage (maintainer): pending assessment
"byo_aks"enum value is declared; emission and exclusion rules land in the stackedazure.ai.projectsPR (@huimiu)."byo_aks"enum.azure.ai.projectsPR (@huimiu).ext.usageconsumers are unaffected by the new event; maintainer to assign an analytics owner for new BYO AKS Kusto queries.@huimiu);azure.ai.projectsemission lands in the stackedazure.ai.projectsPR (@huimiu); metadata rollout and approval assessment are pending maintainer review; production Kusto query check is pending post-release rollout (@huimiuand maintainer-assigned analytics owner).Open questions or follow-ups: land stacked
azure.ai.projectsemission PR (@huimiu), maintainer approval-coverage assessment before rollout, and post-release Kusto query check (@huimiu).