diff --git a/CHANGELOG.md b/CHANGELOG.md index bd1372e254..48de348db0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ All notable changes to this project will be documented in this file. ### :rocket: (Enhancement) +### :bug: (Bug Fix) + +### :books: (Refine Doc) + +### :house: (Internal) + +## 1.6.0 + +### :rocket: (Enhancement) + * perf(opentelemetry-core): improve hexToBase64 performance [#3178](https://github.com/open-telemetry/opentelemetry-js/pull/3178) * feat(sdk-trace-base): move Sampler declaration into sdk-trace-base [#3088](https://github.com/open-telemetry/opentelemetry-js/pull/3088) @legendecas * fix(grpc-instrumentation): added grpc attributes in instrumentation [#3127](https://github.com/open-telemetry/opentelemetry-js/pull/3127) @andrewzenkov diff --git a/README.md b/README.md index f1d97b5c18..f52b0a4ad2 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,10 @@ This is the JavaScript version of [OpenTelemetry](https://opentelemetry.io/), a | API Version | Core version | Experimental Packages | | ----------- | ------------ | --------------------- | -| 1.1.x | 1.3.x | 0.30.x | -| 1.1.x | 1.2.x | 0.29.x | +| 1.2.x | 1.6.x | 0.32.x | +| 1.1.x | 1.5.x | 0.31.x | +| 1.1.x | 1.4.x | 0.30.x | +| 1.1.x | 1.2.x, 1.3.x | 0.29.x | | 1.1.x | 1.1.x | 0.28.x | | 1.0.x | 1.0.x | 0.26.x, 0.27.x | | 1.0.x | 0.26.x | ----- | @@ -225,12 +227,12 @@ Maintainers ([@open-telemetry/js-maintainers](https://github.com/orgs/open-telem ### Implementation / SDKs -| Package | Description | -| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [@opentelemetry/sdk-trace-base][otel-tracing] | This module provides a full control over instrumentation and span creation. It doesn't load [`async_hooks`](https://nodejs.org/api/async_hooks.html) or any instrumentation by default. It is intended for use both on the server and in the browser. | -| [@opentelemetry/sdk-metrics][otel-metrics] | This module provides instruments and meters for reporting of time series data. | -| [@opentelemetry/sdk-trace-node][otel-node] | This module provides automatic tracing for Node.js applications. It is intended for use on the server only. | -| [@opentelemetry/sdk-trace-web][otel-web] | This module provides automated instrumentation and tracing for Web applications. It is intended for use in the browser only. | +| Package | Description | +| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [@opentelemetry/sdk-trace-base][otel-tracing] | This module provides a full control over instrumentation and span creation. It doesn't load [`async_hooks`](https://nodejs.org/api/async_hooks.html) or any instrumentation by default. It is intended for use both on the server and in the browser. | +| [@opentelemetry/sdk-metrics][otel-metrics] | This module provides instruments and meters for reporting of time series data. | +| [@opentelemetry/sdk-trace-node][otel-node] | This module provides automatic tracing for Node.js applications. It is intended for use on the server only. | +| [@opentelemetry/sdk-trace-web][otel-web] | This module provides automated instrumentation and tracing for Web applications. It is intended for use in the browser only. | ### Compatible Exporters diff --git a/eslint.config.js b/eslint.config.js index 3c65700699..5e8f1b50e6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -13,7 +13,7 @@ module.exports = { "indent": ["error", 2, { "SwitchCase": 1 }], "no-trailing-spaces": "error", "eol-last": "error", - "quotes": [2, "single", { "avoidEscape": true }], + "quotes": ["error", "single", { "avoidEscape": true }], "brace-style": ["error", "1tbs"], "eqeqeq": [ "error", @@ -24,7 +24,7 @@ module.exports = { "no-shadow": "off", "arrow-parens": ["error", "as-needed"], "node/no-deprecated-api": ["warn"], - "header/header": [2, "block", [{ + "header/header": ["error", "block", [{ pattern: / \* Copyright The OpenTelemetry Authors[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an \"AS IS\" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\./gm, template: `\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ` @@ -34,7 +34,7 @@ module.exports = { { files: ['*.ts'], rules: { - "@typescript-eslint/no-floating-promises": 2, + "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-this-alias": "off", "@typescript-eslint/naming-convention": [ "error", @@ -45,7 +45,6 @@ module.exports = { "leadingUnderscore": "require" } ], - "@typescript-eslint/no-shadow": ["warn"], "@typescript-eslint/no-unused-vars": ["error", {"argsIgnorePattern": "^_", "args": "after-used"}], "@typescript-eslint/no-inferrable-types": ["error", { ignoreProperties: true }], "@typescript-eslint/no-empty-function": ["off"], @@ -65,7 +64,6 @@ module.exports = { "@typescript-eslint/ban-ts-ignore": "off", "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-floating-promises": 1, "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-shadow": ["off"], diff --git a/examples/https/package.json b/examples/https/package.json index bd57e3f14c..c6eee81462 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -1,7 +1,7 @@ { "name": "https-example", "private": true, - "version": "0.31.0", + "version": "0.32.0", "description": "Example of HTTPs integration with OpenTelemetry", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -33,14 +33,14 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.5.0", - "@opentelemetry/exporter-zipkin": "1.5.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/instrumentation-http": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/sdk-trace-node": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/exporter-jaeger": "1.6.0", + "@opentelemetry/exporter-zipkin": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/instrumentation-http": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/sdk-trace-node": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/https", "devDependencies": { diff --git a/examples/opentelemetry-web/package.json b/examples/opentelemetry-web/package.json index 6b260c4715..f1159103b5 100644 --- a/examples/opentelemetry-web/package.json +++ b/examples/opentelemetry-web/package.json @@ -1,7 +1,7 @@ { "name": "web-opentelemetry-example", "private": true, - "version": "0.31.0", + "version": "0.32.0", "description": "Example of using @opentelemetry/sdk-trace-web and @opentelemetry/sdk-metrics in browser", "main": "index.js", "scripts": { @@ -43,20 +43,20 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.2", - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/context-zone": "^1.0.1", - "@opentelemetry/core": "^1.0.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.31.0", - "@opentelemetry/exporter-trace-otlp-http": "0.31.0", - "@opentelemetry/exporter-zipkin": "^1.0.1", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/instrumentation-fetch": "0.31.0", - "@opentelemetry/instrumentation-xml-http-request": "0.31.0", - "@opentelemetry/propagator-b3": "^1.0.1", - "@opentelemetry/sdk-metrics": "0.31.0", - "@opentelemetry/sdk-trace-base": "^1.0.1", - "@opentelemetry/sdk-trace-web": "^1.0.1", - "@opentelemetry/semantic-conventions": "^1.0.1" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/context-zone": "1.6.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.32.0", + "@opentelemetry/exporter-trace-otlp-http": "0.32.0", + "@opentelemetry/exporter-zipkin": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/instrumentation-fetch": "0.32.0", + "@opentelemetry/instrumentation-xml-http-request": "0.32.0", + "@opentelemetry/propagator-b3": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/sdk-trace-web": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/tracer-web" } diff --git a/examples/otlp-exporter-node/package.json b/examples/otlp-exporter-node/package.json index 3ff25c6a37..21b27440d4 100644 --- a/examples/otlp-exporter-node/package.json +++ b/examples/otlp-exporter-node/package.json @@ -1,7 +1,7 @@ { "name": "example-otlp-exporter-node", "private": true, - "version": "0.31.0", + "version": "0.32.0", "description": "Example of using @opentelemetry/collector-exporter in Node.js", "main": "index.js", "scripts": { @@ -29,18 +29,18 @@ }, "dependencies": { "@opentelemetry/api": "^1.1.0", - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.31.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.31.0", - "@opentelemetry/exporter-metrics-otlp-proto": "0.31.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.31.0", - "@opentelemetry/exporter-trace-otlp-http": "0.31.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.32.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.32.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.32.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.32.0", + "@opentelemetry/exporter-trace-otlp-http": "0.32.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/otlp-exporter-node" } diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index e330439b7d..8d5b302561 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -6,6 +6,28 @@ All notable changes to experimental packages in this project will be documented ### :boom: Breaking Change +* chore(metrics-sdk): clean up exports [#3197](https://github.com/open-telemetry/opentelemetry-js/pull/3197) @pichlermarc + * removes export for: + * `AccumulationRecord` + * `Aggregator` + * `AggregatorKind` + * `Accumulation` + * `createInstrumentDescriptor` + * `createInstrumentDescriptorWithView` + * `isDescriptorCompatibleWith` + +### :rocket: (Enhancement) + +### :bug: (Bug Fix) + +### :books: (Refine Doc) + +### :house: (Internal) + +## 0.32.0 + +### :boom: Breaking Change + * Rename @opentelemetry/sdk-metrics-base package to @opentelemetry/sdk-metrics [#3162](https://github.com/open-telemetry/opentelemetry-js/pull/3162) @hectorhdzg ### :rocket: (Enhancement) @@ -20,10 +42,6 @@ All notable changes to experimental packages in this project will be documented * fix(instrumentation-http): add `http.host` attribute before sending the request #3054 @cuichenli -### :books: (Refine Doc) - -### :house: (Internal) - ## 0.31.0 ### :boom: Breaking Change diff --git a/experimental/backwards-compatability/node14/package.json b/experimental/backwards-compatability/node14/package.json index ec5a7d29a9..a9db91d167 100644 --- a/experimental/backwards-compatability/node14/package.json +++ b/experimental/backwards-compatability/node14/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node14", - "version": "0.31.0", + "version": "0.32.0", "private": true, "description": "Backwards compatability app for node 14 types and the OpenTelemetry Node.js SDK", "main": "index.js", @@ -9,8 +9,8 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" }, "dependencies": { - "@opentelemetry/sdk-node": "0.31.0", - "@opentelemetry/sdk-trace-base": "1.5.0" + "@opentelemetry/sdk-node": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0" }, "devDependencies": { "@types/node": "14.18.25", diff --git a/experimental/backwards-compatability/node16/package.json b/experimental/backwards-compatability/node16/package.json index 6914d89502..f1ea4b4f77 100644 --- a/experimental/backwards-compatability/node16/package.json +++ b/experimental/backwards-compatability/node16/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node16", - "version": "0.31.0", + "version": "0.32.0", "private": true, "description": "Backwards compatability app for node 16 types and the OpenTelemetry Node.js SDK", "main": "index.js", @@ -9,8 +9,8 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" }, "dependencies": { - "@opentelemetry/sdk-node": "0.31.0", - "@opentelemetry/sdk-trace-base": "1.5.0" + "@opentelemetry/sdk-node": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0" }, "devDependencies": { "@types/node": "16.11.52", diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index 0f6cb59619..7402f23557 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/package.json +++ b/experimental/packages/exporter-trace-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-grpc", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -49,7 +49,7 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/otlp-exporter-base": "0.31.0", + "@opentelemetry/otlp-exporter-base": "0.32.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -69,11 +69,11 @@ "dependencies": { "@grpc/grpc-js": "^1.5.9", "@grpc/proto-loader": "^0.6.9", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.31.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.32.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-grpc" } diff --git a/experimental/packages/exporter-trace-otlp-http/package.json b/experimental/packages/exporter-trace-otlp-http/package.json index 4a2a7f5a6c..990f56cd42 100644 --- a/experimental/packages/exporter-trace-otlp-http/package.json +++ b/experimental/packages/exporter-trace-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-http", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Collector Trace Exporter allows user to send collected traces to the OpenTelemetry Collector", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -94,11 +94,11 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/otlp-exporter-base": "0.31.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/otlp-exporter-base": "0.32.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-http" } diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index 0e791c0f37..41aff440c7 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-proto", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -67,12 +67,12 @@ }, "dependencies": { "@grpc/proto-loader": "^0.6.9", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/otlp-exporter-base": "0.31.0", - "@opentelemetry/otlp-proto-exporter-base": "0.31.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/otlp-exporter-base": "0.32.0", + "@opentelemetry/otlp-proto-exporter-base": "0.32.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "protobufjs": "^6.9.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto" diff --git a/experimental/packages/opentelemetry-api-metrics/package.json b/experimental/packages/opentelemetry-api-metrics/package.json index fdc8f76220..a901850ee7 100644 --- a/experimental/packages/opentelemetry-api-metrics/package.json +++ b/experimental/packages/opentelemetry-api-metrics/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/api-metrics", - "version": "0.31.0", + "version": "0.32.0", "description": "Public metrics API for OpenTelemetry", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json index a3a4b6ce33..362fdae821 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-grpc", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -49,7 +49,7 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/api-metrics": "0.31.0", + "@opentelemetry/api-metrics": "0.32.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -69,12 +69,12 @@ "dependencies": { "@grpc/grpc-js": "^1.5.9", "@grpc/proto-loader": "^0.6.9", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.31.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.31.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.32.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.32.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc" } diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json index bd77d96d2c..91a50f0125 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-http", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -94,12 +94,12 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/otlp-exporter-base": "0.31.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/otlp-exporter-base": "0.32.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-http" } diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index 8f0212f696..9723a58a55 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-proto", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector using protobuf over HTTP", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -49,7 +49,7 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/api-metrics": "0.31.0", + "@opentelemetry/api-metrics": "0.32.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -68,13 +68,13 @@ }, "dependencies": { "@grpc/proto-loader": "0.6.9", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.31.0", - "@opentelemetry/otlp-exporter-base": "0.31.0", - "@opentelemetry/otlp-proto-exporter-base": "0.31.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.32.0", + "@opentelemetry/otlp-exporter-base": "0.32.0", + "@opentelemetry/otlp-proto-exporter-base": "0.32.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0", "protobufjs": "^6.9.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-proto" diff --git a/experimental/packages/opentelemetry-exporter-prometheus/package.json b/experimental/packages/opentelemetry-exporter-prometheus/package.json index 8537fee3a3..69e9dc9694 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/package.json +++ b/experimental/packages/opentelemetry-exporter-prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-prometheus", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -59,9 +59,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus" } diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index f65a0c6615..d7e22f7f07 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/package.json +++ b/experimental/packages/opentelemetry-instrumentation-fetch/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-fetch", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry fetch automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -56,9 +56,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-zone": "1.5.0", - "@opentelemetry/propagator-b3": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/context-zone": "1.6.0", + "@opentelemetry/propagator-b3": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -87,10 +87,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/sdk-trace-web": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/sdk-trace-web": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch" } diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index cc65f81130..31675724b9 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/package.json +++ b/experimental/packages/opentelemetry-instrumentation-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-grpc", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry grpc automatic instrumentation package.", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -48,10 +48,10 @@ "@grpc/grpc-js": "1.5.9", "@grpc/proto-loader": "0.6.9", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.5.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/sdk-trace-node": "1.5.0", + "@opentelemetry/context-async-hooks": "1.6.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/sdk-trace-node": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/semver": "7.3.9", @@ -71,9 +71,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-grpc" } diff --git a/experimental/packages/opentelemetry-instrumentation-http/package.json b/experimental/packages/opentelemetry-instrumentation-http/package.json index 44ba06a46b..a248b031ea 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/package.json +++ b/experimental/packages/opentelemetry-instrumentation-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-http", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry http/https automatic instrumentation package.", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -46,9 +46,9 @@ }, "devDependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/sdk-trace-node": "1.5.0", + "@opentelemetry/context-async-hooks": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/sdk-trace-node": "1.6.0", "@types/got": "9.6.12", "@types/mocha": "9.1.1", "@types/node": "18.6.5", @@ -66,7 +66,7 @@ "request-promise-native": "1.0.9", "rimraf": "3.0.2", "sinon": "14.0.0", - "superagent": "6.1.0", + "superagent": "8.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" }, @@ -74,9 +74,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/semantic-conventions": "1.5.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/semantic-conventions": "1.6.0", "semver": "^7.3.5" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http" diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json index e8b38a2332..78b43fda9e 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-xml-http-request", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry XMLHttpRequest automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -56,9 +56,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-zone": "1.5.0", - "@opentelemetry/propagator-b3": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/context-zone": "1.6.0", + "@opentelemetry/propagator-b3": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -87,10 +87,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/sdk-trace-web": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/sdk-trace-web": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request" } diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index b448b1f772..6fc1409a1f 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation", - "version": "0.31.0", + "version": "0.32.0", "description": "Base class for node which OpenTelemetry instrumentation modules extend", "author": "OpenTelemetry Authors", "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation", @@ -68,7 +68,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", + "@opentelemetry/api-metrics": "0.32.0", "require-in-the-middle": "^5.0.3", "semver": "^7.3.2", "shimmer": "^1.2.1" diff --git a/experimental/packages/opentelemetry-sdk-metrics/package.json b/experimental/packages/opentelemetry-sdk-metrics/package.json index 1ac68ec471..3d8cbb9a23 100644 --- a/experimental/packages/opentelemetry-sdk-metrics/package.json +++ b/experimental/packages/opentelemetry-sdk-metrics/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-metrics", - "version": "0.31.0", + "version": "0.32.0", "description": "Work in progress OpenTelemetry metrics SDK", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -77,9 +77,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/resources": "1.5.0", + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/resources": "1.6.0", "lodash.merge": "4.6.2" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-metrics" diff --git a/experimental/packages/opentelemetry-sdk-metrics/src/export/MetricData.ts b/experimental/packages/opentelemetry-sdk-metrics/src/export/MetricData.ts index 36e031e2d3..f31c748e0b 100644 --- a/experimental/packages/opentelemetry-sdk-metrics/src/export/MetricData.ts +++ b/experimental/packages/opentelemetry-sdk-metrics/src/export/MetricData.ts @@ -25,7 +25,7 @@ import { Histogram } from '../aggregator/types'; /** * Basic metric data fields. */ -export interface BaseMetricData { +interface BaseMetricData { readonly descriptor: InstrumentDescriptor; readonly aggregationTemporality: AggregationTemporality; /** diff --git a/experimental/packages/opentelemetry-sdk-metrics/src/index.ts b/experimental/packages/opentelemetry-sdk-metrics/src/index.ts index e5254bb761..e5e1ab6ed2 100644 --- a/experimental/packages/opentelemetry-sdk-metrics/src/index.ts +++ b/experimental/packages/opentelemetry-sdk-metrics/src/index.ts @@ -14,20 +14,83 @@ * limitations under the License. */ -export { Sum, LastValue, Histogram } from './aggregator/types'; -export * from './export/AggregationSelector'; -export * from './export/AggregationTemporality'; -export * from './export/MetricData'; -export * from './export/MetricExporter'; -export * from './export/MetricProducer'; -export * from './export/MetricReader'; -export * from './export/PeriodicExportingMetricReader'; -export * from './export/InMemoryMetricExporter'; -export * from './export/ConsoleMetricExporter'; -export { InstrumentDescriptor, InstrumentType } from './InstrumentDescriptor'; -export * from './Meter'; -export * from './MeterProvider'; -export * from './ObservableResult'; -export { TimeoutError } from './utils'; -export * from './view/Aggregation'; -export * from './view/View'; +export { + Sum, + LastValue, + Histogram, +} from './aggregator/types'; + +export { + AggregationSelector, + AggregationTemporalitySelector, +} from './export/AggregationSelector'; + +export { + AggregationTemporality, +} from './export/AggregationTemporality'; + +export { + DataPoint, + DataPointType, + SumMetricData, + GaugeMetricData, + HistogramMetricData, + ResourceMetrics, + ScopeMetrics, + MetricData, + CollectionResult, +} from './export/MetricData'; + +export { + PushMetricExporter, +} from './export/MetricExporter'; + +export { + MetricReader, +} from './export/MetricReader'; + +export { + PeriodicExportingMetricReader, + PeriodicExportingMetricReaderOptions, +} from './export/PeriodicExportingMetricReader'; + +export { + InMemoryMetricExporter, +} from './export/InMemoryMetricExporter'; + +export { + ConsoleMetricExporter, +} from './export/ConsoleMetricExporter'; + +export { + InstrumentDescriptor, + InstrumentType, +} from './InstrumentDescriptor'; + +export { + Meter, +} from './Meter'; + +export { + MeterProvider, + MeterProviderOptions, +} from './MeterProvider'; + +export { + DefaultAggregation, + ExplicitBucketHistogramAggregation, + DropAggregation, + HistogramAggregation, + LastValueAggregation, + SumAggregation, + Aggregation +} from './view/Aggregation'; + +export { + View, + ViewOptions, +} from './view/View'; + +export { + TimeoutError +} from './utils'; diff --git a/experimental/packages/opentelemetry-sdk-metrics/test/ObservableResult.test.ts b/experimental/packages/opentelemetry-sdk-metrics/test/ObservableResult.test.ts index f6a38ce443..aaa97768b8 100644 --- a/experimental/packages/opentelemetry-sdk-metrics/test/ObservableResult.test.ts +++ b/experimental/packages/opentelemetry-sdk-metrics/test/ObservableResult.test.ts @@ -16,9 +16,12 @@ import { ValueType } from '@opentelemetry/api-metrics'; import * as assert from 'assert'; -import { BatchObservableResultImpl, InstrumentType } from '../src'; +import { InstrumentType } from '../src'; import { ObservableInstrument } from '../src/Instruments'; -import { ObservableResultImpl } from '../src/ObservableResult'; +import { + BatchObservableResultImpl, + ObservableResultImpl +} from '../src/ObservableResult'; import { ObservableRegistry } from '../src/state/ObservableRegistry'; import { commonAttributes, commonValues, defaultInstrumentDescriptor } from './util'; diff --git a/experimental/packages/opentelemetry-sdk-metrics/test/state/MeterSharedState.test.ts b/experimental/packages/opentelemetry-sdk-metrics/test/state/MeterSharedState.test.ts index a362b452c7..dc7651f83a 100644 --- a/experimental/packages/opentelemetry-sdk-metrics/test/state/MeterSharedState.test.ts +++ b/experimental/packages/opentelemetry-sdk-metrics/test/state/MeterSharedState.test.ts @@ -20,7 +20,6 @@ import { Meter, MeterProvider, DataPointType, - CollectionResult, View, Aggregation, MetricReader, @@ -29,6 +28,7 @@ import { import { assertMetricData, defaultInstrumentationScope, defaultResource, sleep } from '../util'; import { TestDeltaMetricReader, TestMetricReader } from '../export/TestMetricReader'; import { MeterSharedState } from '../../src/state/MeterSharedState'; +import { CollectionResult } from '../../src/export/MetricData'; describe('MeterSharedState', () => { afterEach(() => { diff --git a/experimental/packages/opentelemetry-sdk-metrics/test/state/MetricCollector.test.ts b/experimental/packages/opentelemetry-sdk-metrics/test/state/MetricCollector.test.ts index 07bf1fb68a..6f316a11ed 100644 --- a/experimental/packages/opentelemetry-sdk-metrics/test/state/MetricCollector.test.ts +++ b/experimental/packages/opentelemetry-sdk-metrics/test/state/MetricCollector.test.ts @@ -16,7 +16,8 @@ import * as assert from 'assert'; import * as sinon from 'sinon'; -import { MeterProvider, TimeoutError } from '../../src'; +import { MeterProvider } from '../../src'; +import { TimeoutError } from '../../src/utils'; import { DataPointType } from '../../src/export/MetricData'; import { MeterProviderSharedState } from '../../src/state/MeterProviderSharedState'; import { MetricCollector } from '../../src/state/MetricCollector'; diff --git a/experimental/packages/opentelemetry-sdk-node/package.json b/experimental/packages/opentelemetry-sdk-node/package.json index f1dc8e0887..584183a5dd 100644 --- a/experimental/packages/opentelemetry-sdk-node/package.json +++ b/experimental/packages/opentelemetry-sdk-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-node", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry SDK for Node.js", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -44,21 +44,21 @@ "access": "public" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/sdk-trace-node": "1.5.0" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/sdk-trace-node": "1.6.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.3.0", - "@opentelemetry/context-async-hooks": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0", + "@opentelemetry/context-async-hooks": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/semver": "7.3.9", diff --git a/experimental/packages/otlp-exporter-base/package.json b/experimental/packages/otlp-exporter-base/package.json index 17f8920fad..3cc6e7e75e 100644 --- a/experimental/packages/otlp-exporter-base/package.json +++ b/experimental/packages/otlp-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-exporter-base", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry OTLP Exporter base (for internal use only)", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -61,7 +61,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.5.0" + "@opentelemetry/core": "1.6.0" }, "devDependencies": { "@opentelemetry/api": "^1.0.0", diff --git a/experimental/packages/otlp-grpc-exporter-base/package.json b/experimental/packages/otlp-grpc-exporter-base/package.json index da8338b42a..12ede6c932 100644 --- a/experimental/packages/otlp-grpc-exporter-base/package.json +++ b/experimental/packages/otlp-grpc-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-grpc-exporter-base", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry OTLP-gRPC Exporter base (for internal use only)", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -51,9 +51,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/otlp-transformer": "0.31.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/otlp-transformer": "0.32.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -73,8 +73,8 @@ "dependencies": { "@grpc/grpc-js": "^1.5.9", "@grpc/proto-loader": "^0.6.9", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/otlp-exporter-base": "0.31.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/otlp-exporter-base": "0.32.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-grpc-exporter-base" } diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index 32b9aec8c7..a9ae89dcec 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-proto-exporter-base", - "version": "0.31.0", + "version": "0.32.0", "description": "OpenTelemetry OTLP-HTTP-protobuf Exporter base (for internal use only)", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -64,8 +64,8 @@ }, "dependencies": { "@grpc/proto-loader": "^0.6.9", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/otlp-exporter-base": "0.31.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/otlp-exporter-base": "0.32.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-proto-exporter-base" } diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index 8c6e6bba92..b15be78d13 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "0.31.0", + "version": "0.32.0", "description": "Transform OpenTelemetry SDK data into OTLP", "module": "build/esm/index.js", "esnext": "build/esnext/index.js", @@ -77,11 +77,11 @@ "webpack": "4.46.0" }, "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-metrics": "0.31.0", - "@opentelemetry/sdk-trace-base": "1.5.0" + "@opentelemetry/api-metrics": "0.32.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-metrics": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-transformer" } diff --git a/integration-tests/propagation-validation-server/package.json b/integration-tests/propagation-validation-server/package.json index 4a49b67757..d937b351af 100644 --- a/integration-tests/propagation-validation-server/package.json +++ b/integration-tests/propagation-validation-server/package.json @@ -1,6 +1,6 @@ { "name": "propagation-validation-server", - "version": "1.5.0", + "version": "1.6.0", "description": "server for w3c tests", "main": "validation_server.js", "private": true, @@ -12,9 +12,9 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.5.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/context-async-hooks": "1.6.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "axios": "0.24.0", "body-parser": "1.19.0", "express": "4.17.1" diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index fdebfff353..cc06b47ca7 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-async-hooks", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry AsyncHooks-based Context Manager", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index afa36bc08f..e2fd07fe4b 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-zone-peer-dep", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Context Zone with peer dependency for zone.js", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/opentelemetry-context-zone/package.json b/packages/opentelemetry-context-zone/package.json index bac9ce7f4c..d9d38cd4e5 100644 --- a/packages/opentelemetry-context-zone/package.json +++ b/packages/opentelemetry-context-zone/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-zone", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Context Zone", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -74,7 +74,7 @@ "webpack-merge": "5.8.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.5.0", + "@opentelemetry/context-zone-peer-dep": "1.6.0", "zone.js": "^0.11.0" }, "sideEffects": true, diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index e6ed665a55..a5fab5ea21 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/core", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,7 +91,7 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core" } diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index eb70b8517a..15064eba8f 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-jaeger", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -45,7 +45,7 @@ }, "devDependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/resources": "1.5.0", + "@opentelemetry/resources": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -62,9 +62,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0", "jaeger-client": "^3.15.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-jaeger" diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index 845aed0df7..ed04d165b1 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-zipkin", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,10 +91,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-zipkin" } diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index 7a57d66c0a..6b78e271fe 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-b3", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry B3 propagator provides context propagation for systems that are using the B3 header format", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -51,7 +51,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.5.0" + "@opentelemetry/core": "1.6.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.3.0" diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index 30dc6c07d1..54b24fcf69 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-jaeger", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -80,7 +80,7 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0" + "@opentelemetry/core": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-propagator-jaeger" } diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index 5d83bbe281..0e4d276c30 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/resources", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry SDK resources", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -89,8 +89,8 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources" } diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index 806749bcb9..088904cc49 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-base", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Tracing", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,9 +91,9 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base" } diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index 19264daff6..051fad0f9d 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-node", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -46,8 +46,8 @@ }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.3.0", - "@opentelemetry/resources": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0", + "@opentelemetry/resources": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/semver": "7.3.9", @@ -64,11 +64,11 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/context-async-hooks": "1.5.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/propagator-b3": "1.5.0", - "@opentelemetry/propagator-jaeger": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/context-async-hooks": "1.6.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/propagator-b3": "1.6.0", + "@opentelemetry/propagator-jaeger": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "semver": "^7.3.5" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node" diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index 809755a9fc..ade633dcf7 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-web", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry Web Tracer", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -57,9 +57,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": ">=1.0.0 <1.3.0", - "@opentelemetry/context-zone": "1.5.0", - "@opentelemetry/propagator-b3": "1.5.0", - "@opentelemetry/resources": "1.5.0", + "@opentelemetry/context-zone": "1.6.0", + "@opentelemetry/propagator-b3": "1.6.0", + "@opentelemetry/resources": "1.6.0", "@types/jquery": "3.5.8", "@types/mocha": "9.1.1", "@types/node": "18.6.5", @@ -91,9 +91,9 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0" + "@opentelemetry/core": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-web" } diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 82554158ae..8d4953452a 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/semantic-conventions", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTelemetry semantic conventions", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index 457562aadf..81ac9c3a66 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/shim-opentracing", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenTracing to OpenTelemetry shim", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -43,9 +43,9 @@ }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.3.0", - "@opentelemetry/propagator-b3": "1.5.0", - "@opentelemetry/propagator-jaeger": "1.5.0", - "@opentelemetry/sdk-trace-base": "1.5.0", + "@opentelemetry/propagator-b3": "1.6.0", + "@opentelemetry/propagator-jaeger": "1.6.0", + "@opentelemetry/sdk-trace-base": "1.6.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -59,8 +59,8 @@ "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.5.0", - "@opentelemetry/semantic-conventions": "1.5.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/semantic-conventions": "1.6.0", "opentracing": "^0.14.4" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-shim-opentracing" diff --git a/packages/template/package.json b/packages/template/package.json index be638a8742..e34c60e575 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/template", - "version": "1.5.0", + "version": "1.6.0", "private": true, "publishConfig": { "access": "restricted" diff --git a/selenium-tests/package.json b/selenium-tests/package.json index 3f7cd91215..a276f0e84c 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/selenium-tests", - "version": "1.5.0", + "version": "1.6.0", "private": true, "description": "OpenTelemetry Selenium Tests", "main": "index.js", @@ -56,16 +56,16 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.5.0", - "@opentelemetry/core": "1.5.0", - "@opentelemetry/exporter-trace-otlp-http": "0.31.0", - "@opentelemetry/exporter-zipkin": "1.5.0", - "@opentelemetry/instrumentation": "0.31.0", - "@opentelemetry/instrumentation-fetch": "0.31.0", - "@opentelemetry/instrumentation-xml-http-request": "0.31.0", - "@opentelemetry/sdk-metrics": "0.31.0", - "@opentelemetry/sdk-trace-base": "1.5.0", - "@opentelemetry/sdk-trace-web": "1.5.0", + "@opentelemetry/context-zone-peer-dep": "1.6.0", + "@opentelemetry/core": "1.6.0", + "@opentelemetry/exporter-trace-otlp-http": "0.32.0", + "@opentelemetry/exporter-zipkin": "1.6.0", + "@opentelemetry/instrumentation": "0.32.0", + "@opentelemetry/instrumentation-fetch": "0.32.0", + "@opentelemetry/instrumentation-xml-http-request": "0.32.0", + "@opentelemetry/sdk-metrics": "0.32.0", + "@opentelemetry/sdk-trace-base": "1.6.0", + "@opentelemetry/sdk-trace-web": "1.6.0", "zone.js": "0.11.4" } }