diff --git a/codecov.yml b/codecov.yml index 74797271..4baa557e 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,7 +1,7 @@ codecov: require_ci_to_pass: false #post comment only if ci checks have passed comment: - behavior: new #comment post behavior (update existing, post new, delete and post new) + behavior: default #comment post behavior (update existing, post new, delete and post new) layout: reach, diff, flags, files #comment format require_base: true #base report is mandatory to post comment require_changes: false #only post comment if chages are done diff --git a/fyle_netsuite_api/sentry.py b/fyle_netsuite_api/sentry.py index ef18b7ef..f3b44691 100644 --- a/fyle_netsuite_api/sentry.py +++ b/fyle_netsuite_api/sentry.py @@ -30,7 +30,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