Skip to content

Commit ea41af9

Browse files
committed
Site docs: add descriptions for GoodJob and SQL log structures and Event::Database to fix Next.js export
1 parent b4c849f commit ea41af9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

site/lib/enum-descriptions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export const ENUM_VALUE_DESCRIPTIONS: Record<string, Record<string, string>> = {
6464
'LogStruct::Event': {
6565
Log: 'Standard log message',
6666
Request: 'HTTP request',
67+
Database: 'Database query event and metrics',
6768
Enqueue: 'Job added to queue',
6869
Schedule: 'Job scheduled for future processing',
6970
Start: 'Job processing started',

site/lib/log-structure-descriptions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export const LOG_STRUCTURE_DESCRIPTIONS: Record<string, string> = {
1313
CarrierWave: 'For CarrierWave upload events',
1414
Sidekiq: 'For Sidekiq job processing',
1515
Security: 'For security-related events',
16+
GoodJob: 'For GoodJob background job lifecycle events',
17+
SQL: 'For ActiveRecord SQL query events and performance metrics',
1618
};
1719

1820
/**

0 commit comments

Comments
 (0)