Skip to content

Commit ca5f35c

Browse files
authored
feat(generic-metrics): Add gauges to docker compose, re-try (#3177)
* add gauges * use rust consumer instead
1 parent f04ee1a commit ca5f35c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker-compose.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ services:
177177
- "sentry-secrets:/etc/zookeeper/secrets"
178178
healthcheck:
179179
<<: *healthcheck_defaults
180-
test:
181-
["CMD-SHELL", 'echo "ruok" | nc -w 2 localhost 2181 | grep imok']
180+
test: ["CMD-SHELL", 'echo "ruok" | nc -w 2 localhost 2181 | grep imok']
182181
kafka:
183182
<<: *restart_policy
184183
depends_on:
@@ -250,7 +249,8 @@ services:
250249
# Override the entrypoint in order to avoid using envvars for config.
251250
# Futz with settings so we can keep mmdb and conf in same dir on host
252251
# (image looks for them in separate dirs by default).
253-
entrypoint: ["/usr/bin/geoipupdate", "-d", "/sentry", "-f", "/sentry/GeoIP.conf"]
252+
entrypoint:
253+
["/usr/bin/geoipupdate", "-d", "/sentry", "-f", "/sentry/GeoIP.conf"]
254254
volumes:
255255
- "./geoip:/sentry"
256256
snuba-api:
@@ -293,6 +293,9 @@ services:
293293
snuba-generic-metrics-counters-consumer:
294294
<<: *snuba_defaults
295295
command: rust-consumer --storage generic_metrics_counters_raw --consumer-group snuba-gen-metrics-counters-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
296+
snuba-generic-metrics-gauges-consumer:
297+
<<: *snuba_defaults
298+
command: rust-consumer --storage generic_metrics_gauges_raw --consumer-group snuba-gen-metrics-gauges-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
296299
snuba-replacer:
297300
<<: *snuba_defaults
298301
command: replacer --storage errors --auto-offset-reset=latest --no-strict-offset-reset

0 commit comments

Comments
 (0)