mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-11 09:27:56 -04:00
try initializing new relic after we monkeypatch
This commit is contained in:
@@ -2,4 +2,8 @@ from gevent import monkey
|
||||
|
||||
monkey.patch_all()
|
||||
|
||||
import newrelic.agent # noqa
|
||||
|
||||
newrelic.agent.initialize("./newrelic.ini")
|
||||
|
||||
from application import application # noqa
|
||||
|
||||
2
poetry.lock
generated
2
poetry.lock
generated
@@ -5645,4 +5645,4 @@ cffi = ["cffi (>=1.11)"]
|
||||
[metadata]
|
||||
lock-version = "2.1"
|
||||
python-versions = "^3.13.2"
|
||||
content-hash = "4bdc474ed8c3825f1ae4f0e3ccb2de527f3a83d327843cca07fedc50493970bf"
|
||||
content-hash = "b40b20a277c88a4d73608c5c81c5c2dfb5bac46f00c9788b9705d13fecf520a4"
|
||||
|
||||
@@ -38,7 +38,7 @@ jsonschema = {version = "==4.25.0", extras = ["format"]}
|
||||
lxml = "==6.0.0"
|
||||
marshmallow = "^4.0.0"
|
||||
marshmallow-sqlalchemy = "^1.4.2"
|
||||
newrelic = "*"
|
||||
newrelic = "^10.15.0"
|
||||
packaging = "==25.0"
|
||||
poetry-dotenv-plugin = "==0.2.0"
|
||||
psycopg2-binary = "==2.9.10"
|
||||
|
||||
@@ -4,4 +4,4 @@ if [[ $CF_INSTANCE_INDEX -eq 0 ]]; then
|
||||
flask db upgrade
|
||||
fi
|
||||
|
||||
exec newrelic-admin run-program gunicorn -c ${HOME}/gunicorn_config.py gunicorn_entry:application
|
||||
exec gunicorn -c ${HOME}/gunicorn_config.py gunicorn_entry:application
|
||||
|
||||
Reference in New Issue
Block a user