Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pipeline-perf-on-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ jobs:
- name: Run pipeline performance test suite
run: |
cd tools/pipeline_perf_test
python orchestrator/run_orchestrator.py --config test_suites/integration/continuous/100klrps-docker.yaml
python orchestrator/run_orchestrator.py --config test_suites/integration/continuous/1klrps-docker.yaml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when performance label is added, this one is run on the lab machine, so we'd want to conditionally pick based on the label or not.

1 change: 1 addition & 0 deletions rust/otap-dataflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y protobuf-compiler
COPY --from=otel-arrow /proto/opentelemetry/proto /build/proto/opentelemetry/proto
COPY --from=otel-arrow /proto/opentelemetry-proto /build/proto/opentelemetry-proto
COPY --from=otel-arrow /rust/experimental /build/rust/experimental
COPY --from=otel-arrow /THIRD_PARTY_NOTICES.txt /build/THIRD_PARTY_NOTICES.txt

COPY . /build/rust/dataflow/.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
name: CI 1kLRPS (Basic Validation)
components:
load-generator:
deployment:
docker:
image: df_engine:latest
network: testbed
ports:
- "8085:8080"
# Build doesn't support extra contexts, which are currently needed to get the protos compiled.
# run the docker build as an external step for now.
# e.g. - from the ../../rust/otap-dataflow dir:
# $ docker build --build-context otel-arrow=../../ -f Dockerfile -t df_engine .
# build:
# context: ../../rust/otap-dataflow/
# ags:
### This doesn't work.
# build-context: 'otel-arrow=../../'
volumes:
- 'test_suites/integration/configs/loadgen/config.rendered.yaml:/home/dataflow/config.yaml:ro'
command:
- "--config"
- "./config.yaml"
- "--core-id-range"
- "2-2"
- "--http-admin-bind"
- "0.0.0.0:8080"
monitoring:
docker_component:
allocated_cores: 1 # Matches core-id-range: 2-2
prometheus:
endpoint: http://localhost:8085/api/v1/telemetry/metrics?format=prometheus&reset=false
df-engine:
deployment:
docker:
image: df_engine:latest
network: testbed
ports:
- "8086:8080"
volumes:
- 'test_suites/integration/configs/engine/config.rendered.yaml:/home/dataflow/config.yaml:ro'
command:
- "--config"
- "./config.yaml"
- "--core-id-range"
- "3-3"
- "--http-admin-bind"
- "0.0.0.0:8080"
monitoring:
docker_component:
allocated_cores: 1 # Matches core-id-range: 3-3
prometheus:
endpoint: http://localhost:8086/api/v1/telemetry/metrics?format=prometheus&reset=false
backend-service:
deployment:
docker:
image: df_engine:latest
network: testbed
ports:
- "8087:8080"
volumes:
- 'test_suites/integration/configs/backend/config.rendered.yaml:/home/dataflow/config.yaml:ro'
command:
- "--config"
- "./config.yaml"
- "--core-id-range"
- "1-1"
- "--http-admin-bind"
- "0.0.0.0:8080"
monitoring:
docker_component:
allocated_cores: 1 # Matches core-id-range: 1-1
prometheus:
endpoint: http://localhost:8087/api/v1/telemetry/metrics?format=prometheus&reset=false

tests:
- name: OTLP-ATTR-OTLP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
engine_config_template: test_suites/integration/templates/configs/engine/continuous/otlp-attr-otlp.yaml
loadgen_exporter_type: otlp
backend_receiver_type: otlp
max_batch_size: 100
signals_per_second: 1000
observation_interval: 10
- name: OTLP-ATTR-OTAP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
engine_config_template: test_suites/integration/templates/configs/engine/continuous/otlp-attr-otap.yaml
loadgen_exporter_type: otlp
backend_receiver_type: otap
max_batch_size: 100
signals_per_second: 1000
observation_interval: 10
- name: OTAP-ATTR-OTAP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
engine_config_template: test_suites/integration/templates/configs/engine/continuous/otap-attr-otap.yaml
loadgen_exporter_type: otap
backend_receiver_type: otap
max_batch_size: 100
signals_per_second: 1000
observation_interval: 10
- name: OTAP-ATTR-OTLP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
engine_config_template: test_suites/integration/templates/configs/engine/continuous/otap-attr-otlp.yaml
loadgen_exporter_type: otap
backend_receiver_type: otlp
max_batch_size: 100
signals_per_second: 1000
observation_interval: 10
- name: OTLP-BATCH-OTLP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
engine_config_template: test_suites/integration/templates/configs/engine/batch_processor/otlp-batch-otlp.yaml
loadgen_exporter_type: otlp
backend_receiver_type: otlp
max_batch_size: 100
signals_per_second: 1000
observation_interval: 10
- name: OTAP-BATCH-OTAP
from_template:
path: test_suites/integration/templates/test_steps/df-loadgen-steps-docker.yaml
variables:
engine_config_template: test_suites/integration/templates/configs/engine/batch_processor/otap-batch-otap.yaml
loadgen_exporter_type: otap
backend_receiver_type: otap
max_batch_size: 100
signals_per_second: 1000
observation_interval: 10
Loading