Dashboard & Metrics

Track operations, estimated costs, usage trends, and performance metrics.

Overview

The Dashboard provides comprehensive visibility into your backend usage through Stackpane. Track operations, estimate costs, visualize usage trends, and monitor server-side performance metrics. The dashboard adapts to your active provider.

Activity Tracking

Stackpane tracks all operations performed through the app across all providers:

  • Database: reads, writes, and deletes (Firestore, PostgreSQL, DynamoDB)
  • Storage: uploads and downloads (Cloud Storage, Supabase Storage, S3)
  • Authentication: user management operations (Firebase Auth, GoTrue, Cognito)

Summary Cards

The dashboard displays summary cards for:

  • Total Operations — combined count of all tracked operations
  • Estimated Cost — calculated using Firebase’s published pricing
  • Firestore Cost — estimated cost for Firestore operations only
  • Storage Cost — estimated cost for Storage operations only

Each card includes a sparkline showing recent activity trends over the last 24 hours.

Time Periods

Use the period picker to view data for different time ranges:

  • Session — current Stackpane session only
  • Today — all operations today
  • 7 Days — last 7 days
  • 30 Days — last 30 days
  • All Time — complete history

Cost Estimation

Stackpane calculates estimated costs based on Firebase’s published pricing:

Firestore Costs

OperationRate
Readsper 100,000 operations
Writesper 100,000 operations
Deletesper 100,000 operations

Storage Costs

OperationRate
Uploadsper 10,000 operations
Downloadsper 50,000 operations

Authentication

Auth operations are shown by count. Firebase Auth is free up to 50,000 monthly active users.

Usage Trend Charts

Line charts show operation counts over time, grouped by category:

  • Reads, Writes, Deletes — Firestore operations
  • Uploads, Downloads — Storage operations
  • Auth — Authentication operations

Charts display hourly buckets for short periods and daily buckets for longer periods.

Performance Overview

The Performance Overview combines Cloud Monitoring metrics with collection data:

Server-Side Metrics

Charts for Firestore reads, writes, deletes, and rules evaluations fetched from Google Cloud Monitoring. Select time ranges of 1 hour, 6 hours, 24 hours, or 7 days.

Collection Heatmap

A treemap visualization showing relative collection sizes:

  1. Click Scan Collections to aggregate document counts.
  2. Rectangles are proportional to document count.
  3. Color intensity reflects estimated total size.
  4. Hover for tooltips with document count and estimated size.

Cost Projections

Estimated future Firebase costs based on current usage trends. Extrapolates historical patterns to project monthly costs.

Configuration

Configure dashboard behavior in Settings > Usage:

  • Retention period: Unlimited, 30 days, 90 days, 180 days, or 1 year
  • Default chart period: Last Hour, Last Day, Last Week, or Last Month
  • Manual cleanup: Clear records older than 7 days, 30 days, or all data

Tips

  • Check the dashboard after bulk operations to understand their cost impact
  • Use the performance overview to identify hot collections that receive the most traffic
  • Set a retention period to keep the local usage database manageable
  • Compare session costs to daily costs to understand your typical usage patterns