Skip to content

Logs, metrics & alerts

Every deployment’s page shows, with no setup:

  • Uptime — the platform calls healthPath every minute.

With the observability SDK (assistants have it built in) you also get:

  • Request volume and error rate
  • p50 / p95 / p99 latency
  • LLM cost and tokens per model
  • Tool usage
  • A trace waterfall — see Tracing
  • A Safety section when guardrails are on

Data is kept for 14 days.

Logs come from the cloud’s own service — CloudWatch, Cloud Logging, Log Analytics — or the container on-prem.

Terminal window
agent-platform logs <deployment-id> # recent lines
agent-platform logs <deployment-id> --follow # live
agent-platform logs <deployment-id> --level warn --search timeout --since 1h --limit 200

The deployment page shows the same logs with level and search filters, re-reading every 5 seconds while it’s open.

Assistants write one readable line per step:

[info] chat: "Who was Ada Lovelace?" (1 message)
[info] model openai/gpt-4o-mini step 1: 640ms, 1374 in / 41 out tokens, tool calls: wikipedia
[info] tool wikipedia({"title":"Ada_Lovelace"}) ok in 212ms: {"type":"standard",...
[info] model openai/gpt-4o-mini step 2: 820ms, 2210 in / 126 out tokens, final answer
[info] POST /chat -> 200 in 1702ms

Failed tools are [warn], model errors [error]. With safety: on, message and tool text is replaced by [hidden: safety on] so personal data doesn’t reach your cloud logs. ASSISTANT_LOG=off turns these logs off.

monitoring:
enabled: true
alerts:
errorRate: "1%"
latencyP99: "500ms"
webhookUrl: https://hooks.slack.com/services/... # Slack or Microsoft Teams, https only

Alerts appear on the deployment page, where you can acknowledge them, and are sent to the webhook.