You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[#1636](https://github.com/open-telemetry/opentelemetry-rust/pull/1636)[Logs SDK] Improves performance by sending
16
+
Resource information to processors (and exporters) once, instead of sending with every log. If you are an author
17
+
of Processor, Exporter, the following are *BREAKING* changes.
18
+
- Implement `set_resource` method in your custom LogProcessor, which invokes exporter's `set_resource`.
19
+
- Implement `set_resource` method in your custom LogExporter. This method should save the resource object
20
+
in original or serialized format, to be merged with every log event during export.
21
+
-`LogData` doesn't have the resource attributes. The `LogExporter::export()` method needs to merge it
22
+
with the earlier preserved resource before export.
15
23
- Baggage propagation error will be reported to global error handler [#1640](https://github.com/open-telemetry/opentelemetry-rust/pull/1640)
16
24
- Improves `shutdown` behavior of `LoggerProvider` and `LogProcessor`[#1643](https://github.com/open-telemetry/opentelemetry-rust/pull/1643).
17
25
-`shutdown` can be called by any clone of the `LoggerProvider` without the need of waiting on all `Logger` drops. Thus, `try_shutdown` has been removed.
0 commit comments