Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions develop-docs/self-hosted/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should advertise this actually, since rust-consumer is used in production that should be fixed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a bit sensitive, but since that's not being prioritized by the Snuba team, I'd prefer this approach though.

Sure, the proper solution is to fix rust-consumer, but since they can't reproduce this, I don't know what else to do.


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
Expand Down
Loading