File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ if [ "$server" = true ]; then
38
38
python manage.py migrate
39
39
export OTEL_SERVICE_NAME=${PROJECT_NAME} _${ENVIRONMENT:- dev}
40
40
export OTEL_RESOURCE_ATTRIBUTES=service.name=${PROJECT_NAME} _${ENVIRONMENT:- dev}
41
- opentelemetry-instrumentgunicorn ${PROJECT_NAME} .wsgi:application --bind 0.0.0.0:80 --workers 3 --threads 2 --reload
41
+ opentelemetry-instrument gunicorn ${PROJECT_NAME} .wsgi:application --bind 0.0.0.0:80 --workers 3 --threads 2 --reload
42
42
else
43
43
export OTEL_SERVICE_NAME=" ${PROJECT_NAME} _${ENVIRONMENT:- dev} _workers"
44
44
export OTEL_RESOURCE_ATTRIBUTES=service.name=${PROJECT_NAME} _${ENVIRONMENT:- dev} _workers
45
- opentelemetry-instrumentpython manage.py qcluster
45
+ opentelemetry-instrument python manage.py qcluster
46
46
fi
You can’t perform that action at this time.
0 commit comments