8 Commits

Author SHA1 Message Date
306512bf9c Fix Context Values are not logged.
Only the Sentry hook uses the values of the passed context. Therefore, we removed the values from our log statements when we shifted them from an extra `WithField` call to the context.
We fix this behavior by introducing a Logrus Hook that copies a fixed set of context values to the logging data.
2023-08-21 22:40:37 +02:00
731b60acd6 Remove Sentry Exceptions
as workaround for having a usable title for the issue groups (not the error type).
2023-07-25 21:07:02 +01:00
75f2f9b290 Add Sentry Stack Traces
and exceptions for logs containing errors.
2023-07-25 21:07:02 +01:00
ee26cf13e5 Sentry: Make runner and environment searchable
by converting it into a Sentry Tag.

Also, replace the unstructured Extra attribute by using a Sentry Context.
2023-07-15 21:46:56 +02:00
e7df777db4 Always log Runner and Environment ID.
Systematically log the runner id and the environment id by adding the information at the findRunnerMiddleware.
2023-07-15 21:46:56 +02:00
43221c717e Add context to Sentry Hook.
With this context, tracing information stored in the context can be associated with sentry events/issues.
2023-04-11 20:45:30 +01:00
2650efbb38 Sentry Tracing Identifier 2023-02-03 10:29:18 +00:00
3ae83217d7 Add Sentry integration 2021-11-25 19:29:33 +01:00