Removing tracing handler for sentry.

This commit is contained in:
Samuel Clay 2021-03-17 10:42:58 -04:00
parent 1ab0af2ef1
commit 33c4c5ed4f
3 changed files with 1 additions and 15 deletions

View file

@ -222,7 +222,7 @@ class TextImporter:
headers["content-type"] = "application/json"
headers["x-api-key"] = mercury_api_key
if settings.DEBUG:
url = "http://nb.local.com:4040/rss_feeds/original_text_fetcher?url=%s" % url
url = "http://nb.local.com:8008/rss_feeds/original_text_fetcher?url=%s" % url
else:
url = "https://www.newsblur.com/rss_feeds/original_text_fetcher?url=%s" % url

View file

@ -26,16 +26,9 @@ if ENV_PROD
Sentry.init
dsn: process.env.SENTRY_DSN,
debug: true,
integrations: [
new Sentry.Integrations.Http({ tracing: true }),
new Tracing.Integrations.Express({
app
})
],
tracesSampleRate: 1.0
app.use(Sentry.Handlers.requestHandler())
app.use(Sentry.Handlers.tracingHandler())
original_page(app)
original_text(app)

View file

@ -46,16 +46,9 @@
Sentry.init({
dsn: process.env.SENTRY_DSN,
debug: true,
integrations: [
new Sentry.Integrations.Http({
tracing: true
}),
new Tracing.Integrations.Express({app})
],
tracesSampleRate: 1.0
});
app.use(Sentry.Handlers.requestHandler());
app.use(Sentry.Handlers.tracingHandler());
}
original_page(app);