-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sentry): migration sur la nouvelle version de Sentry #6454
base: dev
Are you sure you want to change the base?
Conversation
d1be4b7
to
c08b8ca
Compare
c08b8ca
to
70ad374
Compare
70ad374
to
97c8ab2
Compare
97c8ab2
to
cad35fb
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
cad35fb
to
e36fcd3
Compare
e36fcd3
to
0b70a3a
Compare
0b70a3a
to
cf358f4
Compare
cf358f4
to
76d71d2
Compare
76d71d2
to
42490dc
Compare
42490dc
to
34f4573
Compare
# Conflicts: # .kontinuous/env/dev/values.yaml
34f4573
to
75dbee8
Compare
🎉 Deployment for commit 75dbee8 : IngressesDocker images
|
ARG SENTRY_URL | ||
ARG SENTRY_ORG | ||
ARG SENTRY_PROJECT | ||
ARG SENTRY_RELEASE | ||
ARG NEXT_PUBLIC_SENTRY_DSN | ||
ENV SENTRY_URL=$SENTRY_URL | ||
ENV SENTRY_ORG=$SENTRY_ORG | ||
ENV SENTRY_PROJECT=$SENTRY_PROJECT | ||
ENV NEXT_PUBLIC_SENTRY_DSN=$NEXT_PUBLIC_SENTRY_DSN | ||
ENV SENTRY_RELEASE=$SENTRY_RELEASE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a besoin de ces variables également dans le container qui est lancé et pas qu'aubuild ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ça on l'enlèvera avant de merger, c'est bien ça ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le code est pas simple ici, et faudra voir quand ça bougera. C'est un sample de code commun ? ou alors c'est nous qui avons qui l'avons crafter ?
Je vois qu'il y a beaucoup de code commenté. Est-ce normal ?
assets: ".next/**/*.{js,map}", | ||
ignore: ["node_modules/**/*"], | ||
rewrite: true, | ||
stripPrefix: ["webpack://_N_E/", "webpack://", "app://"], | ||
urlPrefix: "app:///_next", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je pense que l'urlPrefix
, est ce qu'il nous manquait à notre conifugration de base... Bien joué encore !!
Je pense qu'avec ces quelques lignes, ça aurait dû marcher de base
// Source maps configuration | ||
sourcemaps: { | ||
assets: ".next/**/*.{js,map}", | ||
ignore: ["node_modules/**/*"], | ||
rewrite: true, | ||
stripPrefix: ["webpack://_N_E/", "webpack://", "app://"], | ||
urlPrefix: "app:///_next", | ||
}, | ||
|
||
// Debug and release configuration | ||
silent: false, | ||
debug: true, | ||
release: | ||
process.env.SENTRY_RELEASE || process.env.NEXT_PUBLIC_GITHUB_SHA || "dev", | ||
dist: process.env.NEXT_PUBLIC_GITHUB_SHA || "dev", | ||
setCommits: { | ||
auto: true, | ||
ignoreMissing: true, | ||
}, | ||
deploy: { | ||
env: process.env.NEXT_PUBLIC_SENTRY_ENV || "development", | ||
dist: process.env.NEXT_PUBLIC_GITHUB_SHA || "dev", | ||
}, | ||
injectBuildInformation: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on ré'-écrit la config là aussi ? est-ce qu'on pourra plutôt utiliser la varaible sentryConfig au dessus ?
Dans le cas où on fait ça autant supprimer la variable sentryConfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
là aussi, on deletera ce file ?
const ignoreErrors = [ | ||
"ResizeObserver loop limit exceeded", | ||
"Network request failed", | ||
/^Loading chunk .* failed/, | ||
/^Loading CSS chunk .* failed/, | ||
/^ECONNREFUSED/, | ||
/^ECONNRESET/, | ||
/^ETIMEDOUT/, | ||
"Database connection timeout", | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
enableTracing: true, | ||
attachStacktrace: true, // Attach stack traces to all messages | ||
normalizeDepth: 10, // Increase stack trace depth for better context | ||
tracesSampleRate: IS_PRODUCTION ? 0.1 : 1.0, // Sample 10% of traces in prod, all in dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
top
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
top la config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
là aussi, il faudra qu'on supprime ce fichier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ou alors on le garde quand même ?
No description provided.