📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Don't calculate uptime params as it's not used on the frontend client yet
Blue Mouse314d1e7e8eeb
diff --git a/apps/production/src/analytics/analytics.service.ts b/apps/production/src/analytics/analytics.service.tsindex b4d008ee0..105dcc92c 100644--- a/apps/production/src/analytics/analytics.service.ts+++ b/apps/production/src/analytics/analytics.service.ts@@ -3022,26 +3022,26 @@ export class AnalyticsService {paramsData: any,safeTimezone: string,): Promise<object | void> {- let params: unknown = {}+ const params: unknown = {}let chart: unknown = {}const promises = [// Params- (async () => {- params = await this.generateParams(- null,- subQuery,- false,- paramsData,- 'uptime',- )-- if (!_some(_values(params), val => !_isEmpty(val))) {- throw new BadRequestException(- 'There are no uptime details for specified time frame',- )- }- })(),+ // (async () => {+ // params = await this.generateParams(+ // null,+ // subQuery,+ // false,+ // paramsData,+ // 'uptime',+ // )++ // if (!_some(_values(params), val => !_isEmpty(val))) {+ // throw new BadRequestException(+ // 'There are no uptime details for specified time frame',+ // )+ // }+ // })(),// Chart data(async () => {