Overview
The Decision Engine relies on data sources to build its cluster model and collect performance metrics. The available data source determines which optimization strategies can be used. The Compute API data source is always active. Prometheus and Telemetry are optional and unlock additional strategies.Data Source Overview
| Data Source | Provides | Required For |
|---|---|---|
| Compute API | Host inventory, vCPU/memory usage, VM placement | All strategies — always active |
| Prometheus | Infrastructure metrics (node CPU, temperature) | outlet_temperature, saving_energy |
| Telemetry (Ceilometer) | Historical per-instance CPU, memory metrics | workload_stabilization, noisy_neighbor |
| IPMI | Server power state, inlet temperature | outlet_temperature (physical temperature) |
Compute API Data Source
The Compute API data source is enabled by default and requires no additional configuration. It provides:- Real-time host inventory and hypervisor utilization
- Current instance placement (which instance runs on which host)
- vCPU and memory allocation per host
Verify Compute API data source is working
Prometheus Data Source
- XDeploy
- CLI
Enable Prometheus Monitoring
Open XDeploy and navigate to Configuration. Select the Monitoring tab
and toggle Enable Prometheus to Yes.
Configure Custom Data Source Settings (Optional)
For advanced Prometheus configuration, navigate to Advanced Configuration.
In the Service Tree (left panel), select watcher. Click New File or
select an existing
watcher.conf from the File Browser (right panel).Add the following in the Code Editor (center panel):/etc/xavs/config/watcher/watcher.conf
Validation
Validation
Test Prometheus connectivity
"success"Verify temperature metrics are available
Telemetry Data Source
Telemetry integration requires the Xloud Telemetry service (Ceilometer) to be deployed and collecting per-instance metrics.Configuration
Configuration
/etc/xavs/watcher/watcher.conf
Validation
Validation
Check available metrics from Telemetry
Check cpu_util metrics
workload_stabilization, at least 2–4 hours of metric history is required
before the strategy produces meaningful recommendations.Data Source and Strategy Matrix
| Goal | Compute API | Prometheus | Telemetry |
|---|---|---|---|
| Server Consolidation | Required | - | - |
| Energy Savings | Required | Optional | - |
| Zone Rebalancing | Required | - | - |
| Thermal Optimization | Required | Required (temp) | - |
| Workload Stabilization | Required | - | Required |
| Noisy Neighbor | Required | - | Required |
Next Steps
Strategy Configuration
Tune strategy parameters for each configured data source.
Custom Strategies
Build strategies using data from these configured sources.
Troubleshooting
Diagnose data source connectivity failures.
Architecture
Review how data sources feed into the Decision Engine pipeline.