Para agentes de IA: hay un índice de documentación disponible en https://www.mongodb.com/es/docs/llms.txt — versiones en markdown de todas las páginas están disponibles agregando .md a cualquier ruta URL.

registro de agentengine

Transmitir registros de tiempo de ejecución del agente.

Ver registros de tiempo de ejecución de agentes y herramientas para un espacio de trabajo.

Las querys interactivas cubren como máximo 6 horas; query rangos más largos en varias ventanas de como máximo 6 horas. --since acepta una duración (1h por defecto) o un RFC3339 timestamp. --tail devuelve las entradas más recientes, limitado a 5000; utilice --all para la ventana completa.

Los registros existen solo después de que el espacio de trabajo se haya implementado. Para los diagnósticos propios de la CLI, utilice agentengine debug logs.

Ejemplos:

agentengine logs --followagentengine logs --source agent --level error --grep "connection refused"
agentengine logs [flags]
--all Fetch all logs in the time range (auto-paginates through all pages within the 6-hour interactive window) --base-url string Platform base URL --context string Named context to target (see 'agentengine context list') --execution-id string Filter by execution ID-f, --follow Continuously poll for new logs --grep string Search log messages (case-insensitive substring match)-h, --help help for logs --json Output logs as JSON --level string Log level(s) to match exactly (debug, info, warn, error), comma- or space-separated --org-id string Organization ID --project-id string Project ID --session-id string Filter by session ID --since string Start time as duration (e.g. 30m, 2h) or RFC3339 timestamp (default "1h", maximum "6h") --source string Filter by source sandbox(s) (agent, tool), comma- or space-separated --tail int Number of most-recent entries to return (capped at 5000; use --all for the full window) (default 500) --until string End time as duration (e.g. 5m) or RFC3339 timestamp (default: now) --workspace string Monorepo: select a specific workspace by name (from root agent.yaml) --workspace-id string Workspace ID
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
Califique esta página