@@ -36,24 +36,8 @@ x-sentry-defaults: &sentry_defaults
36
36
<< : *depends_on-default
37
37
snuba-api :
38
38
<< : *depends_on-default
39
- snuba-errors-consumer :
40
- << : *depends_on-default
41
- snuba-outcomes-consumer :
42
- << : *depends_on-default
43
- snuba-outcomes-billing-consumer :
44
- << : *depends_on-default
45
- snuba-transactions-consumer :
46
- << : *depends_on-default
47
- snuba-subscription-consumer-events :
48
- << : *depends_on-default
49
- snuba-subscription-consumer-transactions :
50
- << : *depends_on-default
51
- snuba-replacer :
52
- << : *depends_on-default
53
39
symbolicator :
54
40
<< : *depends_on-default
55
- vroom :
56
- << : *depends_on-default
57
41
entrypoint : " /etc/sentry/entrypoint.sh"
58
42
command : ["run", "web"]
59
43
environment :
@@ -71,6 +55,7 @@ x-sentry-defaults: &sentry_defaults
71
55
GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR : *ca_bundle
72
56
# Leaving the value empty to just pass whatever is set
73
57
# on the host system (or in the .env file)
58
+ COMPOSE_PROFILES :
74
59
SENTRY_EVENT_RETENTION_DAYS :
75
60
SENTRY_MAIL_HOST :
76
61
SENTRY_MAX_EXTERNAL_SOURCEMAP_SIZE :
@@ -268,55 +253,84 @@ services:
268
253
snuba-outcomes-billing-consumer :
269
254
<< : *snuba_defaults
270
255
command : rust-consumer --storage outcomes_raw --consumer-group snuba-consumers --auto-offset-reset=earliest --max-batch-time-ms 750 --no-strict-offset-reset --raw-events-topic outcomes-billing
256
+ snuba-group-attributes-consumer :
257
+ << : *snuba_defaults
258
+ command : rust-consumer --storage group_attributes --consumer-group snuba-group-attributes-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
259
+ snuba-replacer :
260
+ << : *snuba_defaults
261
+ command : replacer --storage errors --auto-offset-reset=latest --no-strict-offset-reset
262
+ snuba-subscription-consumer-events :
263
+ << : *snuba_defaults
264
+ command : subscriptions-scheduler-executor --dataset events --entity events --auto-offset-reset=latest --no-strict-offset-reset --consumer-group=snuba-events-subscriptions-consumers --followed-consumer-group=snuba-consumers --schedule-ttl=60 --stale-threshold-seconds=900
265
+ # ############################################
266
+ # # Feature Complete Sentry Snuba Consumers ##
267
+ # ############################################
271
268
# Kafka consumer responsible for feeding transactions data into Clickhouse
272
269
snuba-transactions-consumer :
273
270
<< : *snuba_defaults
274
271
command : rust-consumer --storage transactions --consumer-group transactions_group --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
272
+ profiles :
273
+ - feature-complete
275
274
snuba-replays-consumer :
276
275
<< : *snuba_defaults
277
276
command : rust-consumer --storage replays --consumer-group snuba-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
277
+ profiles :
278
+ - feature-complete
278
279
snuba-issue-occurrence-consumer :
279
280
<< : *snuba_defaults
280
281
command : rust-consumer --storage search_issues --consumer-group generic_events_group --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
282
+ profiles :
283
+ - feature-complete
281
284
snuba-metrics-consumer :
282
285
<< : *snuba_defaults
283
286
command : rust-consumer --storage metrics_raw --consumer-group snuba-metrics-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
284
- snuba-group-attributes-consumer :
287
+ profiles :
288
+ - feature-complete
289
+ snuba-subscription-consumer-transactions :
285
290
<< : *snuba_defaults
286
- command : rust-consumer --storage group_attributes --consumer-group snuba-group-attributes-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
291
+ command : subscriptions-scheduler-executor --dataset transactions --entity transactions --auto-offset-reset=latest --no-strict-offset-reset --consumer-group=snuba-transactions-subscriptions-consumers --followed-consumer-group=transactions_group --schedule-ttl=60 --stale-threshold-seconds=900
292
+ profiles :
293
+ - feature-complete
294
+ snuba-subscription-consumer-metrics :
295
+ << : *snuba_defaults
296
+ command : subscriptions-scheduler-executor --dataset metrics --entity metrics_sets --entity metrics_counters --auto-offset-reset=latest --no-strict-offset-reset --consumer-group=snuba-metrics-subscriptions-consumers --followed-consumer-group=snuba-metrics-consumers --schedule-ttl=60 --stale-threshold-seconds=900
297
+ profiles :
298
+ - feature-complete
287
299
snuba-generic-metrics-distributions-consumer :
288
300
<< : *snuba_defaults
289
301
command : rust-consumer --storage generic_metrics_distributions_raw --consumer-group snuba-gen-metrics-distributions-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
302
+ profiles :
303
+ - feature-complete
290
304
snuba-generic-metrics-sets-consumer :
291
305
<< : *snuba_defaults
292
306
command : rust-consumer --storage generic_metrics_sets_raw --consumer-group snuba-gen-metrics-sets-consumers --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
307
+ profiles :
308
+ - feature-complete
293
309
snuba-generic-metrics-counters-consumer :
294
310
<< : *snuba_defaults
295
311
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
312
+ profiles :
313
+ - feature-complete
296
314
snuba-generic-metrics-gauges-consumer :
297
315
<< : *snuba_defaults
298
316
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
299
- snuba-replacer :
300
- << : *snuba_defaults
301
- command : replacer --storage errors --auto-offset-reset=latest --no-strict-offset-reset
302
- snuba-subscription-consumer-events :
303
- << : *snuba_defaults
304
- command : subscriptions-scheduler-executor --dataset events --entity events --auto-offset-reset=latest --no-strict-offset-reset --consumer-group=snuba-events-subscriptions-consumers --followed-consumer-group=snuba-consumers --schedule-ttl=60 --stale-threshold-seconds=900
305
- snuba-subscription-consumer-transactions :
306
- << : *snuba_defaults
307
- command : subscriptions-scheduler-executor --dataset transactions --entity transactions --auto-offset-reset=latest --no-strict-offset-reset --consumer-group=snuba-transactions-subscriptions-consumers --followed-consumer-group=transactions_group --schedule-ttl=60 --stale-threshold-seconds=900
308
- snuba-subscription-consumer-metrics :
309
- << : *snuba_defaults
310
- command : subscriptions-scheduler-executor --dataset metrics --entity metrics_sets --entity metrics_counters --auto-offset-reset=latest --no-strict-offset-reset --consumer-group=snuba-metrics-subscriptions-consumers --followed-consumer-group=snuba-metrics-consumers --schedule-ttl=60 --stale-threshold-seconds=900
317
+ profiles :
318
+ - feature-complete
311
319
snuba-profiling-profiles-consumer :
312
320
<< : *snuba_defaults
313
321
command : rust-consumer --storage profiles --consumer-group snuba-consumers --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset
322
+ profiles :
323
+ - feature-complete
314
324
snuba-profiling-functions-consumer :
315
325
<< : *snuba_defaults
316
326
command : rust-consumer --storage functions_raw --consumer-group snuba-consumers --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset
327
+ profiles :
328
+ - feature-complete
317
329
snuba-spans-consumer :
318
330
<< : *snuba_defaults
319
331
command : rust-consumer --storage spans --consumer-group snuba-spans-consumers --auto-offset-reset=latest --max-batch-time-ms 1000 --no-strict-offset-reset
332
+ profiles :
333
+ - feature-complete
320
334
symbolicator :
321
335
<< : *restart_policy
322
336
image : " $SYMBOLICATOR_IMAGE"
@@ -363,57 +377,90 @@ services:
363
377
attachments-consumer :
364
378
<< : *sentry_defaults
365
379
command : run consumer ingest-attachments --consumer-group ingest-consumer
380
+ post-process-forwarder-errors :
381
+ << : *sentry_defaults
382
+ command : run consumer --no-strict-offset-reset post-process-forwarder-errors --consumer-group post-process-forwarder --synchronize-commit-log-topic=snuba-commit-log --synchronize-commit-group=snuba-consumers
383
+ subscription-consumer-events :
384
+ << : *sentry_defaults
385
+ command : run consumer events-subscription-results --consumer-group query-subscription-consumer
386
+ # #############################################
387
+ # # Feature Complete Sentry Ingest Consumers ##
388
+ # #############################################
366
389
transactions-consumer :
367
390
<< : *sentry_defaults
368
391
command : run consumer ingest-transactions --consumer-group ingest-consumer
392
+ profiles :
393
+ - feature-complete
369
394
metrics-consumer :
370
395
<< : *sentry_defaults
371
396
command : run consumer ingest-metrics --consumer-group metrics-consumer
397
+ profiles :
398
+ - feature-complete
372
399
generic-metrics-consumer :
373
400
<< : *sentry_defaults
374
401
command : run consumer ingest-generic-metrics --consumer-group generic-metrics-consumer
402
+ profiles :
403
+ - feature-complete
375
404
billing-metrics-consumer :
376
405
<< : *sentry_defaults
377
406
command : run consumer billing-metrics-consumer --consumer-group billing-metrics-consumer
407
+ profiles :
408
+ - feature-complete
378
409
ingest-replay-recordings :
379
410
<< : *sentry_defaults
380
411
command : run consumer ingest-replay-recordings --consumer-group ingest-replay-recordings
412
+ profiles :
413
+ - feature-complete
381
414
ingest-occurrences :
382
415
<< : *sentry_defaults
383
416
command : run consumer ingest-occurrences --consumer-group ingest-occurrences
417
+ profiles :
418
+ - feature-complete
384
419
ingest-profiles :
385
420
<< : *sentry_defaults
386
421
command : run consumer ingest-profiles --consumer-group ingest-profiles
422
+ profiles :
423
+ - feature-complete
387
424
ingest-monitors :
388
425
<< : *sentry_defaults
389
426
command : run consumer ingest-monitors --consumer-group ingest-monitors
427
+ profiles :
428
+ - feature-complete
390
429
monitors-clock-tick :
391
430
<< : *sentry_defaults
392
431
command : run consumer monitors-clock-tick --consumer-group monitors-clock-tick
432
+ profiles :
433
+ - feature-complete
393
434
monitors-clock-tasks :
394
435
<< : *sentry_defaults
395
436
command : run consumer monitors-clock-tasks --consumer-group monitors-clock-tasks
396
- post-process-forwarder-errors :
397
- << : *sentry_defaults
398
- command : run consumer --no-strict-offset-reset post-process-forwarder-errors --consumer-group post-process-forwarder --synchronize-commit-log-topic=snuba-commit-log --synchronize-commit-group=snuba-consumers
437
+ profiles :
438
+ - feature-complete
399
439
post-process-forwarder-transactions :
400
440
<< : *sentry_defaults
401
441
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
442
+ profiles :
443
+ - feature-complete
402
444
post-process-forwarder-issue-platform :
403
445
<< : *sentry_defaults
404
446
command : run consumer --no-strict-offset-reset post-process-forwarder-issue-platform --consumer-group post-process-forwarder --synchronize-commit-log-topic=snuba-generic-events-commit-log --synchronize-commit-group generic_events_group
405
- subscription-consumer-events :
406
- << : *sentry_defaults
407
- command : run consumer events-subscription-results --consumer-group query-subscription-consumer
447
+ profiles :
448
+ - feature-complete
408
449
subscription-consumer-transactions :
409
450
<< : *sentry_defaults
410
451
command : run consumer transactions-subscription-results --consumer-group query-subscription-consumer
452
+ profiles :
453
+ - feature-complete
411
454
subscription-consumer-metrics :
412
455
<< : *sentry_defaults
413
456
command : run consumer metrics-subscription-results --consumer-group query-subscription-consumer
457
+ profiles :
458
+ - feature-complete
414
459
subscription-consumer-generic-metrics :
415
460
<< : *sentry_defaults
416
461
command : run consumer generic-metrics-subscription-results --consumer-group query-subscription-consumer
462
+ profiles :
463
+ - feature-complete
417
464
sentry-cleanup :
418
465
<< : *sentry_defaults
419
466
image : sentry-cleanup-self-hosted-local
@@ -469,6 +516,8 @@ services:
469
516
depends_on :
470
517
kafka :
471
518
<< : *depends_on-healthy
519
+ profiles :
520
+ - feature-complete
472
521
vroom-cleanup :
473
522
<< : *restart_policy
474
523
image : vroom-cleanup-self-hosted-local
@@ -484,6 +533,8 @@ services:
484
533
command : ' "0 0 * * * find /var/lib/sentry-profiles -type f -mtime +$SENTRY_EVENT_RETENTION_DAYS -delete"'
485
534
volumes :
486
535
- sentry-vroom:/var/lib/sentry-profiles
536
+ profiles :
537
+ - feature-complete
487
538
488
539
volumes :
489
540
# These store application data that should persist across restarts.
0 commit comments