Blind spots
The Blind spots page shows which compute assets the platform does not see well (no agent, no monitoring check, stale inventory, stale discovery) and which sources stopped bringing data, so a healthy dashboard is not just the result of missing data.
Overview
Open Blind spots (/dashboard/coverage) in the Discovery section of the sidebar, right after Monitoring. Any authenticated user can see it. The page shows the coverage percentages overall and per environment and team, the uncovered assets with the suggested action, and the stalled sources with their cause. The environment and team filters, the gap filter, the search and the page are kept in the URL, so Back/Forward and shared links keep the same view.

Compute assets
Coverage is computed for active assets whose asset_type is in COVERAGE_COMPUTE_ASSET_TYPES (default server, vm, virtual_machine, k8s_node, esxi_host; CSV). The evidence of an asset is the asset itself plus, for a VM or server discovered by vSphere or a cloud, the active agent host (external_id agent-host:<agent_id>) with the same short name: lowercase, the part before the first dot. So the VM "web01" is covered by the agent host "web01.corp". A short name shared by agent hosts of different agents (e.g. "web01.corp" and "web01.dmz") is ambiguous: the VM is not correlated to either and is evaluated on its own data. The same machine can appear twice (agent host and VM), but the VM is not reported as uncovered.
Indicators
Each compute asset gets four indicators:
- Agent: an active, non-disabled agent of the asset or of its correlated agent host was seen in the last COVERAGE_AGENT_MAX_AGE_HOURS (default 24)
- Monitoring: at least one active health check (Prometheus, Alertmanager, Zabbix, Tempo, agent) on the evidence
- Inventory: the newest present software component of the evidence was seen in the last COVERAGE_INVENTORY_MAX_AGE_HOURS (default 24); no component means not fresh
- Discovery: the asset was seen by the last completed or partial job of its discovery zone (last_seen >= job start). Not applicable (excluded from the percentage) for agent zones and for zones that never completed a job
Computation
The Celery task compute_coverage runs every hour at minute 20 (beat entry compute-coverage) and stores one row per compute asset; rows of assets that are no longer active compute assets are deleted. Two runs never overlap: a run started while another one holds the lock returns {"skipped": true}. Before the first run every percentage shows "Data not available" with the reason "Coverage has not been computed yet".
docker exec idp-backend python manage.py shell -c "from apps.monitoring.tasks import compute_coverage; print(compute_coverage())"Percentages
A percentage is covered / total × 100. When a group has no asset for a dimension (for example no asset in a zone with a completed discovery) the page shows "Data not available" with the reason, never 0%. Assets without an environment or a team are grouped as "Unassigned"; filter them with environment=none or team_ref=none.
Suggested actions
Uncovered assets are ordered by number of gaps, then name. Each one lists what to do:
- No agent: Install the agent
- No checks: Add to Prometheus
- Agent present but stale inventory: Check the agent inventory scan
- Stale discovery: Check the discovery zone
Stalled sources
Stalled sources are computed on every request, so a relay back online disappears at once. The environment and team filters do not apply to them.
- Discovery zone: active, discovery enabled, not an agent zone, and the last completed job is older than COVERAGE_ZONE_STALL_FACTOR (default 3) × the discovery interval, or no completed job and the zone was created longer ago than that
- Relay: active and offline
- Agent scan: the last report of an active agent has failed scan coverage entries (e.g. "Scan failed: packages:pip (permission denied)")
- Feed: a vulnerability feed scope that is stale (see Vulnerability Feeds)
API
GET /api/v1/coverage/?environment=<id|none>&team_ref=<id|none> returns computed_at, reason, totals, by_environment, by_team and stalled_sources; each percentage is {covered, total, percent} with percent null when total is 0. GET /api/v1/coverage/assets/ (paginated, same filters plus gap=agent|monitoring|inventory|discovery and search on the name) returns the assets with at least one gap and their actions[{code, label}].
{
"computed_at": "2026-11-29T10:20:00Z",
"reason": "",
"totals": {"id": null, "name": "All", "assets": 120,
"agent": {"covered": 90, "total": 120, "percent": 75.0},
"monitoring": {"covered": 100, "total": 120, "percent": 83.3},
"inventory": {"covered": 85, "total": 120, "percent": 70.8},
"discovery": {"covered": 0, "total": 0, "percent": null}},
"by_environment": [],
"by_team": [],
"stalled_sources": [{"kind": "relay", "id": "3", "name": "dc-milan", "cause": "Relay offline", "since": "2026-11-29T08:00:00Z"}]
}