Skip to content
Snippets Groups Projects
Commit af27f1d4 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

add performance

parent 5555a329
No related branches found
No related tags found
1 merge request!27Resolve "Mise en place de sentry - sge"
Pipeline #47976 passed
...@@ -70,7 +70,11 @@ Sentry.init({ ...@@ -70,7 +70,11 @@ Sentry.init({
tracesSampleRate: 1.0, tracesSampleRate: 1.0,
release: version, release: version,
environment: isDev() ? 'development' : 'production', environment: isDev() ? 'development' : 'production',
debug: true, debug: isDev(),
integrations: [
// enable HTTP calls tracing
new Sentry.Integrations.Http({ tracing: true }),
],
}) })
/** /**
...@@ -196,6 +200,7 @@ async function start(fields, cozyParameters) { ...@@ -196,6 +200,7 @@ async function start(fields, cozyParameters) {
expirationDate: contractEndDate, expirationDate: contractEndDate,
inseeCode: user.inseeCode, inseeCode: user.inseeCode,
}) })
// firstStartTransaction.finish()
} else { } else {
log('info', 'Alternate start...') log('info', 'Alternate start...')
Sentry.captureMessage('Alternate start') Sentry.captureMessage('Alternate start')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment