test(host_agent): the NFS line test gives the host a reading, so its metrics render (#5996)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -104,7 +104,7 @@ async def test_an_nfs_mount_says_what_a_request_took_and_a_local_one_says_nothin
|
|||||||
app, "host_agent", "_host_metrics.html", host=SimpleNamespace(address="10.0.0.2"), stale=False,
|
app, "host_agent", "_host_metrics.html", host=SimpleNamespace(address="10.0.0.2"), stale=False,
|
||||||
reg=SimpleNamespace(distro=None, kernel=None, arch=None, agent_version=None,
|
reg=SimpleNamespace(distro=None, kernel=None, arch=None, agent_version=None,
|
||||||
last_seen_at=datetime.now(timezone.utc)),
|
last_seen_at=datetime.now(timezone.utc)),
|
||||||
hostlvl={}, cores=[], nets={}, disks_io={}, temps={},
|
hostlvl={"cpu_pct": 10.0}, cores=[], nets={}, disks_io={}, temps={},
|
||||||
mounts={"/nfs/data": {"disk_used_pct": 40.0, "nfs_ops_per_sec": 4.0, "nfs_exe_ms": 250.0,
|
mounts={"/nfs/data": {"disk_used_pct": 40.0, "nfs_ops_per_sec": 4.0, "nfs_exe_ms": 250.0,
|
||||||
"nfs_retrans": 3.0},
|
"nfs_retrans": 3.0},
|
||||||
"/nfs/media": {"disk_used_pct": 30.0, "nfs_ops_per_sec": 0.0},
|
"/nfs/media": {"disk_used_pct": 30.0, "nfs_ops_per_sec": 0.0},
|
||||||
|
|||||||
Reference in New Issue
Block a user