Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rasulkireev committed Oct 17, 2024
1 parent ba536fb commit 33d0387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 33d0387

Please sign in to comment.