📈 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
removed clg for invalid performance DTOs
Blue Mousec001852a8350
diff --git a/src/analytics/analytics.controller.ts b/src/analytics/analytics.controller.tsindex 4e525eefa..c9701e610 100644--- a/src/analytics/analytics.controller.ts+++ b/src/analytics/analytics.controller.ts@@ -839,30 +839,6 @@ export class AnalyticsController {)}- // this is a temp measure to track a mindblowing bug that causing perf data like 4294966341 be written into the DB.- if (!_isEmpty(logDTO.perf) && !isPerformanceValid(logDTO.perf)) {- const {- dns, tls, conn, response, render, dom_load, page_load, ttfb,- } = logDTO.perf- console.error('[ERROR] Something is wrong with the performance data:', logDTO.perf)- console.error('Performance DTO:', performanceDTO(- 'test',- 'test',- 'test',- 'test',- 'test',- dns,- tls,- conn,- response,- render,- dom_load,- page_load,- ttfb,- ))- console.error('Postprocessed performance DTO:', `(${perfDTO.map(getElValue).join(',')})`)- }-if (!_isEmpty(logDTO.perf) && isPerformanceValid(logDTO.perf)) {if (!ua) {ua = UAParser(userAgent)