From 88c7e0efd6fe4f14a11485d9c90edcddaf8ac588 Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Tue, 17 Dec 2024 15:14:27 +0000 Subject: [PATCH] Update github workflow to optionally enable TBS --- .github/workflows/benchmarks.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 50133d60642..8d2ce7946b1 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -8,6 +8,11 @@ on: required: false type: boolean default: false + enableTBS: + description: 'Enable tail-based sampling on the APM server' + required: false + type: boolean + default: false profile: description: 'The system profile used to run the benchmarks' required: false @@ -52,6 +57,7 @@ jobs: TF_VAR_private_key: ./id_rsa_terraform TF_VAR_public_key: ./id_rsa_terraform.pub TF_VAR_run_standalone: ${{ inputs.runStandalone || github.event.schedule=='0 5 */5 * *' }} + TF_VAR_apm_server_tbs: ${{ inputs.enableTBS }} RUN_STANDALONE: ${{ inputs.runStandalone || github.event.schedule=='0 5 */5 * *' }} TFVARS_SOURCE: ${{ inputs.profile || 'system-profiles/8GBx1zone.tfvars' }} # // Default to use an 8gb profile TF_VAR_BUILD_ID: ${{ github.run_id }}