Add newrelic integration in docker file

This commit is contained in:
Daniel Egger 2023-08-27 21:24:09 +02:00
parent 946d5671b8
commit 163df01f5d
6 changed files with 15 additions and 10 deletions

View File

@ -15,4 +15,4 @@ else
python /app/manage.py migrate
fi
/usr/local/bin/gunicorn config.asgi --bind 0.0.0.0:7555 --chdir=/app -k uvicorn.workers.UvicornWorker
newrelic-admin run-program gunicorn config.asgi --bind 0.0.0.0:7555 --chdir=/app -k uvicorn.workers.UvicornWorker

Binary file not shown.

View File

@ -10,9 +10,6 @@ from django.views import defaults as default_views
from django.views.decorators.csrf import csrf_exempt
from django_ratelimit.exceptions import Ratelimited
from graphene_django.views import GraphQLView
from wagtail import urls as wagtail_urls
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls
from vbv_lernwelt.assignment.views import request_assignment_completion_status
from vbv_lernwelt.core.middleware.auth import django_view_authentication_exempt
@ -56,6 +53,9 @@ from vbv_lernwelt.importer.views import (
t2l_sync,
)
from vbv_lernwelt.notify.views import email_notification_settings
from wagtail import urls as wagtail_urls
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls
class SignedIntConverter(IntConverter):

View File

@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements-dev.in
# pip-compile --output-file=requirements-dev.txt requirements-dev.in
#
aniso8601==9.0.1
# via graphene
@ -313,6 +313,8 @@ mypy-extensions==1.0.0
# black
# mypy
# typing-inspect
newrelic==8.11.0
# via -r requirements.in
nodeenv==1.8.0
# via pre-commit
openpyxl==3.1.2

View File

@ -50,3 +50,4 @@ azure-identity
boto3
openpyxl
newrelic

View File

@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements.in
# pip-compile --output-file=requirements.txt requirements.in
#
aniso8601==9.0.1
# via graphene
@ -196,6 +196,8 @@ msal==1.23.0
# msal-extensions
msal-extensions==1.0.0
# via azure-identity
newrelic==8.11.0
# via -r requirements.in
openpyxl==3.1.2
# via
# -r requirements.in