@opentelemetry/sdk-node 0.43.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,6 +36,7 @@ Before any other module in your application is loaded, you must initialize the S
36
36
  If you fail to initialize the SDK or initialize it too late, no-op implementations will be provided to any library which acquires a tracer or meter from the API.
37
37
 
38
38
  This example uses Jaeger and Prometheus, but exporters exist for [other tracing backends][other-tracing-backends].
39
+ As shown in the installation instructions, exporters passed to the SDK must be installed alongside `@opentelemetry/sdk-node`.
39
40
 
40
41
  ```javascript
41
42
  const opentelemetry = require("@opentelemetry/sdk-node");
@@ -49,7 +50,7 @@ const jaegerExporter = new JaegerExporter();
49
50
  const prometheusExporter = new PrometheusExporter({ startServer: true });
50
51
 
51
52
  const sdk = new opentelemetry.NodeSDK({
52
- // Optional - if omitted, the tracing SDK will not be initialized
53
+ // Optional - if omitted, the tracing SDK will be initialized from environment variables
53
54
  traceExporter: jaegerExporter,
54
55
  // Optional - If omitted, the metrics SDK will not be initialized
55
56
  metricReader: prometheusExporter,
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.43.0";
1
+ export declare const VERSION = "0.45.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -17,5 +17,5 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.VERSION = '0.43.0';
20
+ exports.VERSION = '0.45.0';
21
21
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["/*\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 */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.43.0';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["/*\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 */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.45.0';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/sdk-node",
3
- "version": "0.43.0",
3
+ "version": "0.45.0",
4
4
  "description": "OpenTelemetry SDK for Node.js",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -17,8 +17,7 @@
17
17
  "watch": "tsc --build --watch",
18
18
  "precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
19
19
  "prewatch": "npm run precompile",
20
- "peer-api-check": "node ../../../scripts/peer-api-check.js",
21
- "postinstall": "node -e \"console.log(\\\"\\x1b[95m%s\\x1b[0m\\\", \\\"@opentelemetry/sdk-node - warning: Starting with 0.44.0 '@opentelemetry/exporter-jaeger' will no longer be automatically installed by this package. To continue using '@opentelemetry/exporter-jaeger', please install it manually.\\n(NOTE: '@opentelemetry/exporter-jaeger' is deprecated, consider switching to one of the alternatives described in https://www.npmjs.com/package/@opentelemetry/exporter-jaeger)\\\");\""
20
+ "peer-api-check": "node ../../../scripts/peer-api-check.js"
22
21
  },
23
22
  "keywords": [
24
23
  "opentelemetry",
@@ -45,34 +44,34 @@
45
44
  "access": "public"
46
45
  },
47
46
  "dependencies": {
48
- "@opentelemetry/api-logs": "0.43.0",
49
- "@opentelemetry/core": "1.17.0",
50
- "@opentelemetry/exporter-jaeger": "1.17.0",
51
- "@opentelemetry/exporter-trace-otlp-grpc": "0.43.0",
52
- "@opentelemetry/exporter-trace-otlp-http": "0.43.0",
53
- "@opentelemetry/exporter-trace-otlp-proto": "0.43.0",
54
- "@opentelemetry/exporter-zipkin": "1.17.0",
55
- "@opentelemetry/instrumentation": "0.43.0",
56
- "@opentelemetry/resources": "1.17.0",
57
- "@opentelemetry/sdk-logs": "0.43.0",
58
- "@opentelemetry/sdk-metrics": "1.17.0",
59
- "@opentelemetry/sdk-trace-base": "1.17.0",
60
- "@opentelemetry/sdk-trace-node": "1.17.0",
61
- "@opentelemetry/semantic-conventions": "1.17.0"
47
+ "@opentelemetry/api-logs": "0.45.0",
48
+ "@opentelemetry/core": "1.18.0",
49
+ "@opentelemetry/exporter-trace-otlp-grpc": "0.45.0",
50
+ "@opentelemetry/exporter-trace-otlp-http": "0.45.0",
51
+ "@opentelemetry/exporter-trace-otlp-proto": "0.45.0",
52
+ "@opentelemetry/exporter-zipkin": "1.18.0",
53
+ "@opentelemetry/instrumentation": "0.45.0",
54
+ "@opentelemetry/resources": "1.18.0",
55
+ "@opentelemetry/sdk-logs": "0.45.0",
56
+ "@opentelemetry/sdk-metrics": "1.18.0",
57
+ "@opentelemetry/sdk-trace-base": "1.18.0",
58
+ "@opentelemetry/sdk-trace-node": "1.18.0",
59
+ "@opentelemetry/semantic-conventions": "1.18.0"
62
60
  },
63
61
  "peerDependencies": {
64
- "@opentelemetry/api": ">=1.3.0 <1.7.0"
62
+ "@opentelemetry/api": ">=1.3.0 <1.8.0"
65
63
  },
66
64
  "devDependencies": {
67
- "@opentelemetry/api": "1.6.0",
68
- "@opentelemetry/context-async-hooks": "1.17.0",
69
- "@types/mocha": "10.0.1",
65
+ "@opentelemetry/api": "1.7.0",
66
+ "@opentelemetry/context-async-hooks": "1.18.0",
67
+ "@opentelemetry/exporter-jaeger": "1.18.0",
68
+ "@types/mocha": "10.0.3",
70
69
  "@types/node": "18.6.5",
71
- "@types/semver": "7.5.1",
72
- "@types/sinon": "10.0.16",
70
+ "@types/semver": "7.5.4",
71
+ "@types/sinon": "10.0.20",
73
72
  "codecov": "3.8.3",
74
73
  "cross-var": "1.1.0",
75
- "lerna": "7.1.5",
74
+ "lerna": "6.6.2",
76
75
  "mocha": "10.2.0",
77
76
  "nyc": "15.1.0",
78
77
  "semver": "7.5.4",
@@ -83,5 +82,5 @@
83
82
  },
84
83
  "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node",
85
84
  "sideEffects": false,
86
- "gitHead": "faf939c77591f709afbc23fadbe629c9d3607ef6"
85
+ "gitHead": "73b446688f10fd8dc4cf403a085f0a39070df7b4"
87
86
  }