Backend VM Monitoring Deployment Checklist
Use this checklist for a backend/application VM with none of the V1 monitoring components installed.
1. Prepare
- Confirm supported OS/architecture.
- Confirm Node.js 22+ for the Discovery VM agent.
- Confirm MySQL/backend services are healthy.
- Confirm access to Discovery, Loki, and Prometheus.
- Obtain the VM_AGENT Discovery credential.
- Obtain the exact Discovery VM-agent package release to deploy; do not use a package copied into the Observability Platform repository.
2. Install exporters
Linux:
- node_exporter 1.9.1
- mysqld_exporter 0.18.0
- dedicated MySQL monitoring account
- verify 127.0.0.1:9100/metrics and 127.0.0.1:9104/metrics
Windows:
- windows_exporter 0.31.8
- verify 127.0.0.1:9182/metrics
3. Install Alloy
- Install Alloy 1.10.2.
- Install the static/bootstrap configuration.
- Configure Loki output.
- Configure Prometheus remote write output.
- Keep the Alloy HTTP API local unless external access is explicitly required.
- Verify
/-/ready.
4. Install the VM Discovery agent
- Supply and install the approved Discovery agent package from the Discovery Service release. Set
DISCOVERY_AGENT_PACKAGEor pass--agent-package; the Observability Platform repository does not bundle the agent package. - Create the protected agent configuration.
- Configure VM identity, backend role, exporter endpoints and component versions.
- Keep the generated Alloy file separate from administrator-owned static configuration.
- Do not configure service-management commands in
agent.json. The agent uses Alloy's localhost HTTP reload API on both Linux and Windows.
5. Configure Discovery membership
- Bind the VM-agent credential to its Discovery resource during first registration.
- Add the resource to
backend-servicesunless a distinct telemetry policy is required. - Use
filemanagersonly when that VM needs a separate telemetry policy.
6. Reconcile
The agent should authenticate, resolve/register identity, report capabilities/endpoints, retrieve desired state, render compatible Alloy configuration, validate it, apply atomically, reload Alloy, verify runtime state, and report reconciliation status.
7. End-to-end verification
Discovery desired state
-> VM Discovery agent
-> generated Alloy configuration
-> Alloy
-> Prometheus/Loki
A temporary Discovery outage retains the last-known-good generated configuration. Missing capabilities do not cause the agent to install software or fabricate telemetry.