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
lookbackMinutesint32Lookback window for metrics aggregation (minutes). Defaults to 60 when unset.
periodSecondsint32Period for metric datapoints (seconds). Defaults to 60 when unset.

Response (GetOverviewResponse)

FieldTypeDescription
apiGatewaysApiGatewayOverview[]
cloudfrontDistributionsCloudFrontOverview[]
lambdasLambdaOverview[]
sqsQueuesSqsQueueOverview[]

ListRecentErrors returns recent error log entries across configured log groups.

Request (ListRecentErrorsRequest)

FieldTypeDescription
lookbackMinutesint32Lookback 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
logGroupstringLog group to query.
centerTimestampTimestampCenter timestamp for context window.
windowSecondsint32Window size around center (seconds). Default 60 when unset.
correlationIdstring?Optional: filter by correlation id when present.
awsRequestIdstring?Optional: filter by aws request id when present.
limitint32Maximum log lines to return. Default 200 when unset.

Response (GetLogContextResponse)

FieldTypeDescription
linesLogLine[]