Commit bd77a8f
committed
feat(occurrences): New ingest
This PR updates the ingest flow for Occurrences on EAP.
CHANGES:
* Moves from a "everything in event_data" model to an allowlist model.
* Unifies tags & contexts into attrs.
* Processes exceptions in a series of related arrays, rather than as a thicket of nested mappings and arrays
SEE ALSO:
* Search issues processor: https://github.com/getsentry/snuba/blob/master/snuba/datasets/processors/search_issues_processor.py
* Errors processor: https://github.com/getsentry/snuba/blob/bc66a617af47de8e0fe573c2ac17c9f378c523c1/rust_snuba/src/processors/errors.rs#L32
I tried to match the existing behavior of those processors as closely as possible.
TEST PLAN:
```
pytest -s tests/snuba/search/test_eap_occurrences.py
```1 parent 98349bd commit bd77a8f
File tree
5 files changed
+615
-478
lines changed- src/sentry
- autopilot/tasks
- eventstream
- snuba
- testutils
- tests/sentry/eventstream
5 files changed
+615
-478
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments