diff --git a/fyle_partner_dashboard_api/sentry.py b/fyle_partner_dashboard_api/sentry.py index 577c8f5..2913fb1 100644 --- a/fyle_partner_dashboard_api/sentry.py +++ b/fyle_partner_dashboard_api/sentry.py @@ -26,7 +26,7 @@ def init(): def traces_sampler(sampling_context): # avoiding ready APIs in performance tracing if sampling_context.get('wsgi_environ') is not None: - if sampling_context['wsgi_environ']['PATH_INFO'] in ['/ready']: + if 'ready/' in sampling_context['wsgi_environ']['PATH_INFO']: return 0 return 0.5