57dc91585d
Internal SmartGift build of a Claude Code monitoring dashboard. Lanes: a durable unit of parallel agent work, one per working directory, tracked across session restarts. Managed lanes are git worktrees the dashboard provisions and can reset or remove behind a three-check destroy guard and a counted preflight; adopted lanes are directories you already own and are never destroyable. Pipelines: a lane moves through pipeline stages. A stage the agent declares with evidence renders green; a stage inferred from the tool-event stream renders dashed amber and never counts as done. Detection is forward-only within a 30-minute window, and never writes the declared stage. Workspace: one page at /run with a lane grid, the selected lane's pipeline, and a full Claude console behind a disclosure.
41 lines
1.7 KiB
Terraform
41 lines
1.7 KiB
Terraform
# ─────────────────────────────────────────────────────────────────────────────
|
|
# Monitoring module outputs
|
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
|
|
output "sns_topic_arn" {
|
|
description = "ARN of the SNS alert topic"
|
|
value = aws_sns_topic.alerts.arn
|
|
}
|
|
|
|
output "log_group_name" {
|
|
description = "Name of the CloudWatch log group"
|
|
value = aws_cloudwatch_log_group.application.name
|
|
}
|
|
|
|
output "log_group_arn" {
|
|
description = "ARN of the CloudWatch log group"
|
|
value = aws_cloudwatch_log_group.application.arn
|
|
}
|
|
|
|
output "dashboard_name" {
|
|
description = "Name of the CloudWatch dashboard"
|
|
value = aws_cloudwatch_dashboard.main.dashboard_name
|
|
}
|
|
|
|
output "dashboard_url" {
|
|
description = "URL to the CloudWatch dashboard in the AWS console"
|
|
value = "https://${var.region}.console.aws.amazon.com/cloudwatch/home?region=${var.region}#dashboards:name=${aws_cloudwatch_dashboard.main.dashboard_name}"
|
|
}
|
|
|
|
output "alarm_arns" {
|
|
description = "ARNs of all configured CloudWatch alarms"
|
|
value = concat(
|
|
[aws_cloudwatch_metric_alarm.high_5xx_rate.arn],
|
|
[aws_cloudwatch_metric_alarm.high_latency.arn],
|
|
[aws_cloudwatch_metric_alarm.efs_burst_credits.arn],
|
|
[aws_cloudwatch_metric_alarm.ecs_high_cpu.arn],
|
|
[aws_cloudwatch_metric_alarm.ecs_high_memory.arn],
|
|
aws_cloudwatch_metric_alarm.unhealthy_hosts[*].arn,
|
|
)
|
|
}
|