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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [Unreleased]
9
9
10
+
- Upgrade `opentelemetry` dependencies to `v0.31`.
11
+
10
12
## [0.43.0] - 2025-09-01
11
13
12
14
- In live metrics, report CPU and memory usage of the current process rather than the system. This is more useful, especially when more than one application is running on the system. This also follows what the .NET SDK does. Thanks, [rafamerlin@](https://github.com/rafamerlin).
@@ -27,13 +29,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
27
29
-**Breaking**: Remove pipeline API. This requires some consumer changes:
28
30
29
31
In short:
30
-
31
32
- Create exporter using `opentelemetry_application_insights::Exporter::new_from_connection_string`.
32
33
- Configure Application Insights specifics using `.with_` functions on the exporter.
33
34
- Create and configure trace, metrics, and logs providers using `opentelemetry_sdk::trace::SdkTracerProvider`, `opentelemetry_sdk::metrics::SdkMeterProvider`, and `opentelemetry_sdk::logs::SdkLoggerProvider`.
34
35
35
36
In detail, here are replacements for functions on the removed pipeline API:
@@ -51,11 +51,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
51
51
## [0.38.0] - 2025-02-22
52
52
53
53
- Upgrade `opentelemetry` dependencies to `v0.28`.
54
-
55
54
- The `trace` feature turns on `opentelemetry_sdk/experimental_trace_batch_span_processor_with_async_runtime` in this release to avoid breaking API changes and to make this release simpler for me. In the future I hope to align the API with other crates like `opentelemetry-otlp`, which means removing the pipeline API. Examples have already been updated to the new API.
56
55
57
56
- If you're using `logs` or `metrics` make sure you use matching combinations of sync/async HTTP clients and runtimes. E.g.:
58
-
59
57
- Use `reqwest::blocking::Client` with `.with_batch_exporter(exporter)`. If you're already in an async context, you might need to create the client using `std::thread::spawn(reqwest::blocking::Client::new).join().unwrap()`.
60
58
- Use `reqwest::Client` with `.with_log_processor(opentelemetry_sdk::logs::log_processor_with_async_runtime::BatchLogProcessor::builder(exporter, opentelemetry_sdk::runtime::Tokio).build())`.
61
59
@@ -101,7 +99,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
101
99
## [0.31.0] - 2024-05-09
102
100
103
101
- Change how the tags Could role, Cloud role instance, Application version and Internal SDK version are extracted:
104
-
105
102
- Spans no longer extract them from span attributes. They still extract them from resource attributes. And they newly extract them also from instrumentation library attributes.
106
103
- Events newly extract them from resource and instrumentation library attributes.
107
104
@@ -204,7 +201,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
204
201
- Upgrade to `v0.13.0` of `opentelemetry`.
205
202
206
203
The choice of simple/batch span processor as well as the async runtime now needs to be made in Rust code:
207
-
208
204
- If you previously used `.install()` with the `reqwest::blocking::Client`, you should now use `.install_simple()`.
209
205
- If you previously used `.install()` with the `reqwest::Client` and the Tokio runtime, you should now use `.install_batch(opentelemetry::runtime::Tokio)` as well as enable to **opentelemetry/rt-tokio** feature.
210
206
- If you previously used `.install()` with the `surf::Client` and the async-std runtime, you should now use `.install_batch(opentelemetry::runtime::AsyncStd)` as well as enable to **opentelemetry/rt-async-std** feature.
0 commit comments