Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ingestion): drop heatmap extract from analytics event subpipeline (#59921)

Paweł Ledwoń80347667161d
diff --git a/nodejs/src/ingestion/analytics/event-subpipeline.ts b/nodejs/src/ingestion/analytics/event-subpipeline.ts
index 55ee053e62a2..96ee01e4d3af 100644
--- a/nodejs/src/ingestion/analytics/event-subpipeline.ts
+++ b/nodejs/src/ingestion/analytics/event-subpipeline.ts
@@ -12,7 +12,6 @@ import { IngestionWarningsOutput } from '../common/outputs'
import { createCreateEventStep } from '../event-processing/create-event-step'
import { createEmitEventStep } from '../event-processing/emit-event-step'
import { EventPipelineRunnerOptions } from '../event-processing/event-pipeline-options'
-import { createExtractHeatmapDataStep } from '../event-processing/extract-heatmap-data-step'
import { createHogTransformEventStep } from '../event-processing/hog-transform-event-step'
import { createNormalizeEventStep } from '../event-processing/normalize-event-step'
import { createNormalizeProcessPersonFlagStep } from '../event-processing/normalize-process-person-flag-step'
@@ -24,14 +23,7 @@ import { IngestionOutputs } from '../outputs/ingestion-outputs'
import { PipelineBuilder, StartPipelineBuilder } from '../pipelines/builders/pipeline-builders'
import { TopHogWrapper, sum, sumOk, sumResult, timer } from '../pipelines/extensions/tophog'
import { isDropResult } from '../pipelines/results'
-import {
- AsyncOutput,
- EVENTS_OUTPUT,
- EventOutput,
- HeatmapsOutput,
- PersonDistinctIdsOutput,
- PersonsOutput,
-} from './outputs'
+import { AsyncOutput, EVENTS_OUTPUT, EventOutput, PersonDistinctIdsOutput, PersonsOutput } from './outputs'
export interface EventSubpipelineInput {
message: Message
@@ -42,9 +34,7 @@ export interface EventSubpipelineInput {
export interface EventSubpipelineConfig {
options: EventPipelineRunnerOptions
- outputs: IngestionOutputs<
- EventOutput | HeatmapsOutput | IngestionWarningsOutput | PersonsOutput | PersonDistinctIdsOutput
- >
+ outputs: IngestionOutputs<EventOutput | IngestionWarningsOutput | PersonsOutput | PersonDistinctIdsOutput>
teamManager: TeamManager
groupTypeManager: GroupTypeManager
hogTransformer: HogTransformerService
@@ -114,7 +104,6 @@ export function createEventSubpipeline<TInput extends EventSubpipelineInput, TCo
)
.pipe(createPrepareEventStep())
.pipe(createProcessGroupsStep(teamManager, groupTypeManager, groupStore, options))
- .pipe(createExtractHeatmapDataStep(outputs))
.pipe(createCreateEventStep(EVENTS_OUTPUT))
.pipe(
topHog(