Skip to content

Commit

Permalink
feat: resolve dashboard rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOrangePuff committed Jul 9, 2024
1 parent cc8018d commit 347b6a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/prerender-fargate/lib/monitoring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export class PerformanceMetrics extends Construct {
const topBotRefers = new LogQueryWidget({
title: "Top Bot Refers",
width: 9,
height: 9,
height: 8,
queryString:
"fields `origin.x-prerender-user-agent` as userAgent | filter level like 'render' and status not like '401' | stats count(userAgent) as countUserAgent by userAgent | sort countUserAgent desc",
logGroupNames: [props.logGroup.logGroupName],
Expand Down Expand Up @@ -364,11 +364,11 @@ export class PerformanceMetrics extends Construct {
});

const renderHistoryWidget = new LogQueryWidget({
title: "Cache Hit Rate",
title: "Render History",
width: 12,
height: 17,
queryString:
"fields @timestamp, status, time, path | filter level like 'render'",
"fields @timestamp, status, time, path | filter level like 'render' and status not like '401",
logGroupNames: [props.logGroup.logGroupName],
view: LogQueryVisualizationType.TABLE,
});
Expand Down

0 comments on commit 347b6a9

Please sign in to comment.