License Server Setup
Set up the mirrord dashboard served by a self-hosted license server
This is the dashboard for self-hosted installs, nothing leaves your cluster. It reads from your license server's existing session database, so historical usage data appears immediately once enabled.
Quick Start
Add
dashboard.enabled: trueto your license server Helm values:
# values.yaml
dashboard:
enabled: trueUpgrade the license server:
helm repo update metalbear
helm upgrade mirrord-operator-license-server metalbear/mirrord-license-server -f ./values.yaml --waitVia
kubectl port-forward: Forward the dashboard port to your local machine:
kubectl port-forward -n mirrord svc/mirrord-operator-license-server 8050:8050Open http://localhost:8050/ in your browser.
Target workload breakdowns (namespace, deployment name) are available for sessions recorded after the upgrade.
Helm Configuration
dashboard.enabled
false
Enable the dashboard
dashboard.port
8050
Port the dashboard is served on
The chart automatically configures the container port, service port, and required environment variables when dashboard.enabled is set to true.
API Endpoints
The dashboard consumes two API endpoints from the license server. These are also available for programmatic access:
GET /api/v1/reports/usage?format=jsonreturns the full usage report (users, targets, sessions, CI metrics, machines).GET /api/v1/reports/usage/trends?days=30returns time-series data (daily sessions, active users, CI sessions, user adoption).
Both endpoints require the x-license-key header. This is the license key configured in the license server's Helm values (license.key). When the dashboard is served by the license server, this header is injected automatically. For direct API access (e.g., via curl), pass it manually:
For spreadsheet reports (Excel format), see Getting a Utilisation Report (../license-server.md#getting-a-utilisation-report-from-the-license-server)
Last updated
Was this helpful?

