GuidesMonitoring

Monitoring

Real-time observability for your Lizard deployments.

Dashboard

Access your project dashboard:

lizard dashboard

This opens the Lizard dashboard in your browser with real-time metrics.

Logs

Stream logs from your deployment:

lizard logs

Filter by level:

lizard logs --level error
lizard logs --level warn

Search logs:

lizard logs --search "database connection"

Metrics

Lizard tracks the following metrics automatically:

  • Request count — total requests per second
  • Response time — p50, p95, p99 latency
  • Error rate — percentage of 4xx/5xx responses
  • CPU usage — per-instance CPU utilization
  • Memory usage — per-instance memory consumption

Alerts

Set up alerts via the CLI:

lizard alerts create \
  --metric error-rate \
  --threshold 5 \
  --window 5m \
  --channel slack \
  --webhook https://hooks.slack.com/...

Health Checks

Configure health check endpoints:

// lizard.config.ts
export default defineConfig({
  healthCheck: {
    path: '/health',
    interval: 30,
    timeout: 5,
    healthyThreshold: 2,
    unhealthyThreshold: 3,
  },
});

Status Page

Lizard provides a public status page for your project:

lizard status-page enable --domain status.myapp.com