-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
sessions_hourly_local table is empty and error on Releases page #44950
Comments
Assigning to @getsentry/support for routing, due by Wednesday, February 22nd at 17:00 (yyz). ⏲️ |
Routing to @getsentry/open-source for triage, due by Thursday, February 23rd at 5:00 pm (sea). ⏲️ |
Going to route this to search and storage since they'll probably have more context on the |
Routing to @getsentry/sns for triage, due by Friday, February 24th at 3:06 pm (sfo). ⏲️ |
Hi @oymironov, A couple things we'd like to check here. Are there any obvious sessions-related errors coming from the snuba-sessions-consumer container? After a restart, can you see a sessions-consumer loading? Take a look with:
(https://github.com/getsentry/self-hosted/blob/master/docker-compose.yml#L253-L256) If the snuba-sessions-consumer appears to start but has no errors, it may be that sessions aren't coming into Snuba at all and the ingest level needs to be verified. I don't have self-hosted installed locally, but on your machine a command like this should let you run commands on the kafka container:
Then, when inside the container, something like:
Then send your installation some sessions. If there are no messages on that topic, then this is a Relay issue and I think that team would be better for troubleshooting it. |
Hi, @onewland and topic ingest-sessions in kafka, sure, not empty. A lot of messages there were: /opt/kafka/bin/kafka-topics.sh --bootstrap-server localhost:9092 --describe --topic ingest-sessions |
Routing to @getsentry/ingest for triage, due by Tuesday, February 28th at 17:00 (vie). ⏲️ |
Routing to @getsentry/sns for triage, due by Tuesday, February 28th at 5:00 pm (sfo). ⏲️ |
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
22.10.0
Link
No response
DSN
No response
Steps to Reproduce
Hi. I found that there are no entries in table sessions_hourly_local.
I found it because of error on the Releases page in sentry web-ui.
snuba-api logs in this moment told that this SQL not working:
and then I found that sessions_hourly_local is empty. We have been working for 3 months!
Expected Result
Releases page works without errors.
Actual Result
snuba-api-log:
The text was updated successfully, but these errors were encountered: