|
| 1 | +# Example of measurements can be seen here: |
| 2 | +# https://benchmarking.us1.prod.dog/benchmarks?benchmarkGroupPipelineId=66629462&benchmarkGroupSha=16054515e292a66c5eaf79b9ea62df6f348cd67e&page=1&ciJobDateStart=1746309551994&ciJobDateEnd=1748901551994&benchmarkId=14167634 |
| 3 | + |
| 4 | +# Thresholds set based on guidance in https://datadoghq.atlassian.net/wiki/spaces/APMINT/pages/5070193198/How+to+set+up+pre-release+performance+quality+gates#How-to-choose-thresholds-for-pre-release-gates%3F |
| 5 | + |
| 6 | +experiments: |
| 7 | + - name: Run SLO breach check |
| 8 | + steps: |
| 9 | + - name: SLO breach check |
| 10 | + run: fail_on_breach |
| 11 | + # https://datadoghq.atlassian.net/wiki/x/LgI1LgE#How-to-choose-a-warning-range-for-pre-release-gates%3F |
| 12 | + warning_range: 10 |
| 13 | + # File spec |
| 14 | + # https://datadoghq.atlassian.net/wiki/x/LgI1LgE#Specification |
| 15 | + # Measurements |
| 16 | + # https://benchmarking.us1.prod.dog/trends?projectId=4&branch=master&trendsTab=per_scenario |
| 17 | + scenarios: |
| 18 | + |
| 19 | + # Standard macrobenchmarks |
| 20 | + - name: normal_operation/only-tracing |
| 21 | + thresholds: |
| 22 | + - agg_http_req_duration_p50 < 2.28 ms |
| 23 | + - name: normal_operation/only-tracing |
| 24 | + thresholds: |
| 25 | + - agg_http_req_duration_p99 < 7.45 ms |
| 26 | + - name: normal_operation/otel-latest |
| 27 | + thresholds: |
| 28 | + - agg_http_req_duration_p50 < 2.28 ms |
| 29 | + - name: normal_operation/otel-latest |
| 30 | + thresholds: |
| 31 | + - agg_http_req_duration_p99 < 9.00 ms |
| 32 | + |
| 33 | + - name: high_load/only-tracing |
| 34 | + thresholds: |
| 35 | + - throughput > 1400.0 op/s |
| 36 | + - name: high_load/otel-latest |
| 37 | + thresholds: |
| 38 | + - throughput > 1400.0 op/s |
| 39 | + |
| 40 | + # Startup macrobenchmarks |
| 41 | + - name: "startup:petclinic:(tracing|appsec|iast):GlobalTracer" |
| 42 | + thresholds: |
| 43 | + - execution_time < 245 ms |
| 44 | + - name: "startup:petclinic:profiling:GlobalTracer" |
| 45 | + thresholds: |
| 46 | + - execution_time < 368 ms |
0 commit comments