Skip to content

Monitoring

MonitoringService provides low-cost, on-demand observability endpoints for the Admin UI. Design goals: - Prefer CloudWatch metrics + Logs Insights queries (no always-on alarms/dashboards). - Support a lightweight “drill-down” flow from error summaries to surrounding log context.

Base path: /monitoring

GetOverview returns a coarse, low-cost snapshot of key metrics.

Request (GetOverviewRequest)

FieldTypeDescription
lookback_minutesint32Lookback window for metrics aggregation (minutes). Defaults to 60 when unset.
period_secondsint32Period for metric datapoints (seconds). Defaults to 60 when unset.

Response (GetOverviewResponse)

FieldTypeDescription
api_gatewaysApiGatewayOverview[]
cloudfront_distributionsCloudFrontOverview[]
lambdasLambdaOverview[]
sqs_queuesSqsQueueOverview[]

ListRecentErrors returns recent error log entries across configured log groups.

Request (ListRecentErrorsRequest)

FieldTypeDescription
lookback_minutesint32Lookback window for error query (minutes). Defaults to 60 when unset.
limitint32Maximum number of error entries to return. Defaults to 50 when unset.

Response (ListRecentErrorsResponse)

FieldTypeDescription
entriesErrorLogEntry[]

GetLogContext returns log lines around a specific timestamp for drill-down.

Request (GetLogContextRequest)

FieldTypeDescription
log_groupstringLog group to query.
center_timestampTimestampCenter timestamp for context window.
window_secondsint32Window size around center (seconds). Default 60 when unset.
correlation_idstring?Optional: filter by correlation id when present.
aws_request_idstring?Optional: filter by aws request id when present.
limitint32Maximum log lines to return. Default 200 when unset.

Response (GetLogContextResponse)

FieldTypeDescription
linesLogLine[]