feat(exporter-metrics-otlp-proto): add esm build (#4099)
This commit is contained in:
parent
ed27a37678
commit
be1627267f
|
@ -9,9 +9,15 @@ All notable changes to experimental packages in this project will be documented
|
|||
### :boom: Breaking Change
|
||||
|
||||
* fix(exporter-logs-otlp-proto): change OTLPLogExporter to OTLPLogExporter [#4140](https://github.com/open-telemetry/opentelemetry-js/pull/4140) @Vunovati
|
||||
* fix(sdk-node): remove explicit dependency on @opentelemetry/exporter-jaeger
|
||||
* '@opentelemetry/exporter-jaeger' is no longer be a dependency of this package. To continue using '@opentelemetry/exporter-jaeger', please install it manually.
|
||||
* NOTE: `@opentelemetry/exporter-jaeger` is deprecated, consider switching to one of the alternatives described [here](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger)
|
||||
|
||||
### :rocket: (Enhancement)
|
||||
|
||||
* feat(exporter-metrics-otlp-proto): add esm build [#4099](https://github.com/open-telemetry/opentelemetry-js/pull/4099) @pichlermarc
|
||||
* feat(opencensus-shim): implement OpenCensus metric producer [#4066](https://github.com/open-telemetry/opentelemetry-js/pull/4066) @aabmass
|
||||
|
||||
### :bug: (Bug Fix)
|
||||
|
||||
### :books: (Refine Doc)
|
||||
|
@ -44,12 +50,10 @@ All notable changes to experimental packages in this project will be documented
|
|||
### :rocket: (Enhancement)
|
||||
|
||||
* feat: update PeriodicExportingMetricReader and PrometheusExporter to accept optional metric producers [#4077](https://github.com/open-telemetry/opentelemetry-js/pull/4077) @aabmass
|
||||
* feat(opencensus-shim): implement OpenCensus metric producer [#4066](https://github.com/open-telemetry/opentelemetry-js/pull/4066) @aabmass
|
||||
|
||||
### :bug: (Bug Fix)
|
||||
|
||||
* fix(exporter-logs-otlp-http): add @opentelemetry/api-logs as dependency
|
||||
* fix(sdk-node): remove explicit dependency on @opentelemetry/exporter-jaeger.
|
||||
|
||||
## 0.41.2
|
||||
|
||||
|
|
|
@ -3,18 +3,20 @@
|
|||
"version": "0.43.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",
|
||||
"module": "build/esm/index.js",
|
||||
"esnext": "build/esnext/index.js",
|
||||
"types": "build/src/index.d.ts",
|
||||
"repository": "open-telemetry/opentelemetry-js",
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm run compile",
|
||||
"compile": "tsc --build",
|
||||
"clean": "tsc --build --clean",
|
||||
"compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
||||
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"lint:fix": "eslint . --ext .ts --fix",
|
||||
"tdd": "npm run test -- --watch-extensions ts --watch",
|
||||
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
|
||||
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' --exclude 'test/browser/**/*.ts'",
|
||||
"version": "node ../../../scripts/version-update.js",
|
||||
"watch": "tsc -w",
|
||||
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
||||
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
|
||||
"prewatch": "npm run precompile",
|
||||
"peer-api-check": "node ../../../scripts/peer-api-check.js",
|
||||
|
@ -35,6 +37,12 @@
|
|||
"node": ">=14"
|
||||
},
|
||||
"files": [
|
||||
"build/esm/**/*.js",
|
||||
"build/esm/**/*.js.map",
|
||||
"build/esm/**/*.d.ts",
|
||||
"build/esnext/**/*.js",
|
||||
"build/esnext/**/*.js.map",
|
||||
"build/esnext/**/*.d.ts",
|
||||
"build/src/**/*.js",
|
||||
"build/src/**/*.js.map",
|
||||
"build/src/**/*.d.ts",
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.esm.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "build/esm",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "build/esm/tsconfig.esm.tsbuildinfo"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../../api"
|
||||
},
|
||||
{
|
||||
"path": "../../../packages/opentelemetry-core"
|
||||
},
|
||||
{
|
||||
"path": "../../../packages/opentelemetry-resources"
|
||||
},
|
||||
{
|
||||
"path": "../../../packages/sdk-metrics"
|
||||
},
|
||||
{
|
||||
"path": "../opentelemetry-exporter-metrics-otlp-http"
|
||||
},
|
||||
{
|
||||
"path": "../otlp-exporter-base"
|
||||
},
|
||||
{
|
||||
"path": "../otlp-proto-exporter-base"
|
||||
},
|
||||
{
|
||||
"path": "../otlp-transformer"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.esnext.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "build/esnext",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../../api"
|
||||
},
|
||||
{
|
||||
"path": "../../../packages/opentelemetry-core"
|
||||
},
|
||||
{
|
||||
"path": "../../../packages/opentelemetry-resources"
|
||||
},
|
||||
{
|
||||
"path": "../../../packages/sdk-metrics"
|
||||
},
|
||||
{
|
||||
"path": "../opentelemetry-exporter-metrics-otlp-http"
|
||||
},
|
||||
{
|
||||
"path": "../otlp-exporter-base"
|
||||
},
|
||||
{
|
||||
"path": "../otlp-proto-exporter-base"
|
||||
},
|
||||
{
|
||||
"path": "../otlp-transformer"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -29,6 +29,9 @@
|
|||
{
|
||||
"path": "experimental/packages/opentelemetry-exporter-metrics-otlp-http/tsconfig.esm.json"
|
||||
},
|
||||
{
|
||||
"path": "experimental/packages/opentelemetry-exporter-metrics-otlp-proto/tsconfig.esm.json"
|
||||
},
|
||||
{
|
||||
"path": "experimental/packages/opentelemetry-instrumentation/tsconfig.esm.json"
|
||||
},
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
{
|
||||
"path": "experimental/packages/opentelemetry-exporter-metrics-otlp-http/tsconfig.esnext.json"
|
||||
},
|
||||
{
|
||||
"path": "experimental/packages/opentelemetry-exporter-metrics-otlp-proto/tsconfig.esnext.json"
|
||||
},
|
||||
{
|
||||
"path": "experimental/packages/opentelemetry-instrumentation/tsconfig.esnext.json"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue