@@ -8112,6 +8112,8 @@ function check_for_ec2_instance_running() {
8112
8112
# loop through the list
8113
8113
for instance in $(echo $current_list | tr "|" "\n")
8114
8114
do
8115
+ echo ""
8116
+ echo ""
8115
8117
log "💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸"
8116
8118
log "🤑 you have an ec2 instance $instance running !"
8117
8119
log "💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸💸"
@@ -14241,6 +14243,11 @@ playground_run_command() {
14241
14243
fi
14242
14244
array_flag_list+=("--enable-jmx-grafana")
14243
14245
export ENABLE_JMX_GRAFANA=true
14246
+
14247
+ if [[ -n "$force_interactive_repro" ]]
14248
+ then
14249
+ force_enable --enable-jmx-grafana ENABLE_JMX_GRAFANA
14250
+ fi
14244
14251
fi
14245
14252
14246
14253
if [[ -n "$enable_kcat" ]]
@@ -14257,6 +14264,12 @@ playground_run_command() {
14257
14264
log "📊 automatically enabling Grafana as --enable-sql-datagen is set"
14258
14265
array_flag_list+=("--enable-jmx-grafana")
14259
14266
export ENABLE_JMX_GRAFANA=true
14267
+
14268
+ if [[ -n "$force_interactive_repro" ]]
14269
+ then
14270
+ force_enable --enable-sql-datagen SQL_DATAGEN
14271
+ force_enable --enable-jmx-grafana ENABLE_JMX_GRAFANA
14272
+ fi
14260
14273
fi
14261
14274
14262
14275
if [[ -n "$cluster_type" ]] || [[ -n "$cluster_cloud" ]] || [[ -n "$cluster_region" ]] || [[ -n "$cluster_environment" ]] || [[ -n "$cluster_name" ]] || [[ -n "$cluster_creds" ]] || [[ -n "$cluster_schema_registry_creds" ]]
@@ -15551,6 +15564,13 @@ playground_run_command() {
15551
15564
display_docker_container_error_log
15552
15565
fi
15553
15566
check_for_ec2_instance_running
15567
+
15568
+ if [ ! -z "$ENABLE_JMX_GRAFANA" ]
15569
+ then
15570
+ log "🛡️ Prometheus is reachable at http://127.0.0.1:9090"
15571
+ log "📛 Pyroscope is reachable at http://127.0.0.1:4040"
15572
+ log "📊 Grafana is reachable at http://127.0.0.1:3000 (login/password is admin/password) or JMX metrics are available locally on those ports:"
15573
+ fi
15554
15574
}
15555
15575
15556
15576
# :command.function
@@ -18137,7 +18157,21 @@ EOF
18137
18157
18138
18158
playground generate-fzf-find-files &
18139
18159
playground open-docs --only-show-url
18140
- playground run -f $repro_dir/$repro_test_filename --force-interactive-repro $flag_list
18160
+
18161
+ if [[ "$repro_test_filename" == *"perf"* ]]
18162
+ then
18163
+ if [[ $test_file == *"connect-debezium-sqlserver"* ]] || [[ $test_file == *"connect-debezium-mysql"* ]] || [[ $test_file == *"connect-debezium-postgresql"* ]] || [[ $test_file == *"connect-debezium-oracle"* ]] || [[ $test_file == *"connect-cdc-oracle"* ]] || [[ $test_file == *"connect-jdbc-sqlserver"* ]] || [[ $test_file == *"connect-jdbc-mysql"* ]] || [[ $test_file == *"connect-jdbc-postgresql"* ]] || [[ $test_file == *"connect-jdbc-oracle"* ]] || [[ $test_file == *"connect-cdc-xstream"* ]]
18164
+ then
18165
+ log "🌪️ automatically enabling SQL Datagen injection as repro name contains <perf>"
18166
+ playground run -f $repro_dir/$repro_test_filename --enable-sql-datagen --force-interactive-repro $flag_list
18167
+ else
18168
+ log "📊 automatically enabling Grafana as repro name contains <perf>"
18169
+ playground run -f $repro_dir/$repro_test_filename --enable-jmx-grafana --force-interactive-repro $flag_list
18170
+ fi
18171
+ else
18172
+ playground run -f $repro_dir/$repro_test_filename --force-interactive-repro $flag_list
18173
+ fi
18174
+
18141
18175
}
18142
18176
18143
18177
# :command.function
0 commit comments