AE-2131 : Dashboard - Create APIs and Integrate the same with GUI for the Device Insights
Review Request #1067 — Created Sept. 18, 2025 and submitted
| Information | |
|---|---|
| pmurugaiyan | |
| AMP | |
| amp_4_0 | |
| AE-2131 | |
| Reviewers | |
| apoorva.sn, mmiriam, ngurunathan, shuinvy | |
System Metrics - Data Access Layer introduced (hive/repositories)
Device Metrics - The API(s) has been added and integrated with GUI to display the Dashboard graphs for the Devie Insights.The dashboard - System Insights has been tweated to improve the user experience.
The changes has been tested locally.
POST /devices-metrics
[
{
"metric": "cpu",
"agent_host": "192.168.85.166",
"value": 17.0
},
{
"metric": "cpu",
"agent_host": "192.168.85.101",
"value": 12.0
},
{
"metric": "cpu",
"agent_host": "192.168.85.20",
"value": 5.0
},
{
"metric": "cpu",
"agent_host": "192.168.85.144",
"value": 2.0
},
{
"metric": "memory",
"agent_host": "192.168.85.20",
"value": 5.0
},
{
"metric": "memory",
"agent_host": "192.168.85.144",
"value": 3.0
},
{
"metric": "memory",
"agent_host": "192.168.85.101",
"value": 2.0
},
{
"metric": "memory",
"agent_host": "192.168.85.166",
"value": 0.0
},
{
"metric": "network",
"agent_host": "192.168.85.166",
"total_in": 9336,
"total_out": 46904
},
{
"metric": "network",
"agent_host": "192.168.85.101",
"total_in": 5567,
"total_out": 7368
},
{
"metric": "network",
"agent_host": "192.168.85.144",
"total_in": 3989,
"total_out": 4317
},
{
"metric": "network",
"agent_host": "192.168.85.20",
"total_in": 2763,
"total_out": 1013
}
]POST /top-apv-virtual-metrics
[
{
"metric": "connections",
"agent_host": "192.168.85.101",
"service_name": "vs1",
"value": 0.0
},
{
"metric": "connections",
"agent_host": "192.168.85.144",
"service_name": "vs1",
"value": 0.0
},
{
"metric": "hits",
"agent_host": "192.168.85.144",
"service_name": "vs1",
"value": 0.0
},
{
"metric": "hits",
"agent_host": "192.168.85.101",
"service_name": "vs1",
"value": 0.0
},
{
"metric": "network",
"agent_host": "192.168.85.101",
"service_name": "vs1",
"received": 0,
"sent": 0
},
{
"metric": "network",
"agent_host": "192.168.85.144",
"service_name": "vs1",
"received": 0,
"sent": 0
}
]POST /top-apv-real-metrics
[
{
"metric": "connections",
"agent_host": "192.168.85.101",
"service_name": "rs1",
"value": 0.0
},
{
"metric": "connections",
"agent_host": "192.168.85.144",
"service_name": "RS1",
"value": 0.0
},
{
"metric": "connections",
"agent_host": "192.168.85.101",
"service_name": "RS1",
"value": 0.0
},
{
"metric": "network",
"agent_host": "192.168.85.144",
"service_name": "RS1",
"received": 0,
"sent": 0
},
{
"metric": "network",
"agent_host": "192.168.85.101",
"service_name": "rs1",
"received": 0,
"sent": 0
},
{
"metric": "network",
"agent_host": "192.168.85.101",
"service_name": "RS1",
"received": 0,
"sent": 0
},
{
"metric": "requests",
"agent_host": "192.168.85.101",
"service_name": "rs1",
"value": 0.0
},
{
"metric": "requests",
"agent_host": "192.168.85.144",
"service_name": "RS1",
"value": 0.0
},
{
"metric": "requests",
"agent_host": "192.168.85.101",
"service_name": "RS1",
"value": 0.0
}
]
Change Summary:
Updated the SLB services dashboard metrics.
Testing Done: |
|
|---|
