-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add Ourlogs #3560
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
Comments
Setup Guide for 25.2.0Modify SENTRY_FEATURES = # ...
) +
# Ourlogs
(
"organizations:ourlogs-enabled",
"organizations:ourlogs-ingestion",
"projects:ourlogs-breadcrumb-extraction",
) Modify snuba-ourlogs-consumer:
<<: *snuba_defaults
command: rust-consumer --storage ourlogs --consumer-group ourlogs_group --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset --use-rust-processor
profiles:
- feature-complete Proof: |
Setup Guide for 25.3.0Modify SENTRY_FEATURES = # ...
) +
# Ourlogs
(
"organizations:ourlogs-enabled",
"organizations:ourlogs-ingestion",
"projects:ourlogs-breadcrumb-extraction",
) Modify relay.ourlogs-breadcrumb-extraction.sample-rate: 1.0
relay.ourlogs-ingestion.sample-rate: 1.0 Modify snuba-ourlogs-consumer:
<<: *snuba_defaults
command: rust-consumer --storage eap_items_log --consumer-group ourlogs_group --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset --use-rust-processor
profiles:
- feature-complete Proof: |
Setup Guide for 25.4.0Date of writing: 2025-04-17 Modify SENTRY_FEATURES = # ...
) +
# Ourlogs
(
"organizations:ourlogs-enabled",
"organizations:ourlogs-ingestion",
"organizations:ourlogs-stats",
"organizations:ourlogs-graph",
"organizations:ourlogs-visualize-sidebar",
"organizations:ourlogs-dashboards",
"organizations:ourlogs-alerts",
"organizations:ourlogs-live-refresh",
"projects:ourlogs-breadcrumb-extraction",
) Modify relay.ourlogs-breadcrumb-extraction.sample-rate: 1.0
relay.ourlogs-ingestion.sample-rate: 1.0 Modify snuba-ourlogs-consumer:
<<: *snuba_defaults
command: rust-consumer --storage eap_items_log --consumer-group ourlogs_group --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset --use-rust-processor
profiles:
- feature-complete |
I have a self hosted sentry which I bumped to 25.5 today and tried to initialize the logs stuff. I have added the mentioned stuff in the code and restarted sentry. I have been able to see the Logs section. I have bumped the python sentry sdk to newest version and setup logger, however I was not able to see the logs. Then I have created a sentry.io account and sent the logs there and it worked. When I checked the logs in the snubar-ourlogs-consumer I noticed the following error:
I have encountered the same error with "ourlogs" value for the storage option. After setting the settings as mentioned, I have also ran the "install.sh" command but the error didn't change Can you confirm if those values are correct for 25.5? Or maybe there is something that needs to be done to initialize the snuba storage? |
I have done a bit more digging and based on this commit: getsentry/snuba@77472c2 it seems the dedicated storage for logs is removed and merged with spans and therefore new storage name is "eap_items" instead of eap_items_log. So for 25.5 you should use the below docker compose addition:
|
Uh oh!
There was an error while loading. Please reload this page.
Problem Statement
Product Discussion: getsentry/sentry#86804
JS SDK docs: getsentry/sentry-javascript#15916
Solution Brainstorm
The way we'll tell you how to configure this should be versioned (learned this the hard way from User Feedback feature). Grab the version you're currently on (or if yours is higher than any of these, choose the highest one).
The text was updated successfully, but these errors were encountered: