File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ this OTEP proposes to record exception stack traces on logs with `Error` or high
6868
6969 > [ !NOTE]
7070 >
71- > Top-level instrumentations is the only place non-native instrumentations should
72- > record exceptions.
71+ > Only top-level instrumentations (native and non-native) should record exceptions at ` Error ` (or higher) severity.
7372
7473 Some runtimes provide global exception handler that can be used to log exceptions.
7574 Priority should be given to the instrumentation point where the operation context is available.
@@ -88,13 +87,13 @@ this OTEP proposes to record exception stack traces on logs with `Error` or high
8887 - Error that don't indicate any issue should be recorded with severity not higher than ` Info ` .
8988 - Transient errors (even if it's the last try) should be recorded with severity not higher than ` Warning ` .
9089 - Unhandled exceptions that don't result in application shutdown should be recorded with severity ` Error `
91- - Errors that result in application shutdown should be recorded with severity ` Fatal `
90+ - Errors that result in application shutdown should be recorded with severity ` Fatal ` .
9291
93- 6 . When recording exception on logs, user applications and instrumentations are encouraged to put additional attributes
92+ 1 . When recording exception on logs, user applications and instrumentations are encouraged to put additional attributes
9493 to describe the context that the exception was thrown in.
9594 They are also encouraged to define their own error events and enrich them with exception details.
9695
97- 7 . OTel SDK should record stack traces on exceptions with severity ` Error ` or higher and should allow users to
96+ 2 . OTel SDK should record stack traces on exceptions with severity ` Error ` or higher and should allow users to
9897 change the threshold.
9998
10099 See [ logback exception config] ( https://logback.qos.ch/manual/layouts.html#ex ) for an example of configuration that
You can’t perform that action at this time.
0 commit comments