@@ -2,6 +2,8 @@ name: benchmarks
22
33# Secret access requires allowlist in https://github.com/elastic/oblt-infra/tree/main/conf/resources/repos/apm-server
44
5+ # To call benchmarks workflow programmatically with different params, use the `gh workflow run` command.
6+
57on :
68 workflow_dispatch :
79 inputs :
5557 required : false
5658 type : boolean
5759 default : false
58- workflow_call :
59- # Identical to workflow_dispatch inputs
60- # GH Actions YAML parser doesn't support anchors yet: https://github.com/actions/runner/issues/1182
61- inputs :
62- runStandalone :
63- description : ' Benchmark against standalone APM Server with Moxy'
64- required : false
65- type : boolean
66- default : false
67- enableTailSampling :
68- description : ' Enable tail-based sampling on APM server'
69- required : false
70- type : boolean
71- default : false
72- tailSamplingStorageLimit :
73- description : ' Storage size limit of tail-based sampling on APM server'
74- required : false
75- type : string
76- default : " 10GB"
77- tailSamplingSampleRate :
78- description : ' Blanket sample rate used by tail-based sampling'
79- required : false
80- type : string
81- default : " 0.1"
82- profile :
83- description : ' System profile for benchmark, e.g. system-profiles/8GBx1zone.tfvars'
84- required : false
85- type : string
86- # defaults set below (TFVARS_SOURCE)
87- runOnStable :
88- description : ' Benchmark on latest stable version instead of a build from commit'
89- required : false
90- type : boolean
91- default : false
92- benchmarkAgents :
93- description : ' Number of benchmark agents sending data to APM Server'
94- required : false
95- type : string
96- # defaults set in Makefile
97- benchmarkRun :
98- description : ' Benchmark scenarios that only match regex, e.g. BenchmarkAgentAll'
99- required : false
100- type : string
101- # defaults set in Makefile
102- warmupTime :
103- description : ' Benchmark warmup time for APM Server e.g. 3s, 5m, 2h'
104- required : false
105- type : string
106- # defaults set below (Set up env)
107- pgoExport :
108- description : ' Benchmark with PGO export'
109- required : false
110- type : boolean
111- default : false
11260 schedule :
11361 - cron : ' 0 17 * * *' # Scheduled regular benchmarks.
11462 - cron : ' 0 0 1 * *' # Scheduled PGO benchmarks.
0 commit comments