Skip to content
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

dev(generic-metrics) run generic-metrics consumers in dev #2939

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

onewland
Copy link
Contributor

@onewland onewland commented Jul 15, 2022

this enables developers to automatically run generic metrics consumers for testing metrics-enhanced performance locally

tested in my local environment

@onewland onewland requested a review from a team as a code owner July 15, 2022 17:46
@@ -215,6 +215,30 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--consumer-group=snuba-metrics-consumers",
],
),
(
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to use the same settings flag we use for release health metrics or use a different flag settings.ENABLE_SENTRY_METRICS_DEV? Will there be a use case where someone wants to run just one of release health metrics vs performance metrics?

To enable the indexer in Sentry for release health vs performance metrics, is there a single setting or different settings? Maybe it might be a good idea to keep it consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did in fact copy the single-setting behavior from Sentry (Markus added this recently to help local e2e testing): getsentry/sentry#36682

@onewland onewland merged commit 37280f6 into master Jul 18, 2022
@onewland onewland deleted the run-generic-metrics-consumers-dev branch July 18, 2022 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants