mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Removed statsd from the api and use the statsd in the utils library.
The statsd code was added to the utils library a while ago, uses the statsd from the util library and therefore consolidates the code into once place.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import json
|
||||
|
||||
from notifications_utils.statsd_decorators import statsd
|
||||
|
||||
from app import (
|
||||
DATETIME_FORMAT,
|
||||
notify_celery,
|
||||
@@ -7,7 +10,6 @@ from app.dao.notifications_dao import (
|
||||
get_notification_by_id,
|
||||
)
|
||||
|
||||
from app.statsd_decorators import statsd
|
||||
from app.dao.service_callback_api_dao import get_service_callback_api_for_service
|
||||
from requests import (
|
||||
HTTPError,
|
||||
|
||||
Reference in New Issue
Block a user