mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
notify-admin-674 remove gds_metrics
This commit is contained in:
2
Pipfile
2
Pipfile
@@ -11,7 +11,6 @@ flask = "~=2.3"
|
||||
flask-basicauth = "~=0.2"
|
||||
flask-login = "~=0.6"
|
||||
flask-wtf = "~=1.1"
|
||||
gds-metrics = {version = "==0.2.4", ref = "6f1840a57b6fb1ee40b7e84f2f18ec229de8aa72", git = "https://github.com/alphagov/gds_metrics_python.git"}
|
||||
govuk-bank-holidays = "==0.13"
|
||||
govuk-frontend-jinja = {version = "==0.5.8-alpha", git = "https://github.com/alphagov/govuk-frontend-jinja.git"}
|
||||
gunicorn = {version = "==20.1.0", extras = ["eventlet"], ref = "1299ea9e967a61ae2edebe191082fd169b864c64", git = "https://github.com/benoitc/gunicorn.git"}
|
||||
@@ -19,7 +18,6 @@ humanize = "~=4.8"
|
||||
itsdangerous = "~=2.1"
|
||||
jinja2 = "~=3.1"
|
||||
notifications-python-client = "==8.0.1"
|
||||
prometheus-client = "==0.17.1"
|
||||
pyexcel = "==0.7.0"
|
||||
pyexcel-io = "==0.6.6"
|
||||
pyexcel-ods3 = "==0.6.1"
|
||||
|
||||
@@ -20,7 +20,6 @@ from flask_login import LoginManager, current_user
|
||||
from flask_talisman import Talisman
|
||||
from flask_wtf import CSRFProtect
|
||||
from flask_wtf.csrf import CSRFError
|
||||
from gds_metrics import GDSMetrics
|
||||
from govuk_frontend_jinja.flask_ext import init_govuk_frontend
|
||||
from itsdangerous import BadSignature
|
||||
from notifications_python_client.errors import HTTPError
|
||||
@@ -128,7 +127,6 @@ from app.url_converters import (
|
||||
login_manager = LoginManager()
|
||||
csrf = CSRFProtect()
|
||||
talisman = Talisman()
|
||||
metrics = GDSMetrics()
|
||||
basic_auth = CustomBasicAuth()
|
||||
|
||||
|
||||
@@ -198,7 +196,6 @@ def create_app(application):
|
||||
# Note, metrics purposefully first so we start measuring response times as early as possible before any
|
||||
# other `app.before_request` handlers (introduced by any of these clients) are processed (which would
|
||||
# otherwise mean we aren't measuring the full response time)
|
||||
metrics,
|
||||
csrf,
|
||||
login_manager,
|
||||
proxy_fix,
|
||||
|
||||
Reference in New Issue
Block a user