This guide provides instructions for maintaining and extending the Agentic Platform Admin dashboard.
To add a new service to the dashboard, you need to update the config.json file located in the root directory.
- Open
config.json. - Locate the
categoriesarray. - Find the appropriate category or create a new one.
- Add a new service object to the
servicesarray of that category.
Example:
{
"id": "new-service-id",
"name": "My New Service",
"type": "database"
}Supported Types for Icons:
The dashboard automatically assigns icons based on the type field. Recommended types include:
database,postgres,sqlagent,ai,botredis,cache,kvobservability,monitor,log
Currently, metrics and health statuses are simulated in the frontend for demonstration purposes.
To change what metrics are displayed for all services, modify the initialization logic in src/frontend/App.tsx inside the first useEffect hook:
// src/frontend/App.tsx
initialServices.push({
// ...
metrics: [
{ label: 'CPU', value: '12%', history: [...] },
{ label: 'Memory', value: '150MB', history: [...] }
]
});If you want different metrics for different types of apps (e.g., "Requests/sec" for a Gateway vs "Storage" for a Database), you can add conditional logic in the same useEffect:
const metrics = s.type === 'gateway'
? [{ label: 'RPS', value: '1.2k', history: [...] }]
: [{ label: 'CPU', value: '10%', history: [...] }];The health status (Healthy, Warning, Critical) is calculated dynamically in the second useEffect hook in src/frontend/App.tsx.
To change the thresholds:
- Locate the
Dynamic status logiccomment. - Update the numerical comparisons:
// Example: Change Memory Critical threshold to 500MB
if (memMetric) {
const val = memMetric.history[memMetric.history.length - 1];
if (val > 500) newStatus = HealthStatus.CRITICAL; // Changed from 400
else if (val > 350) newStatus = HealthStatus.WARNING; // Changed from 300
}The application is currently in a stable state with:
- Sticky navigation and filters.
- Collapsible health summary with dynamic status colors.
- Relative timestamps for updates.
- Contextual icons based on service types.