@@ -30,3 +30,40 @@ benchmarks:
30
30
31
31
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE : dd-trace-java
32
32
FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY : " true"
33
+
34
+ .dsm-kafka-benchmarks :
35
+ stage : benchmarks
36
+ rules :
37
+ - if : $CI_PIPELINE_SOURCE != "schedule"
38
+ changes :
39
+ paths :
40
+ - dd-java-agent/instrumentation/kafka*/**/*
41
+ compare_to : " master"
42
+ when : on_success
43
+ - when : manual
44
+ tags : ["runner:apm-k8s-tweaked-metal"]
45
+ interruptible : true
46
+ timeout : 1h
47
+ image : 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:java-dsm-kafka
48
+ script :
49
+ - git clone --branch java/kafka-dsm-overhead https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform.git platform && cd platform
50
+ - ./steps/run-benchmarks.sh
51
+ artifacts :
52
+ name : " artifacts"
53
+ when : always
54
+ paths :
55
+ - platform/artifacts/
56
+ expire_in : 3 months
57
+ variables :
58
+ FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY : " true"
59
+
60
+ dsm-kafka-producer-benchmark :
61
+ extends : .dsm-kafka-benchmarks
62
+ variables :
63
+ BP_KAFKA_SCENARIO_DIR : producer-benchmark
64
+
65
+ dsm-kafka-consumer-benchmark :
66
+ extends : .dsm-kafka-benchmarks
67
+ variables :
68
+ BP_KAFKA_SCENARIO_DIR : consumer-benchmark
69
+
0 commit comments