@opentelemetry/exporter-trace-otlp-proto 0.57.2 → 0.200.0-dev.1

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
@@ -22,7 +22,7 @@ To see documentation and sample code for the metric exporter, see the [exporter-
22
22
  ## Traces in Node - PROTO over http
23
23
 
24
24
  ```js
25
- const { BasicTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base');
25
+ const { NodeTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-node');
26
26
  const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-proto');
27
27
 
28
28
  const collectorOptions = {
@@ -33,7 +33,7 @@ const collectorOptions = {
33
33
  };
34
34
 
35
35
  const exporter = new OTLPTraceExporter(collectorOptions);
36
- const provider = new BasicTracerProvider({
36
+ const provider = new NodeTracerProvider({
37
37
  spanProcessors: [new SimpleSpanProcessor(exporter)]
38
38
  });
39
39
 
@@ -13,35 +13,16 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = function (d, b) {
18
- extendStatics = Object.setPrototypeOf ||
19
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
20
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
21
- return extendStatics(d, b);
22
- };
23
- return function (d, b) {
24
- if (typeof b !== "function" && b !== null)
25
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
26
- extendStatics(d, b);
27
- function __() { this.constructor = d; }
28
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29
- };
30
- })();
31
16
  import { OTLPExporterBase, } from '@opentelemetry/otlp-exporter-base';
32
17
  import { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';
33
18
  import { createLegacyOtlpBrowserExportDelegate } from '@opentelemetry/otlp-exporter-base/browser-http';
34
- var DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';
19
+ const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';
35
20
  /**
36
21
  * Collector Trace Exporter for Web
37
22
  */
38
- var OTLPTraceExporter = /** @class */ (function (_super) {
39
- __extends(OTLPTraceExporter, _super);
40
- function OTLPTraceExporter(config) {
41
- if (config === void 0) { config = {}; }
42
- return _super.call(this, createLegacyOtlpBrowserExportDelegate(config, ProtobufTraceSerializer, DEFAULT_COLLECTOR_RESOURCE_PATH, { 'Content-Type': 'application/x-protobuf' })) || this;
23
+ export class OTLPTraceExporter extends OTLPExporterBase {
24
+ constructor(config = {}) {
25
+ super(createLegacyOtlpBrowserExportDelegate(config, ProtobufTraceSerializer, DEFAULT_COLLECTOR_RESOURCE_PATH, { 'Content-Type': 'application/x-protobuf' }));
43
26
  }
44
- return OTLPTraceExporter;
45
- }(OTLPExporterBase));
46
- export { OTLPTraceExporter };
27
+ }
47
28
  //# sourceMappingURL=OTLPTraceExporter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OTLPTraceExporter.js","sourceRoot":"","sources":["../../../../src/platform/browser/OTLPTraceExporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAGH,OAAO,EAEL,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qCAAqC,EAAE,MAAM,gDAAgD,CAAC;AAEvG,IAAM,+BAA+B,GAAG,WAAW,CAAC;AAEpD;;GAEG;AACH;IACU,qCAAgC;IAGxC,2BAAY,MAAmC;QAAnC,uBAAA,EAAA,WAAmC;eAC7C,kBACE,qCAAqC,CACnC,MAAM,EACN,uBAAuB,EACvB,+BAA+B,EAC/B,EAAE,cAAc,EAAE,wBAAwB,EAAE,CAC7C,CACF;IACH,CAAC;IACH,wBAAC;AAAD,CAAC,AAdD,CACU,gBAAgB,GAazB","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\nimport { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';\nimport {\n OTLPExporterConfigBase,\n OTLPExporterBase,\n} from '@opentelemetry/otlp-exporter-base';\nimport { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';\nimport { createLegacyOtlpBrowserExportDelegate } from '@opentelemetry/otlp-exporter-base/browser-http';\n\nconst DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';\n\n/**\n * Collector Trace Exporter for Web\n */\nexport class OTLPTraceExporter\n extends OTLPExporterBase<ReadableSpan[]>\n implements SpanExporter\n{\n constructor(config: OTLPExporterConfigBase = {}) {\n super(\n createLegacyOtlpBrowserExportDelegate(\n config,\n ProtobufTraceSerializer,\n DEFAULT_COLLECTOR_RESOURCE_PATH,\n { 'Content-Type': 'application/x-protobuf' }\n )\n );\n }\n}\n"]}
1
+ {"version":3,"file":"OTLPTraceExporter.js","sourceRoot":"","sources":["../../../../src/platform/browser/OTLPTraceExporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qCAAqC,EAAE,MAAM,gDAAgD,CAAC;AAEvG,MAAM,+BAA+B,GAAG,WAAW,CAAC;AAEpD;;GAEG;AACH,MAAM,OAAO,iBACX,SAAQ,gBAAgC;IAGxC,YAAY,SAAiC,EAAE;QAC7C,KAAK,CACH,qCAAqC,CACnC,MAAM,EACN,uBAAuB,EACvB,+BAA+B,EAC/B,EAAE,cAAc,EAAE,wBAAwB,EAAE,CAC7C,CACF,CAAC;IACJ,CAAC;CACF","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\nimport { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';\nimport {\n OTLPExporterConfigBase,\n OTLPExporterBase,\n} from '@opentelemetry/otlp-exporter-base';\nimport { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';\nimport { createLegacyOtlpBrowserExportDelegate } from '@opentelemetry/otlp-exporter-base/browser-http';\n\nconst DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';\n\n/**\n * Collector Trace Exporter for Web\n */\nexport class OTLPTraceExporter\n extends OTLPExporterBase<ReadableSpan[]>\n implements SpanExporter\n{\n constructor(config: OTLPExporterConfigBase = {}) {\n super(\n createLegacyOtlpBrowserExportDelegate(\n config,\n ProtobufTraceSerializer,\n DEFAULT_COLLECTOR_RESOURCE_PATH,\n { 'Content-Type': 'application/x-protobuf' }\n )\n );\n }\n}\n"]}
@@ -13,21 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = function (d, b) {
18
- extendStatics = Object.setPrototypeOf ||
19
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
20
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
21
- return extendStatics(d, b);
22
- };
23
- return function (d, b) {
24
- if (typeof b !== "function" && b !== null)
25
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
26
- extendStatics(d, b);
27
- function __() { this.constructor = d; }
28
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29
- };
30
- })();
31
16
  import { OTLPExporterBase, } from '@opentelemetry/otlp-exporter-base';
32
17
  import { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';
33
18
  import { VERSION } from '../../version';
@@ -35,16 +20,12 @@ import { createOtlpHttpExportDelegate, convertLegacyHttpOptions, } from '@opente
35
20
  /**
36
21
  * Collector Trace Exporter for Node with protobuf
37
22
  */
38
- var OTLPTraceExporter = /** @class */ (function (_super) {
39
- __extends(OTLPTraceExporter, _super);
40
- function OTLPTraceExporter(config) {
41
- if (config === void 0) { config = {}; }
42
- return _super.call(this, createOtlpHttpExportDelegate(convertLegacyHttpOptions(config, 'TRACES', 'v1/traces', {
43
- 'User-Agent': "OTel-OTLP-Exporter-JavaScript/" + VERSION,
23
+ export class OTLPTraceExporter extends OTLPExporterBase {
24
+ constructor(config = {}) {
25
+ super(createOtlpHttpExportDelegate(convertLegacyHttpOptions(config, 'TRACES', 'v1/traces', {
26
+ 'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,
44
27
  'Content-Type': 'application/x-protobuf',
45
- }), ProtobufTraceSerializer)) || this;
28
+ }), ProtobufTraceSerializer));
46
29
  }
47
- return OTLPTraceExporter;
48
- }(OTLPExporterBase));
49
- export { OTLPTraceExporter };
30
+ }
50
31
  //# sourceMappingURL=OTLPTraceExporter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OTLPTraceExporter.js","sourceRoot":"","sources":["../../../../src/platform/node/OTLPTraceExporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAGH,OAAO,EAEL,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,6CAA6C,CAAC;AAErD;;GAEG;AACH;IACU,qCAAgC;IAGxC,2BAAY,MAAuC;QAAvC,uBAAA,EAAA,WAAuC;eACjD,kBACE,4BAA4B,CAC1B,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE;YACtD,YAAY,EAAE,mCAAiC,OAAS;YACxD,cAAc,EAAE,wBAAwB;SACzC,CAAC,EACF,uBAAuB,CACxB,CACF;IACH,CAAC;IACH,wBAAC;AAAD,CAAC,AAfD,CACU,gBAAgB,GAczB","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\nimport { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';\nimport {\n OTLPExporterNodeConfigBase,\n OTLPExporterBase,\n} from '@opentelemetry/otlp-exporter-base';\nimport { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';\nimport { VERSION } from '../../version';\nimport {\n createOtlpHttpExportDelegate,\n convertLegacyHttpOptions,\n} from '@opentelemetry/otlp-exporter-base/node-http';\n\n/**\n * Collector Trace Exporter for Node with protobuf\n */\nexport class OTLPTraceExporter\n extends OTLPExporterBase<ReadableSpan[]>\n implements SpanExporter\n{\n constructor(config: OTLPExporterNodeConfigBase = {}) {\n super(\n createOtlpHttpExportDelegate(\n convertLegacyHttpOptions(config, 'TRACES', 'v1/traces', {\n 'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,\n 'Content-Type': 'application/x-protobuf',\n }),\n ProtobufTraceSerializer\n )\n );\n }\n}\n"]}
1
+ {"version":3,"file":"OTLPTraceExporter.js","sourceRoot":"","sources":["../../../../src/platform/node/OTLPTraceExporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,6CAA6C,CAAC;AAErD;;GAEG;AACH,MAAM,OAAO,iBACX,SAAQ,gBAAgC;IAGxC,YAAY,SAAqC,EAAE;QACjD,KAAK,CACH,4BAA4B,CAC1B,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE;YACtD,YAAY,EAAE,iCAAiC,OAAO,EAAE;YACxD,cAAc,EAAE,wBAAwB;SACzC,CAAC,EACF,uBAAuB,CACxB,CACF,CAAC;IACJ,CAAC;CACF","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\nimport { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';\nimport {\n OTLPExporterNodeConfigBase,\n OTLPExporterBase,\n} from '@opentelemetry/otlp-exporter-base';\nimport { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';\nimport { VERSION } from '../../version';\nimport {\n createOtlpHttpExportDelegate,\n convertLegacyHttpOptions,\n} from '@opentelemetry/otlp-exporter-base/node-http';\n\n/**\n * Collector Trace Exporter for Node with protobuf\n */\nexport class OTLPTraceExporter\n extends OTLPExporterBase<ReadableSpan[]>\n implements SpanExporter\n{\n constructor(config: OTLPExporterNodeConfigBase = {}) {\n super(\n createOtlpHttpExportDelegate(\n convertLegacyHttpOptions(config, 'TRACES', 'v1/traces', {\n 'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,\n 'Content-Type': 'application/x-protobuf',\n }),\n ProtobufTraceSerializer\n )\n );\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.57.2";
1
+ export declare const VERSION = "0.200.0-dev.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  // this is autogenerated file, see scripts/version-update.js
17
- export var VERSION = '0.57.2';
17
+ export const VERSION = '0.200.0-dev.1';
18
18
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,IAAM,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.57.2';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,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.200.0-dev.1';\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.57.2";
1
+ export declare const VERSION = "0.200.0-dev.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  // this is autogenerated file, see scripts/version-update.js
17
- export const VERSION = '0.57.2';
17
+ export const VERSION = '0.200.0-dev.1';
18
18
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,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.57.2';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,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.200.0-dev.1';\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.57.2";
1
+ export declare const VERSION = "0.200.0-dev.1";
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.57.2';
20
+ exports.VERSION = '0.200.0-dev.1';
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.57.2';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,eAAe,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.200.0-dev.1';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/exporter-trace-otlp-proto",
3
- "version": "0.57.2",
3
+ "version": "0.200.0-dev.1",
4
4
  "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP",
5
5
  "main": "build/src/index.js",
6
6
  "module": "build/esm/index.js",
@@ -41,7 +41,7 @@
41
41
  "author": "OpenTelemetry Authors",
42
42
  "license": "Apache-2.0",
43
43
  "engines": {
44
- "node": ">=14"
44
+ "node": "^18.19.0 || >=20.6.0"
45
45
  },
46
46
  "files": [
47
47
  "build/esm/**/*.js",
@@ -62,12 +62,12 @@
62
62
  "access": "public"
63
63
  },
64
64
  "devDependencies": {
65
- "@babel/core": "7.26.0",
66
- "@babel/preset-env": "7.26.0",
65
+ "@babel/core": "7.26.9",
66
+ "@babel/preset-env": "7.26.9",
67
67
  "@opentelemetry/api": "1.9.0",
68
68
  "@types/mocha": "10.0.10",
69
69
  "@types/node": "18.6.5",
70
- "@types/sinon": "17.0.3",
70
+ "@types/sinon": "17.0.4",
71
71
  "babel-plugin-istanbul": "7.0.0",
72
72
  "cross-var": "1.1.0",
73
73
  "karma": "6.4.4",
@@ -77,26 +77,25 @@
77
77
  "karma-spec-reporter": "0.0.36",
78
78
  "karma-webpack": "5.0.1",
79
79
  "lerna": "6.6.2",
80
- "mocha": "10.8.2",
81
- "nyc": "15.1.0",
80
+ "mocha": "11.1.0",
81
+ "nyc": "17.1.0",
82
82
  "sinon": "15.1.2",
83
- "ts-loader": "9.5.1",
84
- "typescript": "4.4.4",
83
+ "ts-loader": "9.5.2",
84
+ "typescript": "5.0.4",
85
85
  "webpack": "5.96.1",
86
- "webpack-cli": "5.1.4",
87
- "webpack-merge": "5.10.0"
86
+ "webpack-cli": "6.0.1"
88
87
  },
89
88
  "peerDependencies": {
90
89
  "@opentelemetry/api": "^1.3.0"
91
90
  },
92
91
  "dependencies": {
93
- "@opentelemetry/core": "1.30.1",
94
- "@opentelemetry/otlp-exporter-base": "0.57.2",
95
- "@opentelemetry/otlp-transformer": "0.57.2",
96
- "@opentelemetry/resources": "1.30.1",
97
- "@opentelemetry/sdk-trace-base": "1.30.1"
92
+ "@opentelemetry/core": "2.0.0-dev.1",
93
+ "@opentelemetry/otlp-exporter-base": "0.200.0-dev.1",
94
+ "@opentelemetry/otlp-transformer": "0.200.0-dev.1",
95
+ "@opentelemetry/resources": "2.0.0-dev.1",
96
+ "@opentelemetry/sdk-trace-base": "2.0.0-dev.1"
98
97
  },
99
98
  "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto",
100
99
  "sideEffects": false,
101
- "gitHead": "ac8641a5dbb5df1169bd5ed25a6667a6a6f730ca"
100
+ "gitHead": "92fde6aa77e464ee85c4a18f279fe12294f625d1"
102
101
  }