From 274574c4bb416530703bc0662891ff5950b53a2d Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Wed, 13 Nov 2024 07:20:43 +0700 Subject: [PATCH] docs(self-hosted): document python snuba consumer as a workaround for rust-consumer --- develop-docs/self-hosted/troubleshooting.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/develop-docs/self-hosted/troubleshooting.mdx b/develop-docs/self-hosted/troubleshooting.mdx index 8c7d5e6d001da..ccf75d0d45b83 100644 --- a/develop-docs/self-hosted/troubleshooting.mdx +++ b/develop-docs/self-hosted/troubleshooting.mdx @@ -23,6 +23,18 @@ CSRF_TRUSTED_ORIGINS = ["https://sentry.example.com", "http://10.100.10.10", "ht See [Django's documentation on CSRF](https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS) for further detail. +## Snuba + +### No event showing on the dashboard + +Snuba handles processing events (erros, transactions, etc) and moving them from Kafka to ClickHouse. Since version 24.3.0, we've migrated to using the new rust-snuba for most consumers. In some cases, the consumers may not correctly process events, therefore there is nothing seen on the dashboard UI. To tackle this, you can try to revert to the old Python consumers by replacing every occurrence of `rust-consumer` to just `consumer` on the `docker-compose.yml` file. + +```bash +sed -i 's/rust-consumer/consumer/g' docker-compose.yml +``` + +After modifying the `docker-compose.yml` file, make sure to re-run `./install.sh` script. + ## Kafka One of the most likely things to cause issues is Kafka. The most commonly reported error is