edx / edx-arch-experiments

A plugin to include applications under development by the architecture team at edx
GNU Affero General Public License v3.0
0 stars 3 forks source link

Move common edxapp newrelic config to .ini #493

Open adzuci opened 8 months ago

adzuci commented 8 months ago

We would like to look at config in New Relic here https://onenr.io/0BQ1zzbmXwx and add relevant config to https://github.com/openedx/configuration/blob/master/playbooks/roles/edxapp/templates/newrelic.ini.j2

Note this config file is used for both CMS and LMS

Example config:

django.http.response:Http404
django.core.exceptions:PermissionDenied
django.db.utils:IntegrityError
lms.djangoapps.courseware.exceptions:CourseAccessRedirect
lms.djangoapps.courseware.exceptions:Redirect
django_ratelimit.exceptions:Ratelimited
rest_framework.exceptions:AuthenticationFailed
rest_framework.exceptions:NotAuthenticated
rest_framework.exceptions:PermissionDenied
rest_framework.exceptions:Throttled
social.exceptions:AuthCanceled
robrap commented 1 month ago

Instead, this is going to be a clean-up task at some point to delete these files once we are no longer using New Relic.