SS StackSense

Total Calls

0

Requests across selected period

Total Cost

$0.00

Estimated spend

Average Latency

0ms

Mean response time

Error Rate

0%

Failed requests / total requests

Cost Breakdown

Usage Over Time

📊 Token Usage

Total Prompt Tokens 0
Total Completion Tokens 0
Avg Prompt Tokens 0
Avg Completion Tokens 0

🔝 Top Models

No data available

💸 Most Expensive Calls

No data available

Recent Events

Time Provider Model Tokens Cost Latency Status
Loading events...

Add or Rotate API Key

Keys are encrypted before they are saved. Use labels like production or staging per provider.

Saved API Keys

Stored keys are shown as masked values only.

No API keys saved yet.

    Enterprise Add-On

    Enterprise runtime controls, governance, and gateway features ship as a separate private package. Install the add-on to enable these capabilities in the dashboard.

    ⚡ Dynamic Model Routing

    Route prompts to cost-effective models based on task complexity

    Add-on Install to enable

    🛑 Budget Enforcement

    Set spend limits with automatic circuit breakers

    Add-on Install to enable

    💰 Cost Optimization

    Identify token waste and inefficient prompts

    Estimated Waste $0.00
    Waste % 0%

    ⏱️ SLA-Aware Routing

    Route based on latency requirements

    Add-on Install to enable

    📋 Governance & Audit

    Audit trail for compliance

    Total Events 0
    Violations 0

    🤖 Agent Tracking

    Track workflows & detect loops

    Active Runs 0
    Loop Detections 0

    🔒 Policy Engine

    Allowlists, PII detection

    Add-on Install to enable

    Separate Package Boundary

    The open-source StackSense SDK stays clean and self-hosted. Enterprise routing, budgets, policies, audit tooling, agents, and the AI gateway live in a separate private package so they are not bundled into the OSS release artifact.

    📡 Live Monitoring

    Disconnected

    Real-time request metrics, alerts, and system health monitoring for the open-source SDK.

    🏥 System Health

    Loading health status...

    🚨 Live Alerts

      📊 Prometheus Metrics

      Access raw Prometheus metrics at /metrics

      Endpoint: /metrics
      Format: Prometheus Exposition Format
      Available Metrics:
      • stacksense_requests_total - Total requests by feature
      • stacksense_request_duration_seconds - Request latency
      • stacksense_request_errors_total - Request errors
      • stacksense_system_health - Component health

      Additional enterprise metrics appear when the private add-on package is installed.

      Google OAuth Setup

      1. Create an OAuth 2.0 client in Google Cloud Console.
      2. Add this redirect URI:
      3. Set environment variables before running the dashboard.
      STACKSENSE_GOOGLE_CLIENT_ID=your_client_id
      STACKSENSE_GOOGLE_CLIENT_SECRET=your_client_secret
      STACKSENSE_SESSION_SECRET=change_this_secret
      STACKSENSE_ENCRYPTION_KEY=change_this_encryption_key

      How Account Storage Works

      • A user record is created on first Google login.
      • Each account gets isolated API key records in the database.
      • API keys are encrypted before they are persisted.
      • The dashboard only returns masked key hints to the UI.