SwiftClaw

Agents

OverviewBest Practices

Models

OverviewOptimization

Memory

OverviewManagement

Channels

OverviewChannels

Monitoring

OverviewDashboards

Tools

OverviewDebugging
SwiftClaw

Dashboards

Visualize agent performance with dashboards

Monitoring Dashboards

Create custom dashboards to visualize agent performance and health.

Default Dashboard

Access the default dashboard at https://dashboard.swiftclaw.app

Key Metrics

  • Response Time: p50, p95, p99 latencies
  • Throughput: Requests per second
  • Error Rate: Percentage of failed requests
  • Cost: Daily and monthly spend
  • Uptime: Availability percentage

Custom Dashboards

Create custom dashboards:

swiftclaw dashboards create my-dashboard \
  --agent my-agent \
  --metrics response-time,error-rate,cost

Dashboard Configuration

Configure dashboard layout:

{
  "dashboard": {
    "name": "Production Monitoring",
    "layout": [
      {
        "type": "timeseries",
        "metric": "response_time",
        "title": "Response Time",
        "size": "large"
      },
      {
        "type": "gauge",
        "metric": "error_rate",
        "title": "Error Rate",
        "size": "small"
      },
      {
        "type": "counter",
        "metric": "total_requests",
        "title": "Total Requests",
        "size": "small"
      }
    ]
  }
}

Widget Types

Time Series

Track metrics over time:

{
  "type": "timeseries",
  "metric": "response_time",
  "aggregation": "avg",
  "interval": "1m"
}

Gauge

Display current values:

{
  "type": "gauge",
  "metric": "error_rate",
  "threshold": {
    "warning": 2,
    "critical": 5
  }
}

Counter

Show totals:

{
  "type": "counter",
  "metric": "total_requests",
  "period": "24h"
}

Table

List recent events:

{
  "type": "table",
  "source": "errors",
  "columns": ["timestamp", "message", "user"],
  "limit": 10
}

Real-Time Updates

Dashboards update in real-time:

// Subscribe to real-time updates
const dashboard = new SwiftClawDashboard('my-agent');

dashboard.on('metric', (data) => {
  console.log('New metric:', data);
});

Sharing Dashboards

Share dashboards with your team:

swiftclaw dashboards share my-dashboard \
  --email team@example.com \
  --permission view

Embedding Dashboards

Embed dashboards in your app:

<iframe
  src="https://dashboard.swiftclaw.app/embed/my-dashboard"
  width="100%"
  height="600"
></iframe>

Alerts Integration

Link alerts to dashboards:

swiftclaw alerts create \
  --dashboard my-dashboard \
  --metric error-rate \
  --threshold 5%

Export Data

Export dashboard data:

swiftclaw dashboards export my-dashboard \
  --format csv \
  --period 7d \
  --output metrics.csv

Custom dashboards help you monitor what matters most for your agents.

How is this guide ?

Last updated on

Overview

Track agent performance and health

Overview

Extend agents with tools and integrations

On this page

Monitoring Dashboards
Default Dashboard
Key Metrics
Custom Dashboards
Dashboard Configuration
Widget Types
Time Series
Gauge
Counter
Table
Real-Time Updates
Sharing Dashboards
Embedding Dashboards
Alerts Integration
Export Data