Create and share log groups for all of our Lambda functions instead of using the built-in log groups. Switched to structured JSON logging for Lambda functions. This allows for easier debugging with all the relevant logs going to one group. All built-in Log Insights queries created with createLogsInsightsQueries() have been updated accordingly and more queries were added.
There are now three shared log groups:
Runner Image Build Helpers Log for functions related to building runner images like image registration and clean-up
Orchestrator Log for functions that handle GitHub webhook and triggering runners
Setup Log for functions that handle initial setup
Resolves #539
BREAKING CHANGE: CDK 2.123.0 and above is required
BREAKING CHANGE: log groups have moved and all Lambda logs have been converted to JSON format
Create and share log groups for all of our Lambda functions instead of using the built-in log groups. Switched to structured JSON logging for Lambda functions. This allows for easier debugging with all the relevant logs going to one group. All built-in Log Insights queries created with
createLogsInsightsQueries()
have been updated accordingly and more queries were added.There are now three shared log groups:
Resolves #539
BREAKING CHANGE: CDK 2.123.0 and above is required BREAKING CHANGE: log groups have moved and all Lambda logs have been converted to JSON format