AI Debugging

Ask questions about your logs and events in plain English. The AI reads your actual data and provides grounded answers.

How It Works

The AI agent has access to these tools:

  • gql — search and aggregate your logs and events using GQL queries
  • get_schema — discover what data fields are available
  • get_alerts — check alert status and incident history
  • get_project_info — get project details
  • search_docs — search GoodLogs documentation for syntax help

It uses a self-evaluation loop: after gathering data, it checks if the answer is complete before responding. This means fewer hallucinations and more accurate responses.

Example Queries

  • → "Why are payments failing?"
  • → "Show me error trends for the last 24 hours"
  • → "Which users hit the most errors today?"
  • → "Compare signup events this week vs last week"
  • → "Are any alerts currently firing?"
  • → "What was the average response time for the billing service?"

Streaming Responses

Responses stream in real-time via SSE (Server-Sent Events). You see the AI's thinking process, tool calls, and final answer as they happen.

Charts

The AI can generate charts in its responses. When it runs a query with time-series or grouped data, it includes interactive charts (area, line, bar, pie, scatter) alongside the data.

Limits

AI queries are rate-limited per plan:

  • Free: 100 queries/day
  • Pro: 200 queries/day
  • Team: 500 queries/day