-
Notifications
You must be signed in to change notification settings - Fork 6
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
[7891] - Adapt stacktrace and exception formatting #4863
[7891] - Adapt stacktrace and exception formatting #4863
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4863 +/- ##
=======================================
Coverage 96.21% 96.21%
=======================================
Files 752 752
Lines 16204 16207 +3
=======================================
+ Hits 15590 15593 +3
Misses 614 614
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
9013559
to
b7d2dcb
Compare
7323ac4
to
479e0fa
Compare
Quality Gate passedIssues Measures |
de34bba
to
6498b21
Compare
eb29507
to
a0a685a
Compare
248db28
to
3727cc7
Compare
…ing-on-register-production-worker
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.
Couple of minor suggestions in the docs.
docs/logging.md
Outdated
# Logging Documentation | ||
|
||
## Rails Semantic Logger | ||
We use `rails_semantic_logger` instead of the default Rails logger because it provides enhanced logging capabilities. It solves several problems such as: |
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.
We use `rails_semantic_logger` instead of the default Rails logger because it provides enhanced logging capabilities. It solves several problems such as: | |
We use [`rails_semantic_logger`](https://github.com/reidmorrison/rails_semantic_logger) instead of the default Rails logger because it provides enhanced logging capabilities. It solves several problems such as: |
docs/logging.md
Outdated
- [Production Logs](https://kibana-uk1.logit.io/s/e9b9162d-0b5e-4362-bed0-8e577f88d06e/app/data-explorer/discover#?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(indexPattern:'filebeat-*',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_q=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'filebeat-*',key:kubernetes.container.name,negate:!f,params:!(register-production,register-production-worker),type:phrases,value:'register-production,%20register-production-worker'),query:(bool:(minimum_should_match:1,should:!((match_phrase:(kubernetes.container.name:register-production)),(match_phrase:(kubernetes.container.name:register-production-worker))))))),query:(language:kuery,query:''))) | ||
- [QA Logs](https://kibana-uk1.logit.io/s/b2876053-0173-44fc-983d-99567292ba31/app/data-explorer/discover#?_a=(discover:(columns:!(kubernetes.container.name,app.message,app.payload.controller,url.path),isDirty:!t,sort:!()),metadata:(indexPattern:'filebeat-*',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-10m,to:now))&_q=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'filebeat-*',key:app.name,negate:!t,params:(query:HeartbeatController),type:phrase),query:(match_phrase:(app.name:HeartbeatController))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'filebeat-*',key:kubernetes.container.name,negate:!f,params:!(register-qa,register-qa-worker),type:phrases,value:'register-qa,%20register-qa-worker'),query:(bool:(minimum_should_match:1,should:!((match_phrase:(kubernetes.container.name:register-qa)),(match_phrase:(kubernetes.container.name:register-qa-worker))))))),query:(language:kuery,query:''))) | ||
|
||
**Note:** the two different GUID's used for Prod (production, productiondata) and Test(QA, staging, review apps) |
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.
**Note:** the two different GUID's used for Prod (production, productiondata) and Test(QA, staging, review apps) | |
**Note:** the two different GUID's used for Prod (production, productiondata) and Test (QA, staging, review apps) |
Quality Gate passedIssues Measures |
Context
For the last 2 Mondays (since 28 November), when the Dqt::SyncTeachersJob has run on production it has produced a very high volume of log entries (~9 million) which causes issues for our logit quota, and is clearly unnecessary.
Changes proposed in this pull request
Adapts the stack trace and exception formatting