Commit be0a5f3c by cahrens

Ran isort on file.

parent 052492db
...@@ -10,6 +10,13 @@ request handlers which do not record custom metrics. ...@@ -10,6 +10,13 @@ request handlers which do not record custom metrics.
""" """
import logging import logging
from uuid import uuid4
import psutil
import request_cache
from openedx.core.djangoapps.waffle_utils import WaffleSwitchNamespace
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
try: try:
import newrelic.agent import newrelic.agent
...@@ -17,11 +24,6 @@ except ImportError: ...@@ -17,11 +24,6 @@ except ImportError:
log.warning("Unable to load NewRelic agent module") log.warning("Unable to load NewRelic agent module")
newrelic = None # pylint: disable=invalid-name newrelic = None # pylint: disable=invalid-name
import psutil
import request_cache
from uuid import uuid4
from openedx.core.djangoapps.waffle_utils import WaffleSwitchNamespace
REQUEST_CACHE_KEY = 'monitoring_custom_metrics' REQUEST_CACHE_KEY = 'monitoring_custom_metrics'
WAFFLE_NAMESPACE = 'monitoring_utils' WAFFLE_NAMESPACE = 'monitoring_utils'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment