diff --git a/package-lock.json b/package-lock.json index cdaaf45f0..d4b706a4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -106,8 +106,7 @@ "@opentelemetry/semantic-conventions": { "version": "0.24.0", "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz", - "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==", - "dev": true + "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==" }, "@opentelemetry/tracing": { "version": "0.23.0", diff --git a/package.json b/package.json index 3300b5f3d..518017ca0 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "node": ">=8.0.0" }, "devDependencies": { - "@opentelemetry/semantic-conventions": "^0.24.0", "@types/cls-hooked": "^4.3.3", "@types/mocha": "^7.0.2", "@types/node": "^8.0.0", @@ -58,10 +57,20 @@ "dependencies": { "@azure/core-http": "^2.2.0", "@opentelemetry/api": "^1.0.3", + "@opentelemetry/core": "^0.23.0", "@opentelemetry/tracing": "^0.23.0", + "@opentelemetry/semantic-conventions": "^0.24.0", "cls-hooked": "^4.2.2", "continuation-local-storage": "^3.2.1", "diagnostic-channel": "1.0.0", "diagnostic-channel-publishers": "1.0.3" + }, + "peerDependencies": { + "applicationinsights-native-metrics": "*" + }, + "peerDependenciesMeta": { + "applicationinsights-native-metrics": { + "optional": true + } } }