Console Advanced Features
Beyond basic API and tenant management, the Console provides dashboards and operational tools for platform administrators.
Tenant Dashboardβ
Each tenant has a dedicated dashboard showing real-time metrics sourced from Prometheus.
Metrics Displayedβ
| Metric | Source | Description |
|---|---|---|
| Request rate | stoa_http_requests_total | Requests per second |
| Error rate | stoa_http_requests_total{status=~"5.."} | 5xx errors per second |
| P95 latency | stoa_http_request_duration_seconds | 95th percentile response time |
| Active subscriptions | Control Plane API | Count of approved subscriptions |
| Published APIs | Control Plane API | Count of APIs in catalog |
Time Rangeβ
Select from 1h, 6h, or 24h ranges. Data refreshes automatically every 15 seconds.
Accessingβ
Navigate to Tenants in the sidebar, select a tenant, then click Dashboard.
Operations Dashboardβ
Platform-wide operational view available to cpi-admin users.
Overview Cardsβ
| Card | Thresholds |
|---|---|
| Error rate | Good: 0-1%, Warning: 1-5%, Critical: above 5% |
| P95 latency | Good: 0-500ms, Warning: 500ms-2s, Critical: above 2s |
| Requests/min | Informational (no threshold) |
| Active alerts | Count from Alertmanager |
| Uptime | Percentage over selected window |
Recent Deploymentsβ
Shows the latest deployments across all components with:
- Component name and version
- Deployment timestamp
- Sync status (for ArgoCD-managed components)
- Health status
Accessingβ
Navigate to Operations in the sidebar (visible to cpi-admin only).
Gateway Managementβ
Gateway Listβ
View all registered gateway instances with their status:
| Column | Description |
|---|---|
| Name | Gateway display name |
| Type | stoa, kong, gravitee, webmethods |
| Status | online, offline, degraded |
| APIs synced | Number of APIs deployed to this gateway |
| Last health check | Timestamp of last successful check |
Gateway Registrationβ
Register a new gateway instance:
- Navigate to Gateways in the sidebar
- Click Register Gateway
- Select the gateway type
- Enter the base URL and admin credentials
- Click Test Connection to verify
- Click Register
The gateway appears in the list after a successful health check.
Gateway Modesβ
For STOA Gateway instances, view and manage the active mode:
- Edge MCP β Production mode with full MCP protocol support
- Sidecar β Policy enforcement alongside existing gateways
- Proxy β API transformation and routing
- Shadow β Traffic observation for API discovery
See Gateway Modes for configuration details.
Error Snapshotsβ
Capture and analyze API errors for debugging.
What's Capturedβ
When an API returns an error (4xx or 5xx), the Console can capture:
- Request method, path, and headers
- Response status code and body
- Upstream response time
- Tenant and API context
Viewing Snapshotsβ
- Navigate to Error Snapshots in the sidebar
- Filter by API, status code, or time range
- Click a snapshot to see full request/response details
Retentionβ
Error snapshots are stored for 7 days by default. Adjust retention in the platform configuration.
API Discovery (Shadow Mode)β
When a STOA Gateway runs in Shadow mode, it passively observes API traffic and discovers undocumented endpoints.
Discovery Auditβ
The Shadow Discovery page shows:
- Discovered endpoints not yet in the API catalog
- Traffic patterns (method, path, frequency)
- Suggested OpenAPI fragments based on observed payloads
- Recommendations for adding endpoints to the catalog
This is useful for brownfield environments where existing APIs lack documentation.
Request Explorerβ
Inspect individual API requests for debugging:
- Navigate to Request Explorer in the sidebar
- Select an API and time range
- Browse request/response pairs
- Filter by status code, latency, or consumer
Available to cpi-admin and tenant-admin roles.
Observability Dashboardβ
The Console embeds Grafana dashboards for deep-dive monitoring:
- Click Observability in the sidebar
- Access pre-built STOA dashboards (request rates, latency histograms, error breakdowns)
- Requires Grafana OIDC integration with Keycloak (see Monitoring)
RBAC Visibilityβ
| Feature | cpi-admin | tenant-admin | devops | viewer |
|---|---|---|---|---|
| Tenant Dashboard | All tenants | Own tenant | Own tenant | Own tenant |
| Operations Dashboard | Yes | No | No | No |
| Gateway Management | Yes | No | No | No |
| Error Snapshots | All tenants | Own tenant | Own tenant | Own tenant (read) |
| Request Explorer | All tenants | Own tenant | Own tenant | No |
Relatedβ
- Console Guide -- Basic Console usage
- Gateway Modes -- Mode configuration
- Monitoring -- Prometheus and Grafana setup
- Multi-Gateway Setup -- Adapter orchestration