diff --git a/plugin-server/src/worker/ingestion/event-pipeline/extractHeatmapDataStep.ts b/plugin-server/src/worker/ingestion/event-pipeline/extractHeatmapDataStep.ts index c9b00160c4474..4b41818eb6b63 100644 --- a/plugin-server/src/worker/ingestion/event-pipeline/extractHeatmapDataStep.ts +++ b/plugin-server/src/worker/ingestion/event-pipeline/extractHeatmapDataStep.ts @@ -2,6 +2,7 @@ import { URL } from 'url' import { eventDroppedCounter } from '../../../main/ingestion-queues/metrics' import { PreIngestionEvent, RawClickhouseHeatmapEvent, TimestampFormat } from '../../../types' +import { status } from '../../../utils/status' import { castTimestampOrNow } from '../../../utils/utils' import { isDistinctIdIllegal } from '../person-state' import { captureIngestionWarning } from '../utils' @@ -96,6 +97,10 @@ function extractScrollDepthHeatmapData(event: PreIngestionEvent): RawClickhouseH } if (!isValidNumber($viewport_height) || !isValidNumber($viewport_width)) { + status.warn('👀', '[extract-heatmap-data] dropping because invalid viewport dimensions', { + $viewport_height, + $viewport_width, + }) return drop('invalid_viewport_dimensions') }