Observability¶
IsardVDI includes a self-contained observability stack. It collects metrics and logs from the platform and its hosts. The stack evaluates alert rules and visualizes data in Grafana. This page describes the stack, the containers involved, and the isardvdi.cfg keys that control it.
All keys mentioned here are documented in the configuration reference. The admin-facing dashboards are described in Metrics → Monitoring.
Overview¶
The observability stack is deployed only when the stats flavour is enabled. Enable it using the top-level key:
When enabled, the following containers form the observability pipeline:
| Container | Role |
|---|---|
isard-grafana-alloy |
Collector/agent. Scrapes metrics and extracts logs from the host and containers. Ships metrics to VictoriaMetrics and logs to Loki. |
isard-victoriametrics |
Time-series database for storing metrics. |
isard-vmalert |
Evaluates alerting and recording rules against VictoriaMetrics. |
isard-loki |
Log aggregation store. |
isard-grafana |
Visualization and dashboards. |
isard-stats-go |
IsardVDI stats collector (hypervisor, domain, system, socket, API, and authentication collectors). |
isard-stats-rethinkdb |
RethinkDB instance backing the IsardVDI stats service. |
isard-grafana-alloy acts as the single collector. It gathers node and container metrics (bundling cAdvisor and node-exporter functionality) and forwards them to isard-victoriametrics. It also tails container logs and forwards them to isard-loki. isard-vmalert reads from and writes to VictoriaMetrics to evaluate rules mounted under docker/vmalert/rules. isard-grafana is provisioned with VictoriaMetrics and Loki as data sources.
Metrics — VictoriaMetrics¶
Metrics are stored in VictoriaMetrics. Two keys control this component:
VICTORIAMETRICS_ADDRESS— The address used by the collector and Grafana to reach VictoriaMetrics. The default points to the internal container. Change this value to send metrics to an external or infrastructure VictoriaMetrics instance.VICTORIAMETRICS_RETENTION_TIME— The duration for which metrics are retained. The default is40d.
Logs — Loki¶
Logs are stored in Loki.
LOKI_ADDRESS: The address used by the collector, stats service, and Grafana to reach Loki.LOKI_RETENTION_TIME: The log retention period (default40d).
Visualisation — Grafana¶
Grafana is served through the portal proxy at https://[DOMAIN]/monitor and is provisioned with the datasources described above. The following configuration keys are relevant:
GRAFANA_HOST=isard-grafana
GRAFANA_WEBAPP_URL=https://[DOMAIN]:[PORT]/[PATH]
GRAFANA_TELEGRAM_TOKEN=
GRAFANA_TELEGRAM_TOKEN_ORCHESTRATOR=
GRAFANA_TELEGRAM_CHAT_ID=
GRAFANA_TELEGRAM_CHAT_ID_ORCHESTRATOR=
GRAFANA_HOST— Connects the webapp menu to an internal infrastructure Grafana instance reachable through the portal proxy athttps://[DOMAIN]/monitor.GRAFANA_WEBAPP_URL— Sets a custom, publicly accessible Grafana URL for the webapp menu links.GRAFANA_TELEGRAM_*— Used when provisioning Grafana alerting to send notifications to Telegram. The_ORCHESTRATORvariants target the orchestrator's channel.
The initial Grafana admin password is shared with the web admin password (WEBAPP_ADMIN_PWD).
Optional: tracing and profiling¶
These pipelines are disabled by default and are only needed for deep performance and latency investigation.
Profiling — Pyroscope¶
PYROSCOPE_EBPF— Enables eBPF-based continuous profiling collection.PYROSCOPE_ADDRESS— Specifies where profiles are sent. Grafana includes thegrafana-pyroscope-appplugin to view them.
Tracing — Tempo¶
TEMPO— Enables distributed tracing.TEMPO_ADDRESS— Specifies the Grafana Tempo datasource endpoint.TEMPO_ADDRESS_OTEL_GRPC— Specifies the OTLP/gRPC endpoint where traces are sent.
Optional: browser telemetry (Faro)¶
Grafana Faro captures Vue 3 frontend errors, including uncaught exceptions, unhandled promise rejections, and console.error/console.warn messages. It sends this data to Loki via Grafana Alloy.
FARO_ENABLED— Enables browser telemetry. Requires the stats flavour.FARO_URL— The Faro receiver endpoint. Defaults to the internal collector path. Set this to an external receiver (such as Grafana Cloud) if you are not running the stats flavour.
IsardVDI stats¶
isard-stats-go collects IsardVDI-specific statistics using a set of collectors: hypervisor, domain, system, socket, IsardVDI API, IsardVDI authentication, OCI, and conntrack. You can enable each collector individually using the STATS_COLLECTORS_* environment variables. The collected data is exposed as metrics and logs to the monitoring stack. See the configuration reference for the full list of options.
Historical note¶
This stack uses VictoriaMetrics, Loki, and Grafana Alloy. It replaced the earlier InfluxDB-based stats stack. References to influxdb may still appear in older configuration comments, such as the shared admin password comment. InfluxDB is no longer part of the observability pipeline.
See also¶
- Metrics → Monitoring — Admin dashboards.
- Configuration reference — All configuration keys mentioned above.