summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/sentry_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add correlation id to all sentry errorsBob Van Landuyt2019-05-131-1/+4
| | | | | | | | Before this, we were only adding the correlation id to the "acceptable exceptions" which we handle in code. But we need to add it to the default raven context so the information would be available for uncaught exceptions.
* Migrate correlation and tracing code to LabKitan-use-labkitAndrew Newdigate2019-04-181-2/+2
| | | | | | | | | | | | | | | This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
* Log and pass correlation-id between Unicorn, Sidekiq and GitalyKamil TrzciƄski2018-12-061-4/+18
| | | | | | | | The Correlation ID is taken or generated from received X-Request-ID. Then it is being passed to all executed services (sidekiq workers or gitaly calls). The Correlation ID is logged in all structured logs as `correlation_id`.
* Track Kubernetes errors using SentryDylan Griffith2018-11-141-0/+24
|
* Method to track recoverable exceptions in sentryBob Van Landuyt2018-04-171-1/+43
| | | | | | | | This adds a method to track errors that can be recovered from in sentry. It is useful when debugging performance issues, or exceptions that are hard to reproduce.
* Track the locale in Sentry so we know which ones are failingBob Van Landuyt2017-08-311-0/+13