-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat: Add EAP span subscriptions for devserver #6396
feat: Add EAP span subscriptions for devserver #6396
Conversation
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
@@ -129,3 +129,9 @@ mandatory_condition_checkers: | |||
stream_loader: | |||
processor: EAPSpansMessageProcessor | |||
default_topic: snuba-spans | |||
commit_log_topic: snuba-eap-spans-commit-log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to call out that this topic doesn't exist in production (double/triple checking this is ok)
@@ -28,7 +28,7 @@ python-dateutil==2.8.2 | |||
python-rapidjson==1.8 | |||
redis==4.3.4 | |||
sentry-arroyo==2.17.6 | |||
sentry-kafka-schemas==0.1.112 | |||
sentry-kafka-schemas==0.1.113 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
includes this change getsentry/sentry-kafka-schemas#337
@@ -170,6 +170,30 @@ def devserver(*, bootstrap: bool, workers: bool) -> None: | |||
"--auto-offset-reset=latest", | |||
], | |||
), | |||
( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is an else-branch where you should add the same consumer again. normally in devserver, SEPARATE_SCHEDULER_EXECUTOR_SUBSCRIPTIONS_DEV is False, and subscription executor+scheduler are running in a single consumer (for lower resource usage)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added d803500
PR reverted: ff04932 |
This reverts commit 4db5589. Co-authored-by: untitaker <[email protected]>
Same as #6396, since deploying it without the commit log topic in prod caused the EAP consumer to crash. getsentry/ops#12369 added the commit log topic to prod. Also deployed the snuba-k8s pipeline to all regions. To enable dev work on EAP alerts, this PR starts an alerts scheduler and executor for EAP span alerts. It adds dataset configuration for span alerts to work (including enabling commit logs for EAP spans).
To enable dev work on EAP alerts, this PR starts an alerts scheduler and executor for EAP span alerts in "separate scheduler and executor mode" with snuba devserver.
It adds dataset configuration for span alerts to work (including enabling commit logs for EAP spans).