Skip to content

Commit 94e1435

Browse files
committed
Increased memory constraints and introduced LOCUST_BROWSER_TRAFFIC_ENABLED environment variable
1 parent f965072 commit 94e1435

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.env

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ LOCUST_HOST=http://${FRONTEND_PROXY_ADDR}
6767
LOCUST_WEB_HOST=loadgenerator
6868
LOCUST_AUTOSTART=true
6969
LOCUST_HEADLESS=false
70+
LOCUST_BROWSER_TRAFFIC_ENABLED=false
7071

7172
# Payment Service
7273
PAYMENT_SERVICE_PORT=50051

docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ services:
371371
deploy:
372372
resources:
373373
limits:
374-
memory: 120M
374+
memory: 1G
375375
restart: unless-stopped
376376
ports:
377377
- "${LOCUST_WEB_PORT}"
@@ -381,6 +381,7 @@ services:
381381
- LOCUST_HOST
382382
- LOCUST_HEADLESS
383383
- LOCUST_AUTOSTART
384+
- LOCUST_BROWSER_TRAFFIC_ENABLED
384385
- OTEL_EXPORTER_OTLP_ENDPOINT
385386
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
386387
- OTEL_RESOURCE_ATTRIBUTES

kubernetes/opentelemetry-demo.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10041,6 +10041,8 @@ spec:
1004110041
value: "false"
1004210042
- name: LOCUST_AUTOSTART
1004310043
value: "true"
10044+
- name: LOCUST_BROWSER_TRAFFIC_ENABLED
10045+
value: "false"
1004410046
- name: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
1004510047
value: python
1004610048
- name: OTEL_EXPORTER_OTLP_ENDPOINT
@@ -10049,7 +10051,7 @@ spec:
1004910051
value: service.name=$(OTEL_SERVICE_NAME),service.namespace=opentelemetry-demo
1005010052
resources:
1005110053
limits:
10052-
memory: 120Mi
10054+
memory: 1Gi
1005310055
---
1005410056
# Source: opentelemetry-demo/templates/component.yaml
1005510057
apiVersion: apps/v1

0 commit comments

Comments
 (0)