SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
chore: 🔧 upgrade distributed locust to 1.2.3 and updated related files
Prashant Shahia1a5e8bf9b53
diff --git a/deploy/README.md b/deploy/README.mdindex f226c79d4c..55c3b6e8d4 100644--- a/deploy/README.md+++ b/deploy/README.md@@ -66,7 +66,7 @@ To generate load:```shkubectl -n sample-application run strzal --image=djbingham/curl \--restart='OnFailure' -i --tty --rm --command -- curl -X POST -F \-'locust_count=6' -F 'hatch_rate=2' http://locust-master:8089/swarm+'user_count=6' -F 'spawn_rate=2' http://locust-master:8089/swarm```To stop load:diff --git a/sample-apps/hotrod/hotrod-install.sh b/sample-apps/hotrod/hotrod-install.shindex 197f18d76e..b7ba4f6caa 100755--- a/sample-apps/hotrod/hotrod-install.sh+++ b/sample-apps/hotrod/hotrod-install.sh@@ -16,7 +16,7 @@ fi# Locust's docker imageif [[ -z $LOCUST_IMAGE ]]; thenLOCUST_REPO="${LOCUST_REPO:-signoz/locust}"- LOCUST_TAG="${LOCUST_TAG:-0.8.1-py3.6}"+ LOCUST_TAG="${LOCUST_TAG:-1.2.3}"LOCUST_IMAGE="${LOCUST_REPO}:${LOCUST_TAG}"fidiff --git a/sample-apps/hotrod/hotrod-template.yaml b/sample-apps/hotrod/hotrod-template.yamlindex f2d432ca4d..472cbe4d52 100644--- a/sample-apps/hotrod/hotrod-template.yaml+++ b/sample-apps/hotrod/hotrod-template.yaml@@ -11,8 +11,10 @@ metadata:name: scripts-cmdata:locustfile.py: |- from locust import HttpLocust, TaskSet, task- class UserTasks(TaskSet):+ from locust import HttpUser, task, between+ class UserTasks(HttpUser):+ wait_time = between(5, 15)+@taskdef rachel(self):self.client.get("/dispatch?customer=123&nonse=0.6308392664170006")@@ -25,8 +27,6 @@ data:@taskdef coffee(self):self.client.get("/dispatch?customer=567&nonse=0.0022220379420636593")- class WebsiteUser(HttpLocust):- task_set = UserTasks---apiVersion: apps/v1kind: Deployment@@ -155,13 +155,13 @@ metadata:annotations:deployment.kubernetes.io/revision: "1"labels:- role: locust-slave- name: locust-slave+ role: locust-worker+ name: locust-workerspec:replicas: 1selector:matchLabels:- role: locust-slave+ role: locust-workerstrategy:rollingUpdate:maxSurge: 1@@ -170,12 +170,12 @@ spec:template:metadata:labels:- role: locust-slave+ role: locust-workerspec:containers:- image: ${LOCUST_IMAGE}imagePullPolicy: IfNotPresent- name: locust-slave+ name: locust-workerenv:- name: ATTACKED_HOSTvalueFrom:@@ -183,8 +183,8 @@ spec:name: locust-cmkey: ATTACKED_HOST- name: LOCUST_MODE- value: SLAVE- - name: LOCUST_MASTER+ value: WORKER+ - name: LOCUST_MASTER_HOSTvalue: locust-mastervolumeMounts:- mountPath: /locustdiff --git a/sample-apps/hotrod/hotrod.yaml b/sample-apps/hotrod/hotrod.yamlindex 0793ec3d95..2dbbaec654 100644--- a/sample-apps/hotrod/hotrod.yaml+++ b/sample-apps/hotrod/hotrod.yaml@@ -11,8 +11,10 @@ metadata:name: scripts-cmdata:locustfile.py: |- from locust import HttpLocust, TaskSet, task- class UserTasks(TaskSet):+ from locust import HttpUser, task, between+ class UserTasks(HttpUser):+ wait_time = between(5, 15)+@taskdef rachel(self):self.client.get("/dispatch?customer=123&nonse=0.6308392664170006")@@ -25,8 +27,6 @@ data:@taskdef coffee(self):self.client.get("/dispatch?customer=567&nonse=0.0022220379420636593")- class WebsiteUser(HttpLocust):- task_set = UserTasks---apiVersion: apps/v1kind: Deployment@@ -155,13 +155,13 @@ metadata:annotations:deployment.kubernetes.io/revision: "1"labels:- role: locust-slave- name: locust-slave+ role: locust-worker+ name: locust-workerspec:replicas: 1selector:matchLabels:- role: locust-slave+ role: locust-workerstrategy:rollingUpdate:maxSurge: 1@@ -170,12 +170,12 @@ spec:template:metadata:labels:- role: locust-slave+ role: locust-workerspec:containers:- image: signoz/locust:1.2.3imagePullPolicy: IfNotPresent- name: locust-slave+ name: locust-workerenv:- name: ATTACKED_HOSTvalueFrom:@@ -183,8 +183,8 @@ spec:name: locust-cmkey: ATTACKED_HOST- name: LOCUST_MODE- value: SLAVE- - name: LOCUST_MASTER+ value: WORKER+ - name: LOCUST_MASTER_HOSTvalue: locust-mastervolumeMounts:- mountPath: /locust