@@ -305,6 +305,11 @@ services:
305
305
command : rust-consumer --storage spans --consumer-group snuba-spans-consumers --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset
306
306
profiles :
307
307
- 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
308
313
symbolicator :
309
314
<< : *restart_policy
310
315
image : " $SYMBOLICATOR_IMAGE"
@@ -415,6 +420,11 @@ services:
415
420
command : run consumer monitors-clock-tasks --consumer-group monitors-clock-tasks
416
421
profiles :
417
422
- feature-complete
423
+ uptime-results :
424
+ << : *sentry_defaults
425
+ command : run consumer uptime-results --consumer-group uptime-results
426
+ profiles :
427
+ - feature-complete
418
428
post-process-forwarder-transactions :
419
429
<< : *sentry_defaults
420
430
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:
533
543
- sentry-vroom:/var/vroom/sentry-profiles
534
544
profiles :
535
545
- 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
536
568
537
569
volumes :
538
570
# These store application data that should persist across restarts.
0 commit comments