Repository navigation
feat: add BYO AKS marker to Foundry provision telemetry - #10972
Closed
Hui Miao (huimiu) wants to merge 1 commit into
Closed
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. |
Member
Author
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 cannot yet see how many
azd provisionorazd upruns use BYO AKS agent hosting. This change addsext.agent.hosting.byo_aks="true"to the existingazure.ai.projectsproviderprovisionagent.phase.completedevent whenagentHosting.enabledresolves totrue, before the preview gate, local validation, preflight, and ARM deploy.Changes
AgentHostingBYOAKS(ext.agent.hosting.byo_aks,SystemMetadata/FeatureInsight, endpointN/A) in core extension telemetry fieldsphasetelemetry.BYOAKS(ctx)inazure.ai.projectsand mark providerprovisiontiming inresolveTemplateSourceandprepareBYOwhenbyoHostingParameterresolvesenabled: trueReportUsageprovisioning tests for BYO AKS success, unset preview flag, validation/preflight/policy failures,enabled: falseoverrides, malformedagentHostinginputs,azd provision --preview, and omitted resource IDsazure.ai.projects,azure.ai.agents, and shared telemetry and privacy docsTelemetry change
What changed:
azure.ai.projectsadds optionalext.agent.hosting.byo_aks="true"to existingext.usagespans whereextension.event="agent.phase.completed",ext.agent.phase.name="provision", andext.agent.phase.scope="provider", sourced frombyoHostingParameter(source)when effectiveagentHosting.enabled == trueinazure.yaml,$refservice files, or on-disk deployment parameters. Before: providerprovisioncompletion sentext.agent.phase.name,ext.agent.phase.scope,ext.agent.phase.outcome,ext.agent.phase.duration_ms, andext.agent.phase.attempt_id. After: BYO AKS runs addext.agent.hosting.byo_aks="true"beside those fields, while other phases,commandscope,agent.phase.step,azd provision --preview, projects withoutagentHosting,enabled: falseoverrides, and malformedagentHostinginputs omit it.Why it is needed: count BYO AKS provisioning attempts and inspect their outcomes, and join on
operation_Idwithcmd.provision,cmd.up,machine.id, andagent.context.resolved(ext.agent.container.mode) without new events or resource IDs.Approval coverage (maintainer): pending assessment
"true"marker.ext.usageconsumers are unaffected by the optional attribute; maintainer to assign an analytics owner for new BYO AKS Kusto queries.@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: maintainer approval-coverage assessment before rollout, plus post-release Kusto query check after
azure.ai.projectsships (@huimiu).