Skip to content

Commit

Permalink
feat: connection count usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Feb 11, 2025
1 parent e39efb4 commit 061d136
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const toConnectionChartData = (
const date = parseISO(dataPoint.period);
const requestCount = dataPoint.trafficTypes[0].count;

if (dataPoint.period.length === 7) {
if (traffic.grouping === 'monthly') {
// 1 connections = 7200 * days in month requests per day
const daysInMonth = getDaysInMonth(date);
record[dataPoint.period] =
Expand Down

0 comments on commit 061d136

Please sign in to comment.