How do i get the information on postgres tables like which tables mapped which part in ui of sentry application

How do i get the information on postgres tables like which tables mapped which part in ui of sentry application.

need table structure and mapping to ui part what it is reffering?

We don’t really have anything like this even for ourselves internally. There is a lot of complexity in some areas especially if we were trying to map things to UI.

Do you have any specific questions and we can try to answer?

Issues are in sentry_groupedmessage in Postgres, events aren’t stored in Postgres since Sentry 10, they’re in ClickHouse.

But since you mention sentry_message, yes, this used to be where old events were stored. A combo of sentry_message and nodestore, which if backed by Postgres was in like, nodestore_node table or something akin to that.

It’s easiest to just navigate through the Django models to figure out relationships and whatnot since lots of stuff is intertwined with issues (or groups as we refer to them in codebase.)