8181 name : native-node-hints
8282 path : ./native/node_hints
8383 label : native/node_hints
84- run_extra_args : ' -prometheus-endpoint http://172.28.0.2:9090 - batch-size=10'
84+ run_extra_args : ' -batch-size=10'
8585 create_extra_args : ' -min-partitions-count 10'
8686
8787 concurrency :
@@ -207,6 +207,7 @@ jobs:
207207 fi
208208
209209 - name : Initialize YDB SLO
210+ id : ydb_slo
210211 uses : ydb-platform/ydb-slo-action/init@21473ae781c9bc8f16b42dedc79489c1867c6e50
211212 with :
212213 github_issue : ${{ github.event.inputs.github_issue }}
@@ -229,12 +230,21 @@ jobs:
229230
230231 - name : Run SLO Tests (parallel)
231232 timeout-minutes : 15
233+ env :
234+ DURATION : ${{ inputs.slo_workload_duration_seconds || 600 }}
235+ READ_RPS : ${{ inputs.slo_workload_read_max_rps || 1000 }}
236+ WRITE_RPS : ${{ inputs.slo_workload_write_max_rps || 1000 }}
237+ RUN_EXTRA_ARGS : >-
238+ ${{
239+ steps.ydb_slo.outputs.ydb-prometheus-url
240+ && format(
241+ '{0} -prometheus-endpoint {1}',
242+ matrix.sdk.run_extra_args,
243+ steps.ydb_slo.outputs.ydb-prometheus-url
244+ )
245+ || matrix.sdk.run_extra_args
246+ }}
232247 run : |
233- DURATION=${{ inputs.slo_workload_duration_seconds || 600 }}
234- READ_RPS=${{ inputs.slo_workload_read_max_rps || 1000 }}
235- WRITE_RPS=${{ inputs.slo_workload_write_max_rps || 1000 }}
236- RUN_EXTRA_ARGS="${{ matrix.sdk.run_extra_args }}"
237-
238248 ARGS="run grpc://ydb:2136 /Root/testdb \
239249 -otlp-endpoint prometheus:9090 \
240250 -report-period 250 \
0 commit comments