@@ -305,6 +305,11 @@ services:
305305 command : rust-consumer --storage spans --consumer-group snuba-spans-consumers --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset
306306 profiles :
307307 - feature-complete
308+ snuba-uptime-results-consumer :
309+ << : *snuba_defaults
310+ command : rust-consumer --storage uptime_monitor_checks --consumer-group snuba-uptime-results --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
311+ profiles :
312+ - feature-complete
308313 symbolicator :
309314 << : *restart_policy
310315 image : " $SYMBOLICATOR_IMAGE"
@@ -415,6 +420,11 @@ services:
415420 command : run consumer monitors-clock-tasks --consumer-group monitors-clock-tasks
416421 profiles :
417422 - feature-complete
423+ uptime-results :
424+ << : *sentry_defaults
425+ command : run consumer uptime-results --consumer-group uptime-results
426+ profiles :
427+ - feature-complete
418428 post-process-forwarder-transactions :
419429 << : *sentry_defaults
420430 command : run consumer --no-strict-offset-reset post-process-forwarder-transactions --consumer-group post-process-forwarder --synchronize-commit-log-topic=snuba-transactions-commit-log --synchronize-commit-group transactions_group
@@ -533,6 +543,28 @@ services:
533543 - sentry-vroom:/var/vroom/sentry-profiles
534544 profiles :
535545 - feature-complete
546+ uptime-checker :
547+ << : *restart_policy
548+ image : " $UPTIME_CHECKER_IMAGE"
549+ command : run
550+ environment :
551+ UPTIME_CHECKER_RESULTS_KAFKA_CLUSTER : kafka:9092
552+ UPTIME_CHECKER_REDIS_HOST : redis://redis:6379
553+ # Set to `true` will allow uptime checks against private IP addresses
554+ UPTIME_CHECKER_ALLOW_INTERNAL_IPS : " false"
555+ # The number of times to retry failed checks before reporting them as failed
556+ UPTIME_CHECKER_FAILURE_RETRIES : " 1"
557+ # DNS name servers to use when making checks in the http checker.
558+ # Separated by commas. Leaving this unset will default to the systems dns
559+ # resolver.
560+ # UPTIME_CHECKER_HTTP_CHECKER_DNS_NAMESERVERS: "8.8.8.8,8.8.4.4"
561+ depends_on :
562+ kafka :
563+ << : *depends_on-healthy
564+ redis :
565+ << : *depends_on-healthy
566+ profiles :
567+ - feature-complete
536568
537569volumes :
538570 # These store application data that should persist across restarts.
0 commit comments