Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eap): Start decoupling EAP entities at the entity layer #6701

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

colin-sentry
Copy link
Member

@colin-sentry colin-sentry commented Dec 27, 2024

There's currently a big chunk of code in common.py that maps column accesses to the correct place.

However, it's all hard-coded to the spans table right now.

We would like to add new non-span entity types to the EAP RPCs, and the easiest place to do that is at the entity layer.

This essentially hides the 'real columns' behind a well-known set of columns (organization_id, attr_str, attr_f64, attr_i64, ...) which will be shared across all EAP entities.

When we add new entities, we can specify in the entity YAML what maps where in a way that the RPC doesn't have to know what type of entity is being processed.

Works towards solving https://github.com/getsentry/eap-planning/issues/126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant