Adding metrics to oauth2authentication class (#22970)
Currently, we are working on removing the rest_framework_auth library from edx-platform. For this push, we need to remove the oauth2Authentication class. This PR creates a new class oauth2AuthenticationDeprecated that adds additional new relic metrics. The metrics would allow us to see how often this class is used and its success rate. The hope is that this information will help us with transitioning to a different authentication class.
Showing
- common/djangoapps/third_party_auth/api/views.py 2 additions, 3 deletionscommon/djangoapps/third_party_auth/api/views.py
- lms/djangoapps/bulk_enroll/views.py 2 additions, 2 deletionslms/djangoapps/bulk_enroll/views.py
- lms/djangoapps/commerce/api/v1/views.py 3 additions, 3 deletionslms/djangoapps/commerce/api/v1/views.py
- lms/djangoapps/teams/views.py 7 additions, 7 deletionslms/djangoapps/teams/views.py
- openedx/core/djangoapps/api_admin/api/v1/views.py 2 additions, 2 deletionsopenedx/core/djangoapps/api_admin/api/v1/views.py
- openedx/core/djangoapps/bookmarks/views.py 3 additions, 3 deletionsopenedx/core/djangoapps/bookmarks/views.py
- openedx/core/djangoapps/credit/views.py 2 additions, 2 deletionsopenedx/core/djangoapps/credit/views.py
- openedx/core/djangoapps/user_api/verification_api/views.py 2 additions, 2 deletionsopenedx/core/djangoapps/user_api/verification_api/views.py
- openedx/core/lib/api/authentication.py 25 additions, 6 deletionsopenedx/core/lib/api/authentication.py
Please register or sign in to comment