-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(err): Emit to clickhouse from cymbal (#26244)
- Loading branch information
1 parent
1466949
commit 6a424df
Showing
18 changed files
with
145 additions
and
60 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
plugin-server/src/worker/ingestion/event-pipeline/createEventStep.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { Person, PreIngestionEvent, RawClickHouseEvent } from '../../../types' | ||
import { Person, PreIngestionEvent, RawKafkaEvent } from '../../../types' | ||
import { EventPipelineRunner } from './runner' | ||
|
||
export function createEventStep( | ||
runner: EventPipelineRunner, | ||
event: PreIngestionEvent, | ||
person: Person, | ||
processPerson: boolean | ||
): [RawClickHouseEvent, Promise<void>] { | ||
): RawKafkaEvent { | ||
return runner.eventsProcessor.createEvent(event, person, processPerson) | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin-server/src/worker/ingestion/event-pipeline/emitEventStep.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { RawKafkaEvent } from '../../../types' | ||
import { EventPipelineRunner } from './runner' | ||
|
||
export function emitEventStep(runner: EventPipelineRunner, event: RawKafkaEvent): [Promise<void>] { | ||
return [runner.eventsProcessor.emitEvent(event)] | ||
} |
4 changes: 2 additions & 2 deletions
4
...in-server/src/worker/ingestion/event-pipeline/produceExceptionSymbolificationEventStep.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.