@opentelemetry/exporter-metrics-otlp-http 0.221.0 → 0.222.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
@@ -13,6 +13,11 @@ This module provides a metrics-exporter for OTLP (http/json) using protocol vers
13
13
  npm install --save @opentelemetry/exporter-metrics-otlp-http
14
14
  ```
15
15
 
16
+ ## Shared HTTP exporter options
17
+
18
+ This exporter uses the shared HTTP options documented in [`@opentelemetry/otlp-exporter-base`][otlp-exporter-base-config].
19
+ That includes `url`, `headers`, `timeoutMillis`, `concurrencyLimit`, and Node.js options such as `compression`, `keepAlive`, `httpAgentOptions`, and `userAgent`.
20
+
16
21
  ## Service Name
17
22
 
18
23
  The OpenTelemetry Collector Metrics Exporter does not have a service name configuration.
@@ -83,7 +88,7 @@ In addition to settings passed to the constructor, the exporter also supports co
83
88
  | Environment variable | Description |
84
89
  | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85
90
  | OTEL_EXPORTER_OTLP_ENDPOINT | The endpoint to send metrics to. This will also be used for the traces exporter if `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` is not configured. By default `http://localhost:4318` will be used. `/v1/metrics` will be automatically appended to configured values. |
86
- | OTEL_EXPORTER_OTLP_METRICS_ENDPOINT | The endpoint to send metrics to. By default `https://localhost:4318/v1/metrics` will be used. `v1/metrics` will not be appended automatically and has to be added explicitly. |
91
+ | OTEL_EXPORTER_OTLP_METRICS_ENDPOINT | The endpoint to send metrics to. By default `http://localhost:4318/v1/metrics` will be used. `v1/metrics` will not be appended automatically and has to be added explicitly. |
87
92
  | OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE | The exporters aggregation temporality preference. Valid values are `cumulative`, `delta`, and `lowmemory`. `cumulative` selects cumulative temporality for all instrument kinds. `delta` selects delta aggregation temporality for Counter, Asynchronous Counter and Histogram instrument kinds, and selects cumulative aggregation for UpDownCounter and Asynchronous UpDownCounter instrument kinds. `lowmemory` selects delta aggregation temporality for Counter and Histogram instrument kinds, and selects cumulative aggregation for UpDownCounter, Asynchronous Counter and Asynchronous UpDownCounter instrument kinds. By default `cumulative` is used. |
88
93
 
89
94
  > Settings configured programmatically take precedence over environment variables. Per-signal environment variables take
@@ -112,6 +117,7 @@ Apache 2.0 - See [LICENSE][license-url] for more information.
112
117
  [npm-url]: https://www.npmjs.com/package/@opentelemetry/exporter-metrics-otlp-http
113
118
  [npm-url-grpc]: https://www.npmjs.com/package/@opentelemetry/exporter-metrics-otlp-grpc
114
119
  [npm-url-proto]: https://www.npmjs.com/package/@opentelemetry/exporter-metrics-otlp-proto
120
+ [otlp-exporter-base-config]: https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-exporter-base#http-exporter-configuration
115
121
  [npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fexporter-metrics-otlp-http.svg
116
122
  [semconv-resource-service-name]: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md#service
117
- [trace-exporter-url]: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/exporter-trace-otlp-http
123
+ [trace-exporter-url]: https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-http
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.221.0";
1
+ export declare const VERSION = "0.222.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -3,5 +3,5 @@
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  // this is autogenerated file, see scripts/version-update.js
6
- export const VERSION = '0.221.0';
6
+ export const VERSION = '0.222.0';
7
7
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.221.0';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.222.0';\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.221.0";
1
+ export declare const VERSION = "0.222.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -3,5 +3,5 @@
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  // this is autogenerated file, see scripts/version-update.js
6
- export const VERSION = '0.221.0';
6
+ export const VERSION = '0.222.0';
7
7
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.221.0';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.222.0';\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.221.0";
1
+ export declare const VERSION = "0.222.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -6,5 +6,5 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.VERSION = void 0;
8
8
  // this is autogenerated file, see scripts/version-update.js
9
- exports.VERSION = '0.221.0';
9
+ exports.VERSION = '0.222.0';
10
10
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.221.0';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.222.0';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/exporter-metrics-otlp-http",
3
- "version": "0.221.0",
3
+ "version": "0.222.0",
4
4
  "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector",
5
5
  "main": "build/src/index.js",
6
6
  "module": "build/esm/index.js",
@@ -71,30 +71,30 @@
71
71
  "babel-loader": "10.1.1",
72
72
  "babel-plugin-istanbul": "8.0.0",
73
73
  "karma": "6.4.4",
74
- "karma-chrome-launcher": "3.1.0",
74
+ "karma-chrome-launcher": "3.2.0",
75
75
  "karma-coverage": "2.2.1",
76
76
  "karma-mocha": "2.0.1",
77
77
  "karma-spec-reporter": "0.0.36",
78
78
  "karma-webpack": "5.0.1",
79
- "mocha": "11.7.6",
79
+ "mocha": "11.8.0",
80
80
  "nyc": "17.1.0",
81
81
  "sinon": "18.0.1",
82
82
  "ts-loader": "9.5.7",
83
83
  "typescript": "5.2.2",
84
84
  "webpack": "5.108.4",
85
- "webpack-cli": "7.2.1"
85
+ "webpack-cli": "7.2.2"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "@opentelemetry/api": "^1.3.0"
89
89
  },
90
90
  "dependencies": {
91
- "@opentelemetry/core": "2.10.0",
92
- "@opentelemetry/otlp-exporter-base": "0.221.0",
93
- "@opentelemetry/otlp-transformer": "0.221.0",
94
- "@opentelemetry/resources": "2.10.0",
95
- "@opentelemetry/sdk-metrics": "2.10.0"
91
+ "@opentelemetry/core": "2.11.0",
92
+ "@opentelemetry/otlp-exporter-base": "0.222.0",
93
+ "@opentelemetry/otlp-transformer": "0.222.0",
94
+ "@opentelemetry/resources": "2.11.0",
95
+ "@opentelemetry/sdk-metrics": "2.11.0"
96
96
  },
97
97
  "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-http",
98
98
  "sideEffects": false,
99
- "gitHead": "76fa6b509e2b48d9cbee31cb37a2efc61dc4d384"
99
+ "gitHead": "0b72a81636fa476e8f1f1afd2ae0c90a1362194c"
100
100
  }