File tree 4 files changed +9
-1
lines changed
4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ Please See the `releases tab <https://github.com/openedx/xblock-lti-consumer/rel
15
15
16
16
Unreleased
17
17
~~~~~~~~~~
18
+ 9.8.2 - 2024-01-19
19
+ ------------------
20
+ * Add NewRelic traces to functions suspected of causing performance issues.
18
21
19
22
9.8.1 - 2023-11-17
20
23
------------------
Original file line number Diff line number Diff line change 4
4
from .apps import LTIConsumerApp
5
5
from .lti_xblock import LtiConsumerXBlock
6
6
7
- __version__ = '9.8.1 '
7
+ __version__ = '9.8.2 '
Original file line number Diff line number Diff line change 5
5
from urllib .parse import urlencode
6
6
import uuid
7
7
8
+ from edx_django_utils .monitoring import function_trace
8
9
from django .conf import settings
9
10
10
11
from lti_consumer .lti_1p3 .exceptions import InvalidClaimValue
@@ -103,6 +104,7 @@ def _get_user_roles(role):
103
104
104
105
return list (lti_user_roles )
105
106
107
+ @function_trace ('lti_consumer.lti_1p3.consumer.prepare_preflight_url' )
106
108
def prepare_preflight_url (
107
109
self ,
108
110
launch_data ,
Original file line number Diff line number Diff line change 17
17
from config_models .models import ConfigurationModel
18
18
from django .utils .functional import cached_property
19
19
from django .utils .translation import gettext_lazy as _
20
+ from edx_django_utils .monitoring import function_trace
20
21
from lti_consumer .filters import get_external_config_from_filter
21
22
22
23
# LTI 1.1
@@ -280,6 +281,7 @@ def clean(self):
280
281
if consumer is None :
281
282
raise ValidationError (_ ("Invalid LTI configuration." ))
282
283
284
+ @function_trace ('lti_consumer.models.LtiConfiguration.sync_configurations' )
283
285
def sync_configurations (self ):
284
286
"""Syncronize main/children configurations.
285
287
@@ -611,6 +613,7 @@ def _get_lti_1p3_consumer(self):
611
613
612
614
return consumer
613
615
616
+ @function_trace ('lti_consumer.models.LtiConfiguration.get_lti_consumer' )
614
617
def get_lti_consumer (self ):
615
618
"""
616
619
Returns an instanced class of LTI 1.1 or 1.3 consumer.
You can’t perform that action at this time.
0 commit comments