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

Please explain the data flow of sentry. #994

Closed
hyunkj42 opened this issue Aug 31, 2023 · 4 comments
Closed

Please explain the data flow of sentry. #994

hyunkj42 opened this issue Aug 31, 2023 · 4 comments
Labels

Comments

@hyunkj42
Copy link

There are more PODs and I am not sure what role they play.
Can you explain the sentry data flow (configuration diagram)?
Please briefly explain what operation is performed in which POD. :)

@pavels
Copy link
Contributor

pavels commented Sep 21, 2023

Well, there are multiple sources

Basically, https://github.com/getsentry/self-hosted and https://github.com/getsentry/self-hosted/blob/master/docker-compose.yml specifically is the first source of truth about what needs to run with what parameters. If it is not clear from there, you will probably need to dig through sentry source code.

There is 2 main parts - sentry itself, which is the web ui, batch job processor and it uses postgres as main datasource. The second part is Snuba which is part data processing part data storage and retrieval framework which uses clickhouse as data store. Check https://getsentry.github.io/snuba/architecture/overview.html for some details.

Snuba and sentry is than stitched together with kafka, celery (jobs in python) and redis in kind of a weird way. Some containers consuming or producing nto kafaka are sentry and some are snuba - see https://github.com/getsentry/self-hosted/blob/master/docker-compose.yml

If you go through Sentry commits and pull request you will find out, that they are kind of struggling with rate at which their containers multiply with each new feature. See for example getsentry/snuba#1670

@hyunkj42
Copy link
Author

Thank you for answer.
I will take note. :)

@KamilKopaczyk
Copy link

If you need to understand the general architecture of Sentry, this is the page i often go back to: https://develop.sentry.dev/architecture

@Mokto
Copy link
Contributor

Mokto commented Oct 22, 2023

This issue is stale because it has been open for 30 days with no activity.

@Mokto Mokto added the stale label Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants