Commit a96c144
authored
Update OpenTelemetry to 1.62.0, AB#3611236, Fixes AB#3611236 (#3125)
[AB#3611236](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3611236)
Updates `opentelemetry-api` (and transitives) from 1.18.0 to 1.62.0.
## Changes
- `gradle/versions.gradle` -- `openTelemetryVersion` 1.18.0 -> 1.62.0
- `BenchmarkSpan.kt` -- `setAttribute(key, value: T)` -> `value: T?` to
match the `@Nullable` annotation on `Span.setAttribute(AttributeKey<T>,
T)` in newer versions.
- `common/build.gradle` -- pin `opentelemetry-extension-kotlin` to
1.18.0 via a new `openTelemetryExtensionKotlinVersion` variable. Newer
`extension-kotlin` releases add a `strictly` `kotlin-stdlib` 2.x
constraint that conflicts with the project's Kotlin 1.8 compiler. The
pin is binary-compatible with `opentelemetry-api`/`-context` 1.62 --
`extension-kotlin` only calls stable `Context` APIs that are unchanged
across 1.18 -> 1.62.1 parent 906f026 commit a96c144
4 files changed
Lines changed: 8 additions & 3 deletions
File tree
- common4j/src/main/com/microsoft/identity/common/java/opentelemetry
- common
- gradle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
0 commit comments