WorkflowMetricsDashboard
A live dashboard for ValkyrAI workflow metrics sourced from Spring Boot Actuator.
Backend Requirements
- Actuator enabled (already included in the project)
- Custom endpoint
GET /actuator/workflowMetrics
provided byWorkflowMetricsEndpoint
- Metrics recorded via
@WorkflowMonitoring
andWorkflowMetricsAspect
Usage
import WorkflowMetricsDashboard from "@valkyr/components/WorkflowMetricsDashboard/WorkflowMetricsDashboard";
export default function OpsPage() {
return <WorkflowMetricsDashboard />;
}
What It Shows
- Top successes and failures by
class.method
- Rolling list of recent error messages
- Auto-refresh every 5 seconds
Notes
- Extend via Micrometer tags to slice metrics by module class, outcome, or environment.
- Use this component alongside
/actuator/metrics
and/actuator/health
for deep ops visibility.