# Dashboards Specification

## Overview

Observability dashboards for monitoring platform health and performance.

## Indexer Lag Dashboard

### Metrics

- Current block vs indexed block (per chain)
- Time lag (minutes behind)
- Processing rate (blocks/minute)
- Historical lag trends

### Visualizations

- Lag over time (line chart)
- Current lag by chain (bar chart)
- Alert status (indicator)

## CCIP Message Lifecycle Dashboard

### Metrics

- Messages by status
- Success rate
- Average execution time
- Failure reasons

### Visualizations

- Message flow diagram
- Status distribution (pie chart)
- Latency over time
- Chain pair statistics

## Transaction Funnel Analytics

### Funnel Stages

1. Quote requested
2. User approved
3. Transaction signed
4. Transaction broadcast
5. Transaction confirmed

### Metrics

- Conversion rate at each stage
- Drop-off reasons
- Time at each stage

## System Health Dashboard

### Components

- Service health status
- Error rates
- Request rates
- Resource usage
- Database health

## References

- Metrics & Monitoring: See `metrics-monitoring.md`
- Logging: See `logging.md`

