From 33d0387eac6755a3bfb37493e20e439d5ede35b0 Mon Sep 17 00:00:00 2001 From: Rasul Kireev Date: Thu, 17 Oct 2024 15:10:10 +0300 Subject: [PATCH] fix --- deployment/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/entrypoint.sh b/deployment/entrypoint.sh index 7f3fcac..f8433c8 100755 --- a/deployment/entrypoint.sh +++ b/deployment/entrypoint.sh @@ -38,9 +38,9 @@ if [ "$server" = true ]; then python manage.py migrate export OTEL_SERVICE_NAME=${PROJECT_NAME}_${ENVIRONMENT:-dev} export OTEL_RESOURCE_ATTRIBUTES=service.name=${PROJECT_NAME}_${ENVIRONMENT:-dev} - opentelemetry-instrumentgunicorn ${PROJECT_NAME}.wsgi:application --bind 0.0.0.0:80 --workers 3 --threads 2 --reload + opentelemetry-instrument gunicorn ${PROJECT_NAME}.wsgi:application --bind 0.0.0.0:80 --workers 3 --threads 2 --reload else export OTEL_SERVICE_NAME="${PROJECT_NAME}_${ENVIRONMENT:-dev}_workers" export OTEL_RESOURCE_ATTRIBUTES=service.name=${PROJECT_NAME}_${ENVIRONMENT:-dev}_workers - opentelemetry-instrumentpython manage.py qcluster + opentelemetry-instrument python manage.py qcluster fi