mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Removing tracing handler for sentry.
This commit is contained in:
parent
1ab0af2ef1
commit
33c4c5ed4f
3 changed files with 1 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue