Skip to content

Commit 24302c8

Browse files
authored
[Azure Monitor Exporter] Updating OpenTelemetry API to 1.0.0 (#15934)
* Updating OpenTelemetry API to 1.0.0 * Updating version in Monitor Query * lint fix * Format * rush update
1 parent 5f71ecd commit 24302c8

File tree

16 files changed

+190
-300
lines changed

16 files changed

+190
-300
lines changed

common/config/rush/common-versions.json

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@
4545
// when there is a new beta version which is being maintained in the repo.
4646
// Remove "^12.4.1" when the storage-blob releases a stable version.
4747
// Add a new entry in case a new version is being tested through the perf tests (Example: "12.2.0").
48-
"@azure/storage-blob": ["^12.4.1"],
49-
"@azure/ms-rest-js": ["^2.0.0"],
48+
"@azure/storage-blob": [
49+
"^12.4.1"
50+
],
51+
"@azure/ms-rest-js": [
52+
"^2.0.0"
53+
],
5054
/**
5155
* For example, allow some projects to use an older TypeScript compiler
5256
* (in addition to whatever "usual" version is being used by other projects in the repo):
@@ -55,24 +59,41 @@
5559
// "~2.4.0"
5660
// ]
5761
// Following is required to allow for backward compatibility with Event Processor Host Track 1
58-
"@azure/event-hubs": ["^2.1.4"],
59-
// Monitor-opentelemetry-exporter and monitor-query both depend on different versions of @opentelemetry and need to be updated
60-
"@opentelemetry/api": ["^0.18.1", "0.21.0"],
62+
"@azure/event-hubs": [
63+
"^2.1.4"
64+
],
6165
// Monitor: Allow node 10 types until Timeout / Timer conflict is resolved in OpenTelemetry repo
6266
// TODO: remove when released https://github.com/open-telemetry/opentelemetry-js/pull/1352
6367
// eslint v7.15 needs node v10.12
64-
"@types/node": ["^10.0.0", "^10.12.0"],
68+
"@types/node": [
69+
"^10.0.0",
70+
"^10.12.0"
71+
],
6572
// @azure/test-utils-perfstress should depend on lowest version of @azure/core-http for maximum compatibility, allowing test
6673
// projects to choose a higher version if desired.
67-
"@azure/core-http": ["^1.0.0"],
74+
"@azure/core-http": [
75+
"^1.0.0"
76+
],
6877
// @azure/event-processor-host is on a much lower major version
69-
"@azure/ms-rest-nodeauth": ["^0.9.2"],
78+
"@azure/ms-rest-nodeauth": [
79+
"^0.9.2"
80+
],
7081
// Idenity is moving from v1 to v2. Moving all packages to v2 is going to take a bit of time, in the mean time we could use v2 on the perf-identity tests.
71-
"@azure/identity": ["^2.0.0-beta.4", "2.0.0-beta.3", "^1.1.0"],
82+
"@azure/identity": [
83+
"^2.0.0-beta.4",
84+
"2.0.0-beta.3",
85+
"^1.1.0"
86+
],
7287
// Issue #14771 tracks updating to these versions
73-
"@microsoft/api-extractor": ["7.13.2"],
74-
"prettier": ["2.2.1"],
88+
"@microsoft/api-extractor": [
89+
"7.13.2"
90+
],
91+
"prettier": [
92+
"2.2.1"
93+
],
7594
// @azure/cosmos was unable to upgrade due to test failures, Issue #15928 tracks making this upgrade
76-
"@azure/core-rest-pipeline": ["^1.0.3"]
95+
"@azure/core-rest-pipeline": [
96+
"^1.0.3"
97+
]
7798
}
7899
}

0 commit comments

Comments
 (0)