Search historical hosted-agent logs by time, severity, and text
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- azure, github, go
- Ambito
- cli, observability
Direzione di ricerca
Read the released monitor implementation at cli/azd/extensions/azure.ai.agents/internal/cmd/monitor.go and the linked hosted-agent tracing setup to understand current log sources and permissions. The issue says an experience spec must first settle command placement, filter semantics, output, and data sources, so implementation needs design work before a code entry point is clear. Done means the specified workflow covers retained data limits, filtering, isolation, output, failures, help, and examples.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Customer problem
An operator needs to answer questions such as "Which errors occurred for this deployed agent in the last hour?" or "Where did this timeout appear across sessions?" They should not need the original application checkout, a live session, or a hand-written telemetry query for these common investigations.
Current behavior
In released azure.ai.agents 1.1.0, azd ai agent monitor targets one hosted-agent session and supports console/system selection, a trailing line count of 1-300, and following new entries. It has no time-window, severity, or search-pattern filters.
Existing example:
azd ai agent monitor support --session-id "<session-id>" --type console --tail 100
Azure CLI and Application Insights/KQL can query retained application telemetry today. That workaround requires identifying the telemetry resource, applying the right agent filter, and carrying context between tools. Application Insights application logs are not guaranteed to contain every hosted-agent console line or system event.
Requested experience
Add an agent-scoped historical log-query workflow to the Agents extension, using available retained telemetry rather than treating a live session tail as a historical search.
Illustrative command shape, not an available command:
azd ai agent logs query --project-endpoint "$Project" --agent-name support --since 1h --level error --output json --no-prompt
The experience spec should settle command placement, time and text-filter semantics, output, and supported data sources before implementation.
Acceptance criteria
- Query a bounded relative or absolute time window for a known remote agent, with severity and text filtering and optional version/session narrowing where the data supports them.
- Support investigations across retained sessions without requiring
azure.yamlor a currently running session. - Carry the selected Foundry project and deployed-agent context into the query. Resolve connected telemetry where possible and provide explicit, actionable guidance when extra configuration is needed.
- Identify supported retained data sources and coverage. Do not assume the Application Insights
tracestable contains all console/system logs or promise reconstruction of data that was never collected. - Distinguish no matching records from missing telemetry configuration, unsupported data sources, and access failures. Explain relevant retention/sampling limits.
- Provide useful terminal output and stable JSON with timestamps and available agent/session/trace correlation. Define result limits and pagination.
- Preserve current monitor/follow behavior, reject incompatible selectors, and cover cross-agent isolation, time/filter behavior, and non-interactive failures. Update help and examples.
Related work and evidence
- #8289 concerns idle-session/live-monitor behavior. This request adds explicit historical time/filter queries and does not assume that issue's suspected runtime failure still reproduces.
- #9817 concerns deployment-stage failures before an agent session exists; that is a separate diagnostic path.
- Released monitor flags and session log path
- Azure CLI Application Insights query
- Foundry hosted-agent tracing setup and permissions
- Lingua principale
- Go
- Stelle
- 573
- Fork
- 387
- Merge medio
- 2g 20h
- PR unite (30g)
- 196
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azure-dev
-
bug customer-reported ext-agents
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[Issue] azd deploy fails with "multiple Azure Bots are bound to the same MsaAppID" because botServices list API returns duplicate entriesForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaagentic bug customer-reported ext-agents
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Azure/azure-dev#10333 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/docs area/environment area/public-docs engineering item
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Bundle the evaluations and dataset extensions in the Foundry meta-packageForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Map invocation lifecycle files to CLI regression scenariosForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaarea/docs engineering item ext-agents test automation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azure-dev
Issue simili
-
0.kind: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
automated-triage type/bug type/ci
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
hashicorp/terraform-provider-google#30678 ·
I maintainer di solito rispondono entro 1 giorno
-
effort:s impact:low raised-by:worker risk:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
medici-finance/assay#6323 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
ethereum-optimism/optimism#24120 ·
I maintainer di solito rispondono entro 1 giorno