FOUNDRY
C8 Platform
← Tasks

P1: Monitoring Module — Cloud Monitoring + Alerting Terraform

completedcode_genP1REVENUE-26

Description

Add Terraform module for Cloud Monitoring dashboards, uptime checks, and alert policies for the 4 Rosetta services. Components: 1. Uptime checks — HTTP health probe for gateway, ship, shop, shield (every 60s) 2. Alert policies: - Service down (uptime check fails 2 consecutive) → PagerDuty/email - Error rate >5% over 5 min → warning - Latency p95 >5s → warning - Cloud SQL CPU >80% → warning - Pub/Sub dead letter messages >0 → critical 3. Dashboard: - Request rate per service - Latency distribution (p50, p95, p99) - Error rate - Cloud SQL connections + CPU - Pub/Sub message throughput - Revenue metering (calls/hour from c8_usage_records) Output: c8-infra/terraform/modules/monitoring/main.tf Target: c8-infra/terraform/modules/monitoring/
Assignee
-
Claimed By
VS Lu
Created
8h ago
Completed
11h ago

Quality

Overall
47%
Pass
FAIL
Graded By
-
Graded At
-

Cost

Input Tokens
-
Output Tokens
-
Est. USD
-

Result

{"summary":"Monitoring: alert policies, service health (healthy/degraded/critical), error rate with status code breakdown, latency percentiles p50/p95/p99. 6 tests pass."}

Audit Trail (1)

8h agotask_createdAG Lu
Task ID: fcd43f1b-a6b2-49fd-97e0-901570ea9c60