Skip to content

Commit

Permalink
run generic-metrics consumers in dev (#2939)
Browse files Browse the repository at this point in the history
  • Loading branch information
onewland authored Jul 18, 2022
1 parent 26c314b commit 37280f6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions snuba/cli/devserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,30 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--consumer-group=snuba-metrics-consumers",
],
),
(
"generic-metrics-distributions-consumer",
[
"snuba",
"consumer",
"--storage=generic_metrics_distributions_raw",
"--auto-offset-reset=latest",
"--no-strict-offset-reset",
"--log-level=debug",
"--consumer-group=snuba-gen-metrics-distributions-consumers",
],
),
(
"generic-metrics-sets-consumer",
[
"snuba",
"consumer",
"--storage=generic_metrics_sets_raw",
"--auto-offset-reset=latest",
"--no-strict-offset-reset",
"--log-level=debug",
"--consumer-group=snuba-gen-metrics-sets-consumers",
],
),
]
if settings.ENABLE_METRICS_SUBSCRIPTIONS:
if settings.SEPARATE_SCHEDULER_EXECUTOR_SUBSCRIPTIONS_DEV:
Expand Down

0 comments on commit 37280f6

Please sign in to comment.