forked from risingwavelabs/risingwave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
risedev.yml
1151 lines (954 loc) · 27.8 KB
/
risedev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# The schema for RiseDev configuration files is defined under `src/risedevtool/schemas`.
#
# You can add the following section to `.vscode/settings.json` to get hover support in VS Code:
#
# ```
# "yaml.schemas": {
# "src/risedevtool/schemas/risedev.json": "risedev.yml",
# "src/risedevtool/schemas/risedev-profiles.user.json": "risedev-profiles.user.yml"
# }
# ```
profile:
#################################################
### Configuration profiles used by developers ###
#################################################
# The default configuration will start 1 compute node, 1 meta node and 1 frontend.
default:
# Specify a configuration file to override the default settings
# config-path: src/config/example.toml
steps:
# If you want to use the local s3 storage, enable the following line
# - use: minio
# If you want to use aws-s3, configure AK and SK in env var and enable the following lines:
# - use: aws-s3
# bucket: test-bucket
# If you want to use other s3 compatible object store, open this flag:
# s3-compatible: false
# If you want to create CDC source table, uncomment the following line
# - use: connector-node
# if you want to enable etcd backend, uncomment the following lines.
# - use: etcd
# unsafe-no-fsync: true
- use: meta-node
- use: compute-node
- use: frontend
# If you want to enable compactor, uncomment the following line, and enable either minio or aws-s3 as well.
# - use: compactor
# If you want to enable metrics, uncomment those two lines.
# - use: prometheus
# - use: grafana
# If you want to enable tracing, uncomment the following line.
# - use: jaeger
# If you want to create source from Kafka, uncomment the following lines
# Note that kafka depends on zookeeper, so zookeeper must be started beforehand.
# - use: zookeeper
# persist-data: true
# - use: kafka
# persist-data: true
default-v6:
steps:
- use: meta-node
address: "[::1]"
listen-address: "[::]"
- use: compute-node
address: "[::1]"
listen-address: "[::]"
- use: frontend
address: "[::1]"
listen-address: "[::]"
# The minimum config to use with risectl.
for-ctl:
steps:
- use: minio
- use: meta-node
- use: compute-node
- use: frontend
- use: compactor
# `dev-compute-node` have the same settings as default except the the compute node will be started by user.
dev-compute-node:
steps:
- use: meta-node
- use: compute-node
user-managed: true
- use: frontend
dev-frontend:
steps:
- use: meta-node
- use: compute-node
- use: frontend
user-managed: true
dev-meta:
steps:
- use: meta-node
user-managed: true
- use: compute-node
- use: frontend
full:
steps:
- use: minio
- use: etcd
- use: meta-node
- use: compute-node
- use: frontend
- use: compactor
- use: prometheus
- use: grafana
- use: zookeeper
persist-data: true
- use: kafka
persist-data: true
hdfs:
steps:
# - use: etcd
- use: meta-node
- use: compute-node
- use: frontend
# If you want to use hdfs as storage backend, configure hdfs namenode and root path:
- use: opendal
engine: hdfs
namenode: "127.0.0.1:9000"
root: risingwave
- use: compactor
# - use: prometheus
# - use: grafana
webhdfs:
steps:
# - use: etcd
- use: meta-node
- use: compute-node
- use: frontend
# If you want to use webhdfs as storage backend, configure hdfs namenode and root path:
- use: opendal
engine: webhdfs
namenode: "127.0.0.1:9870"
root: risingwave
- use: compactor
# - use: prometheus
# - use: grafana
gcs:
steps:
# - use: etcd
- use: meta-node
- use: compute-node
- use: frontend
# If you want to use google cloud stoage as storage backend, configure bucket name and root path:
- use: opendal
engine: gcs
bucket: bucket-name
root: risingwave
- use: compactor
# - use: prometheus
# - use: grafana
oss:
steps:
# - use: etcd
- use: meta-node
- use: compute-node
- use: frontend
# If you want to use oss as storage backend, configure bucket name and root path:
- use: opendal
engine: oss
bucket: test-bucket
root: risingwave
- use: compactor
# - use: prometheus
# - use: grafana
azblob:
steps:
# - use: etcd
- use: meta-node
- use: compute-node
- use: frontend
# If you want to use azblob as storage backend, configure bucket(container) name and root path:
- use: opendal
engine: azblob
bucket: test-bucket
root: risingwave
- use: compactor
# - use: prometheus
# - use: grafana
full-benchmark:
steps:
- use: minio
- use: etcd
- use: meta-node
- use: compute-node
- use: frontend
- use: compactor
- use: prometheus
remote-write: true
remote-write-region: "ap-southeast-1"
remote-write-url: "https://aps-workspaces.ap-southeast-1.amazonaws.com/workspaces/ws-f3841dad-6a5c-420f-8f62-8f66487f512a/api/v1/remote_write"
- use: grafana
- use: zookeeper
persist-data: true
- use: kafka
persist-data: true
3etcd-3meta:
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
port: 2388
peer-port: 2389
exporter-port: 2379
- use: etcd
unsafe-no-fsync: true
port: 12388
peer-port: 12389
exporter-port: 12379
- use: etcd
unsafe-no-fsync: true
port: 22388
peer-port: 22389
exporter-port: 22379
- use: meta-node
port: 5690
dashboard-port: 5691
exporter-port: 1250
- use: meta-node
port: 15690
dashboard-port: 15691
exporter-port: 11250
- use: meta-node
port: 25690
dashboard-port: 25691
exporter-port: 21250
- use: compactor
3etcd-3meta-1cn-1fe:
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
port: 2388
peer-port: 2389
exporter-port: 2379
- use: etcd
unsafe-no-fsync: true
port: 12388
peer-port: 12389
exporter-port: 12379
- use: etcd
unsafe-no-fsync: true
port: 22388
peer-port: 22389
exporter-port: 22379
- use: meta-node
port: 5690
dashboard-port: 5691
exporter-port: 1250
- use: meta-node
port: 15690
dashboard-port: 15691
exporter-port: 11250
- use: meta-node
port: 25690
dashboard-port: 25691
exporter-port: 21250
- use: compactor
- use: compute-node
- use: frontend
java-binding-demo:
steps:
- use: minio
address: "127.0.0.1"
port: 9301
root-user: hummockadmin
root-password: hummockadmin
hummock-bucket: hummock001
- use: meta-node
address: "127.0.0.1"
port: 5690
- use: compute-node
- use: frontend
- use: compactor
ci-gen-cpu-flamegraph:
steps:
# NOTE(kwannoel): We do not use aws-s3 here, to avoid
# contention over s3 bucket when multiple benchmarks at run at once.
- use: minio
- use: etcd
- use: meta-node
- use: compute-node
parallelism: 8
- use: frontend
- use: compactor
- use: prometheus
- use: grafana
# Do not use kafka and zookeeper here, we will spawn it separately,
# so we don't have to re-generate data each time.
# - use: zookeeper
# persist-data: true
# RW will still be ale to talk to it.
# - use: kafka
# port: 9092
# persist-data: true
######################################
### Configurations used in Compose ###
######################################
compose:
steps:
- use: minio
id: minio-0
address: ${id}
listen-address: "0.0.0.0"
console-address: "0.0.0.0"
- use: meta-node
# Id must starts with `meta-node`, therefore to be picked up by other
# components.
id: meta-node-0
# Advertise address can be `id`, so as to use docker's DNS. If running
# in host network mode, we should use IP directly in this field.
address: ${id}
listen-address: "0.0.0.0"
- use: compute-node
id: compute-node-0
listen-address: "0.0.0.0"
address: ${id}
- use: frontend
id: frontend-node-0
listen-address: "0.0.0.0"
address: ${id}
- use: compactor
id: compactor-0
listen-address: "0.0.0.0"
address: ${id}
- use: redpanda
- use: prometheus
id: prometheus-0
listen-address: "0.0.0.0"
address: ${id}
- use: grafana
listen-address: "0.0.0.0"
address: ${id}
id: grafana-0
- use: etcd
listen-address: "0.0.0.0"
address: ${id}
id: etcd-0
# special config for deployment, see related PR for more information
compose-3node-deploy:
steps:
# - use: minio
# id: minio-0
# address: ${dns-host:rw-source-0}
# listen-address: "0.0.0.0"
# console-address: "0.0.0.0"
- use: aws-s3
bucket: ${terraform:s3-bucket}
# Not enabled by default as all previous benchmarks are not done with etcd.
# Also we currently only support node-level docker volume tear down.
# - use: etcd
# listen-address: "0.0.0.0"
# address: ${dns-host:rw-meta-0}
# id: etcd-0
- use: meta-node
# Id must starts with `meta-node`, therefore to be picked up by other
# components.
id: meta-node-0
# Advertise address can be `id`, so as to use docker's DNS. If running
# in host network mode, we should use IP directly in this field.
address: ${dns-host:rw-meta-0}
listen-address: "0.0.0.0"
- use: compute-node
id: compute-node-0
listen-address: "0.0.0.0"
address: ${dns-host:rw-compute-0}
async-stack-trace: verbose
enable-tiered-cache: true
- use: compute-node
id: compute-node-1
listen-address: "0.0.0.0"
address: ${dns-host:rw-compute-1}
async-stack-trace: verbose
enable-tiered-cache: true
- use: compute-node
id: compute-node-2
listen-address: "0.0.0.0"
address: ${dns-host:rw-compute-2}
async-stack-trace: verbose
enable-tiered-cache: true
- use: frontend
id: frontend-node-0
listen-address: "0.0.0.0"
address: ${dns-host:rw-meta-0}
- use: compactor
id: compactor-0
listen-address: "0.0.0.0"
address: ${dns-host:rw-source-0}
max-concurrent-task-number: 15
compaction-worker-threads-number: 15
- use: redpanda
address: ${dns-host:rw-source-0}
- use: prometheus
id: prometheus-0
listen-address: "0.0.0.0"
address: ${dns-host:rw-meta-0}
- use: grafana
listen-address: "0.0.0.0"
address: ${dns-host:rw-meta-0}
id: grafana-0
#################################
### Configurations used on CI ###
#################################
ci-1cn-1fe:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
ci-3cn-1fe:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
port: 5687
exporter-port: 1222
enable-tiered-cache: true
- use: compute-node
port: 5688
exporter-port: 1223
enable-tiered-cache: true
- use: compute-node
port: 5689
exporter-port: 1224
enable-tiered-cache: true
- use: frontend
- use: compactor
ci-3cn-3fe:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
port: 5687
exporter-port: 1222
enable-tiered-cache: true
- use: compute-node
port: 5688
exporter-port: 1223
enable-tiered-cache: true
- use: compute-node
port: 5689
exporter-port: 1224
enable-tiered-cache: true
- use: frontend
port: 4565
exporter-port: 2222
health-check-port: 6786
- use: frontend
port: 4566
exporter-port: 2223
health-check-port: 6787
- use: frontend
port: 4567
exporter-port: 2224
health-check-port: 6788
- use: compactor
ci-3cn-3fe-in-memory:
config-path: src/config/ci.toml
steps:
- use: meta-node
enable-in-memory-kv-state-backend: true
- use: compute-node
port: 5687
exporter-port: 1222
- use: compute-node
port: 5688
exporter-port: 1223
- use: compute-node
port: 5689
exporter-port: 1224
- use: frontend
port: 4565
exporter-port: 2222
health-check-port: 6786
- use: frontend
port: 4566
exporter-port: 2223
health-check-port: 6787
- use: frontend
port: 4567
exporter-port: 2224
health-check-port: 6788
ci-3cn-3fe-opendal-fs-backend:
config-path: src/config/ci.toml
steps:
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: opendal
engine: fs
bucket: ""
root: /tmp/rw_ci
- use: compute-node
port: 5687
exporter-port: 1222
- use: compute-node
port: 5688
exporter-port: 1223
- use: compute-node
port: 5689
exporter-port: 1224
- use: frontend
port: 4565
exporter-port: 2222
health-check-port: 6786
- use: frontend
port: 4566
exporter-port: 2223
health-check-port: 6787
- use: frontend
port: 4567
exporter-port: 2224
health-check-port: 6788
- use: compactor
ci-3streaming-2serving-3fe:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
port: 5687
exporter-port: 1222
enable-tiered-cache: true
role: streaming
parallelism: 4
- use: compute-node
port: 5688
exporter-port: 1223
enable-tiered-cache: true
role: streaming
parallelism: 4
- use: compute-node
port: 5689
exporter-port: 1224
enable-tiered-cache: true
role: streaming
parallelism: 4
- use: compute-node
port: 5685
exporter-port: 1225
enable-tiered-cache: true
role: serving
parallelism: 6
- use: compute-node
port: 5686
exporter-port: 1226
enable-tiered-cache: true
role: serving
parallelism: 6
- use: frontend
port: 4565
exporter-port: 2222
health-check-port: 6786
- use: frontend
port: 4566
exporter-port: 2223
health-check-port: 6787
- use: frontend
port: 4567
exporter-port: 2224
health-check-port: 6788
- use: compactor
ci-pubsub:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
- use: pubsub
persist-data: true
ci-kafka:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
- use: zookeeper
persist-data: true
- use: kafka
persist-data: true
ci-kafka-plus-pubsub:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
- use: zookeeper
persist-data: true
- use: kafka
persist-data: true
- use: pubsub
persist-data: true
ci-redis:
config-path: src/config/ci.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
- use: redis
ci-compaction-test:
config-path: src/config/ci-compaction-test.toml
steps:
- use: minio
- use: etcd
unsafe-no-fsync: true
- use: meta-node
- use: compute-node
enable-tiered-cache: true
total-memory-bytes: 17179869184
- use: frontend
- use: compactor
ci-1cn-1fe-with-recovery:
config-path: src/config/ci-recovery.toml
steps:
- use: minio
- use: etcd
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
ci-meta-backup-test:
config-path: src/config/ci-meta-backup-test.toml
steps:
- use: etcd
- use: minio
- use: meta-node
- use: compute-node
- use: frontend
- use: compactor
ci-meta-backup-test-restore:
config-path: src/config/ci-meta-backup-test.toml
steps:
- use: etcd
- use: minio
ci-delete-range-test:
config-path: src/config/ci-delete-range-test.toml
steps:
- use: minio
ci-iceberg-test:
config-path: src/config/ci-iceberg-test.toml
steps:
- use: minio
- use: meta-node
- use: compute-node
enable-tiered-cache: true
- use: frontend
- use: compactor
compose:
risingwave: "ghcr.io/risingwavelabs/risingwave:latest"
prometheus: "prom/prometheus:latest"
minio: "quay.io/minio/minio:latest"
redpanda: "docker.vectorized.io/vectorized/redpanda:latest"
grafana: "grafana/grafana-oss:latest"
etcd: "quay.io/coreos/etcd:latest"
# The `use` field specified in the above `risedev` section will refer to the templates below.
template:
minio:
# Advertise address of MinIO s3 endpoint
address: "127.0.0.1"
# Advertise port of MinIO s3 endpoint
port: 9301
# Listen address of MinIO endpoint
listen-address: ${address}
# Console address of MinIO s3 endpoint
console-address: "127.0.0.1"
# Console port of MinIO s3 endpoint
console-port: 9400
# Root username (can be used to login to MinIO console)
root-user: hummockadmin
# Root password (can be used to login to MinIO console)
root-password: hummockadmin
# Bucket name to store hummock information
hummock-bucket: hummock001
# Id of this instance
id: minio
# Prometheus nodes used by this MinIO
provide-prometheus: "prometheus*"
etcd:
# Id of this instance
id: etcd-${port}
# Advertise address of the single-node etcd.
address: "127.0.0.1"
# Listen port of the single-node etcd.
port: 2388
# Listen address
listen-address: ${address}
# Peer listen port of the single-node etcd.
peer-port: 2389
# Prometheus exporter listen port
exporter-port: 2379
# Whether to enable fsync (NEVER SET TO TRUE IN PRODUCTION ENVIRONMENT!)
unsafe-no-fsync: false
# Other etcd nodes
provide-etcd: "etcd*"
compute-node:
# Compute-node advertise address
address: "127.0.0.1"
# Listen address
listen-address: ${address}
# Compute-node listen port
port: 5688
# Prometheus exporter listen port
exporter-port: 1222
# Id of this instance
id: compute-node-${port}
# Whether to enable async stack trace for this compute node, `off`, `on`, or `verbose`.
# Considering the performance, `verbose` mode only effect under `release` profile with `debug_assertions` off.
async-stack-trace: on
# If `enable-tiered-cache` is true, hummock will use data directory as file cache.
enable-tiered-cache: false
# RPC endpoint for connector node
connector-rpc-endpoint: "127.0.0.1:50051"
# Minio instances used by this compute node
provide-minio: "minio*"
# OpenDAL storage backend used by this compute node
provide-opendal: "opendal*"
# AWS s3 bucket used by this compute node
provide-aws-s3: "aws-s3*"
# Meta-nodes used by this compute node
provide-meta-node: "meta-node*"
# Jaeger used by this compute node
provide-jaeger: "jaeger*"
# If `user-managed` is true, this service will be started by user with the above config
user-managed: false
# Total available memory for the compute node in bytes
total-memory-bytes: 8589934592
# Parallelism of tasks per compute node
parallelism: 4
role: both
meta-node:
# Meta-node advertise address
address: "127.0.0.1"
# Meta-node listen port
port: 5690
# Listen address
listen-address: ${address}
# Dashboard listen port
dashboard-port: 5691
# Prometheus exporter listen port
exporter-port: 1250
# Id of this instance
id: meta-node-${port}
# RPC endpoint for connector node colocated with Meta
connector-rpc-endpoint: "127.0.0.1:50051"
# If `user-managed` is true, this service will be started by user with the above config
user-managed: false
# Etcd backend config
provide-etcd-backend: "etcd*"
# Prometheus nodes used by dashboard service
provide-prometheus: "prometheus*"
# Sanity check: should use shared storage if there're multiple compute nodes
provide-compute-node: "compute-node*"
# Sanity check: should start at lease one compactor if using shared object store
provide-compactor: "compactor*"
# Minio instances used by the cluster
provide-minio: "minio*"
# OpenDAL storage backend used by the cluster
provide-opendal: "opendal*"
# AWS s3 bucket used by the cluster
provide-aws-s3: "aws-s3*"
# Whether to enable in-memory pure KV state backend
enable-in-memory-kv-state-backend: false
prometheus:
# Advertise address of Prometheus
address: "127.0.0.1"
# Listen port of Prometheus
port: 9500
# Listen address
listen-address: ${address}
# Id of this instance
id: prometheus
# If `remote_write` is true, this Prometheus instance will push metrics to remote instance
remote-write: false
# AWS region of remote write
remote-write-region: ""
# Remote write url of this instance
remote-write-url: ""
# Compute-nodes used by this Prometheus instance
provide-compute-node: "compute-node*"
# Meta-nodes used by this Prometheus instance
provide-meta-node: "meta-node*"
# Minio instances used by this Prometheus instance
provide-minio: "minio*"
# Compactors used by this Prometheus instance
provide-compactor: "compactor*"
# Etcd used by this Prometheus instance
provide-etcd: "etcd*"
# Redpanda used by this Prometheus instance
provide-redpanda: "redpanda*"
# Frontend used by this Prometheus instance
provide-frontend: "frontend*"
# Connector-node used by this Prometheus instance
provide-connector-node: "connector*"
frontend:
# Advertise address of frontend
address: "127.0.0.1"
# Listen port of frontend
port: 4566
# Listen address
listen-address: ${address}
# Prometheus exporter listen port
exporter-port: 2222
# Health check listen port
health-check-port: 6786
# Id of this instance
id: frontend-${port}
# Meta-nodes used by this frontend instance
provide-meta-node: "meta-node*"
# If `user-managed` is true, this service will be started by user with the above config
user-managed: false
compactor:
# Compactor advertise address
address: "127.0.0.1"
# Compactor listen port
port: 6660
# Listen address
listen-address: ${address}
# Prometheus exporter listen port
exporter-port: 1260
# Id of this instance
id: compactor-${port}
# Minio instances used by this compactor
provide-minio: "minio*"
# Meta-nodes used by this compute node
provide-meta-node: "meta-node*"
# If `user-managed` is true, this service will be started by user with the above config
user-managed: false