From b2c9f4086c3664ed02def6aa4b475bbfb145bc07 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Sat, 28 Jan 2023 00:14:07 +0100 Subject: [PATCH 01/20] feat(sdk-trace-base): add dropped attributes and events count on span --- api/src/index.ts | 6 ++- api/src/trace/attributes.ts | 6 +++ .../tsconfig.esm.json | 15 +++++++ .../tsconfig.esnext.json | 15 +++++++ .../tsconfig.esm.json | 3 ++ .../tsconfig.esnext.json | 9 ++-- .../opentelemetry-sdk-trace-base/src/Span.ts | 41 ++++++++++++++---- .../src/TimedEvent.ts | 6 +++ .../src/export/ReadableSpan.ts | 5 ++- .../test/common/Span.test.ts | 43 +++++++++++++++++++ tsconfig.esm.json | 6 +++ tsconfig.esnext.json | 6 +++ 12 files changed, 146 insertions(+), 15 deletions(-) diff --git a/api/src/index.ts b/api/src/index.ts index 2326aba9dc..52e727fb5c 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -71,7 +71,11 @@ export { export type { PropagationAPI } from './api/propagation'; // Trace APIs -export { SpanAttributes, SpanAttributeValue } from './trace/attributes'; +export { + SpanAttributes, + SpanAttributeValue, + SpanDroppedAttributes, +} from './trace/attributes'; export { Link } from './trace/link'; export { ProxyTracer, TracerDelegator } from './trace/ProxyTracer'; export { ProxyTracerProvider } from './trace/ProxyTracerProvider'; diff --git a/api/src/trace/attributes.ts b/api/src/trace/attributes.ts index 01feff0b0a..ce29b07a3c 100644 --- a/api/src/trace/attributes.ts +++ b/api/src/trace/attributes.ts @@ -25,3 +25,9 @@ export type SpanAttributes = Attributes; * @deprecated please use {@link AttributeValue} */ export type SpanAttributeValue = AttributeValue; + +/** + * Dropped attributes count is a map of key-value pairs + * of attributes that were dropped due to collection limits + */ +export type SpanDroppedAttributes = Attributes | undefined; diff --git a/experimental/packages/exporter-trace-otlp-proto/tsconfig.esm.json b/experimental/packages/exporter-trace-otlp-proto/tsconfig.esm.json index ae47403334..22887f7b0a 100644 --- a/experimental/packages/exporter-trace-otlp-proto/tsconfig.esm.json +++ b/experimental/packages/exporter-trace-otlp-proto/tsconfig.esm.json @@ -14,6 +14,21 @@ }, { "path": "../../../packages/opentelemetry-core" + }, + { + "path": "../../../packages/opentelemetry-resources" + }, + { + "path": "../../../packages/opentelemetry-sdk-trace-base" + }, + { + "path": "../otlp-exporter-base" + }, + { + "path": "../otlp-proto-exporter-base" + }, + { + "path": "../otlp-transformer" } ] } diff --git a/experimental/packages/exporter-trace-otlp-proto/tsconfig.esnext.json b/experimental/packages/exporter-trace-otlp-proto/tsconfig.esnext.json index 5f6cf572d5..199ea3b325 100644 --- a/experimental/packages/exporter-trace-otlp-proto/tsconfig.esnext.json +++ b/experimental/packages/exporter-trace-otlp-proto/tsconfig.esnext.json @@ -14,6 +14,21 @@ }, { "path": "../../../packages/opentelemetry-core" + }, + { + "path": "../../../packages/opentelemetry-resources" + }, + { + "path": "../../../packages/opentelemetry-sdk-trace-base" + }, + { + "path": "../otlp-exporter-base" + }, + { + "path": "../otlp-proto-exporter-base" + }, + { + "path": "../otlp-transformer" } ] } diff --git a/experimental/packages/otlp-proto-exporter-base/tsconfig.esm.json b/experimental/packages/otlp-proto-exporter-base/tsconfig.esm.json index ce8637cb82..d5c055a849 100644 --- a/experimental/packages/otlp-proto-exporter-base/tsconfig.esm.json +++ b/experimental/packages/otlp-proto-exporter-base/tsconfig.esm.json @@ -16,6 +16,9 @@ }, { "path": "../../../packages/opentelemetry-core" + }, + { + "path": "../otlp-exporter-base" } ] } diff --git a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json index 4a1cb2c30b..ae0686aa84 100644 --- a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json +++ b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json @@ -1,14 +1,12 @@ { "extends": "../../../tsconfig.base.esnext.json", "compilerOptions": { - "allowJs": true, - "outDir": "build/esnext", "rootDir": "src", + "outDir": "build/esnext", "tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" }, "include": [ - "src/**/*.ts", - "src/generated/*.js", + "src/**/*.ts" ], "references": [ { @@ -16,6 +14,9 @@ }, { "path": "../../../packages/opentelemetry-core" + }, + { + "path": "../otlp-exporter-base" } ] } diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 7677e6f5ce..64767039a6 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -24,6 +24,7 @@ import { SpanAttributes, SpanAttributeValue, SpanContext, + SpanDroppedAttributes, SpanKind, SpanStatus, SpanStatusCode, @@ -47,7 +48,7 @@ import { SemanticAttributes } from '@opentelemetry/semantic-conventions'; import { ExceptionEventName } from './enums'; import { ReadableSpan } from './export/ReadableSpan'; import { SpanProcessor } from './SpanProcessor'; -import { TimedEvent } from './TimedEvent'; +import { SpanDroppedEvents, TimedEvent } from './TimedEvent'; import { Tracer } from './Tracer'; import { SpanLimits } from './types'; @@ -66,6 +67,10 @@ export class Span implements APISpan, ReadableSpan { readonly startTime: HrTime; readonly resource: Resource; readonly instrumentationLibrary: InstrumentationLibrary; + + droppedAttributesCount: SpanDroppedAttributes; + droppedEventsCount: SpanDroppedEvents; + name: string; status: SpanStatus = { code: SpanStatusCode.UNSET, @@ -141,6 +146,10 @@ export class Span implements APISpan, ReadableSpan { this._spanLimits.attributeCountLimit! && !Object.prototype.hasOwnProperty.call(this.attributes, key) ) { + if (!this.droppedAttributesCount) { + this.droppedAttributesCount = {}; + } + this.droppedAttributesCount[key] = this._truncateToSize(value); return this; } this.attributes[key] = this._truncateToSize(value); @@ -167,14 +176,6 @@ export class Span implements APISpan, ReadableSpan { timeStamp?: TimeInput ): this { if (this._isSpanEnded()) return this; - if (this._spanLimits.eventCountLimit === 0) { - diag.warn('No events allowed.'); - return this; - } - if (this.events.length >= this._spanLimits.eventCountLimit!) { - diag.warn('Dropping extra events.'); - this.events.shift(); - } if (isTimeInput(attributesOrStartTime)) { if (!isTimeInput(timeStamp)) { @@ -184,6 +185,28 @@ export class Span implements APISpan, ReadableSpan { } const attributes = sanitizeAttributes(attributesOrStartTime); + + if (this._spanLimits.eventCountLimit === 0) { + diag.warn('No events allowed.'); + if (!this.droppedEventsCount) { + this.droppedEventsCount = {}; + } + this.droppedEventsCount[name] = { + name, + attributes, + time: this._getTime(timeStamp), + }; + return this; + } + if (this.events.length >= this._spanLimits.eventCountLimit!) { + diag.warn('Dropping extra events.'); + const dropped = this.events.shift(); + if (!this.droppedEventsCount) { + this.droppedEventsCount = {}; + } + this.droppedEventsCount[dropped!.name] = dropped!; + } + this.events.push({ name, attributes, diff --git a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts index 93cb9b47f3..3a29e5aaf9 100644 --- a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts +++ b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts @@ -27,3 +27,9 @@ export interface TimedEvent { /** The attributes of the event. */ attributes?: SpanAttributes; } + +export type SpanDroppedEvents = + | { + [name: string]: TimedEvent; + } + | undefined; diff --git a/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts b/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts index 8552134a56..cc7395ea87 100644 --- a/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts +++ b/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts @@ -21,10 +21,11 @@ import { HrTime, Link, SpanContext, + SpanDroppedAttributes, } from '@opentelemetry/api'; import { Resource } from '@opentelemetry/resources'; import { InstrumentationLibrary } from '@opentelemetry/core'; -import { TimedEvent } from '../TimedEvent'; +import { TimedEvent, SpanDroppedEvents } from '../TimedEvent'; export interface ReadableSpan { readonly name: string; @@ -41,4 +42,6 @@ export interface ReadableSpan { readonly ended: boolean; readonly resource: Resource; readonly instrumentationLibrary: InstrumentationLibrary; + readonly droppedAttributesCount: SpanDroppedAttributes; + readonly droppedEventsCount: SpanDroppedEvents; } diff --git a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts index dac8728138..7bcd108eeb 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts @@ -312,6 +312,17 @@ describe('Span', () => { assert.strictEqual(span.attributes['foo99'], 'bar99'); assert.strictEqual(span.attributes['foo149'], undefined); }); + + it('should store all dropped attributes in droppedAttributesCount', () => { + assert.ok(span.droppedAttributesCount); + assert.strictEqual( + Object.keys(span.droppedAttributesCount).length, + 50 + ); + assert.strictEqual(span.droppedAttributesCount['foo100'], 'bar100'); + assert.strictEqual(span.droppedAttributesCount['foo149'], 'bar149'); + assert.strictEqual(span.droppedAttributesCount['foo99'], undefined); + }); }); describe('when "attributeValueLengthLimit" option defined', () => { @@ -791,6 +802,38 @@ describe('Span', () => { assert.strictEqual(span.events[span.events.length - 1].name, 'sent149'); }); + it('should store dropped events in droppedEventsCount', () => { + const span = new Span( + tracer, + ROOT_CONTEXT, + name, + spanContext, + SpanKind.CLIENT + ); + const testAttributes = { + attribute_1: 'forty-two', + }; + for (let i = 0; i < 150; i++) { + if (i === 42) { + span.addEvent('sent42', testAttributes); + } else { + span.addEvent('sent' + i); + } + } + span.end(); + + assert.ok(span.droppedEventsCount); + assert.strictEqual(Object.keys(span.droppedEventsCount).length, 50); + assert.strictEqual(span.droppedEventsCount['sent0'].name, 'sent0'); + assert.strictEqual(span.droppedEventsCount['sent42'].name, 'sent42'); + assert.ok(span.droppedEventsCount['sent42'].attributes); + assert.strictEqual( + span.droppedEventsCount['sent42'].attributes['attribute_1'], + 'forty-two' + ); + assert.strictEqual(span.droppedEventsCount['sent50'], undefined); + }); + it('should add no event', () => { const tracer = new BasicTracerProvider({ spanLimits: { diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 3c3cb876dd..afd8742243 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -11,6 +11,9 @@ { "path": "experimental/packages/exporter-trace-otlp-http/tsconfig.esm.json" }, + { + "path": "experimental/packages/exporter-trace-otlp-proto/tsconfig.esm.json" + }, { "path": "experimental/packages/opentelemetry-browser-detector/tsconfig.esm.json" }, @@ -29,6 +32,9 @@ { "path": "experimental/packages/otlp-exporter-base/tsconfig.esm.json" }, + { + "path": "experimental/packages/otlp-proto-exporter-base/tsconfig.esm.json" + }, { "path": "experimental/packages/otlp-transformer/tsconfig.esm.json" }, diff --git a/tsconfig.esnext.json b/tsconfig.esnext.json index 63c1e27aa4..c826225f26 100644 --- a/tsconfig.esnext.json +++ b/tsconfig.esnext.json @@ -11,6 +11,9 @@ { "path": "experimental/packages/exporter-trace-otlp-http/tsconfig.esnext.json" }, + { + "path": "experimental/packages/exporter-trace-otlp-proto/tsconfig.esnext.json" + }, { "path": "experimental/packages/opentelemetry-browser-detector/tsconfig.esnext.json" }, @@ -29,6 +32,9 @@ { "path": "experimental/packages/otlp-exporter-base/tsconfig.esnext.json" }, + { + "path": "experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json" + }, { "path": "experimental/packages/otlp-transformer/tsconfig.esnext.json" }, From 55a26b815bd810a0ce559d68837c1afa9148bcbe Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Sat, 28 Jan 2023 00:32:10 +0100 Subject: [PATCH 02/20] feat(sdk-trace-base): sync with main --- CHANGELOG.md | 3 + experimental/CHANGELOG.md | 5 + .../exporter-trace-otlp-grpc/package.json | 2 +- .../exporter-trace-otlp-http/package.json | 2 +- .../exporter-trace-otlp-proto/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-sdk-node/src/sdk.ts | 8 +- .../otlp-grpc-exporter-base/package.json | 2 +- .../otlp-proto-exporter-base/package.json | 2 +- .../tsconfig.esnext.json | 4 +- .../packages/otlp-transformer/package.json | 2 +- .../otlp-transformer/src/trace/internal.ts | 2 + .../otlp-transformer/test/trace.test.ts | 6 +- package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-context-zone/package.json | 2 +- packages/opentelemetry-core/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-propagator-b3/package.json | 2 +- .../package.json | 2 +- packages/opentelemetry-resources/package.json | 2 +- .../opentelemetry-sdk-trace-base/package.json | 2 +- .../src/export/ConsoleSpanExporter.ts | 1 + .../common/export/ConsoleSpanExporter.test.ts | 3 + .../opentelemetry-sdk-trace-node/package.json | 2 +- .../opentelemetry-sdk-trace-web/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/sdk-metrics/package.json | 2 +- .../mapping/ExponentMapping.ts | 105 +++++++ .../mapping/LogarithmMapping.ts | 108 +++++++ .../mapping/getMapping.ts | 44 +++ .../exponential-histogram/mapping/ieee754.ts | 98 ++++++ .../exponential-histogram/mapping/types.ts | 27 ++ .../aggregator/exponential-histogram/util.ts | 40 +++ .../ExponentMapping.test.ts | 295 ++++++++++++++++++ .../LogarithmMapping.test.ts | 177 +++++++++++ .../exponential-histogram/getMapping.test.ts | 45 +++ .../exponential-histogram/helpers.ts | 33 ++ .../exponential-histogram/ieee754.test.ts | 58 ++++ 50 files changed, 1084 insertions(+), 40 deletions(-) create mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts create mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts create mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts create mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts create mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts create mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts create mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts create mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts create mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts create mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts create mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index cd6d6055d1..91960a3c5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,11 +11,14 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) +* feat(sdk-metrics): add exponential histogram mapping functions [#3504](https://github.com/open-telemetry/opentelemetry-js/pull/3504) @mwear + ### :bug: (Bug Fix) * fix: avoid grpc types dependency [#3551](https://github.com/open-telemetry/opentelemetry-js/pull/3551) @flarna * fix(otlp-proto-exporter-base): Match Accept header with Content-Type in the proto exporter [#3562](https://github.com/open-telemetry/opentelemetry-js/pull/3562) @scheler +* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna ### :books: (Refine Doc) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 9416823ca2..57eccab24b 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -10,6 +10,11 @@ All notable changes to experimental packages in this project will be documented ### :bug: (Bug Fix) +* fix: remove JSON syntax error and regenerate tsconfig files [#3566](https://github.com/open-telemetry/opentelemetry-js/pull/3566) @Flarna + * Fixes an error where the generated JS files were not included in the esnext package due to a failure of the tsconfig generation +* fix(sdk-node): register instrumentations early [#3502](https://github.com/open-telemetry/opentelemetry-js/pull/3502) @flarna +* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna + ### :books: (Refine Doc) ### :house: (Internal) diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index 46cc3ac3c9..d9e43e09a5 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/package.json +++ b/experimental/packages/exporter-trace-otlp-grpc/package.json @@ -58,7 +58,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/exporter-trace-otlp-http/package.json b/experimental/packages/exporter-trace-otlp-http/package.json index b1e0be41c7..f5720ba500 100644 --- a/experimental/packages/exporter-trace-otlp-http/package.json +++ b/experimental/packages/exporter-trace-otlp-http/package.json @@ -81,7 +81,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index 1bea38c34f..5404c19d07 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -71,7 +71,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json index 3211e4e20f..fc331adc3a 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json @@ -57,7 +57,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json index acbea110fe..b7a22b0580 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json @@ -81,7 +81,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index 742f0ef098..cfffa241ff 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -56,7 +56,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-prometheus/package.json b/experimental/packages/opentelemetry-exporter-prometheus/package.json index 020fb4233e..ebb460276d 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/package.json +++ b/experimental/packages/opentelemetry-exporter-prometheus/package.json @@ -51,7 +51,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index 99d90251d5..9dbaacd237 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/package.json +++ b/experimental/packages/opentelemetry-instrumentation-fetch/package.json @@ -74,7 +74,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index c66861143c..ecb0891d77 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/package.json +++ b/experimental/packages/opentelemetry-instrumentation-grpc/package.json @@ -61,7 +61,7 @@ "mocha": "10.0.0", "node-pre-gyp": "0.17.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "semver": "7.3.5", "sinon": "15.0.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation-http/package.json b/experimental/packages/opentelemetry-instrumentation-http/package.json index 0cc0414c89..da3da4412f 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/package.json +++ b/experimental/packages/opentelemetry-instrumentation-http/package.json @@ -63,7 +63,7 @@ "nyc": "15.1.0", "request": "2.88.2", "request-promise-native": "1.0.9", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "superagent": "8.0.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json index 04faf9af92..e9df68a706 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json @@ -74,7 +74,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index cdab1c1192..00d787d530 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -97,7 +97,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-sdk-node/src/sdk.ts b/experimental/packages/opentelemetry-sdk-node/src/sdk.ts index a3af268442..caad9b85e2 100644 --- a/experimental/packages/opentelemetry-sdk-node/src/sdk.ts +++ b/experimental/packages/opentelemetry-sdk-node/src/sdk.ts @@ -208,6 +208,10 @@ export class NodeSDK { return; } + registerInstrumentations({ + instrumentations: this._instrumentations, + }); + if (this._autoDetectResources) { await this.detectResources(); } @@ -255,10 +259,6 @@ export class NodeSDK { metrics.setGlobalMeterProvider(meterProvider); } - - registerInstrumentations({ - instrumentations: this._instrumentations, - }); } public shutdown(): Promise { diff --git a/experimental/packages/otlp-grpc-exporter-base/package.json b/experimental/packages/otlp-grpc-exporter-base/package.json index a75b6c9ca4..19c799ddb6 100644 --- a/experimental/packages/otlp-grpc-exporter-base/package.json +++ b/experimental/packages/otlp-grpc-exporter-base/package.json @@ -61,7 +61,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index c65efc5801..aeedeab199 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -67,7 +67,7 @@ "mocha": "10.0.0", "nyc": "15.1.0", "protobufjs-cli": "1.0.2", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json index ae0686aa84..ee9caf83f5 100644 --- a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json +++ b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json @@ -5,9 +5,7 @@ "outDir": "build/esnext", "tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" }, - "include": [ - "src/**/*.ts" - ], + "include": ["src/**/*.ts", "src/generated/*.js"], "references": [ { "path": "../../../api" diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index cd1641edcc..1667e88cca 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -69,7 +69,7 @@ "mkdirp": "2.1.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", "typescript": "4.4.4", diff --git a/experimental/packages/otlp-transformer/src/trace/internal.ts b/experimental/packages/otlp-transformer/src/trace/internal.ts index bebc41c4e8..e4d787349e 100644 --- a/experimental/packages/otlp-transformer/src/trace/internal.ts +++ b/experimental/packages/otlp-transformer/src/trace/internal.ts @@ -32,6 +32,7 @@ export function sdkSpanToOtlpSpan(span: ReadableSpan, useHex?: boolean): ISpan { traceId: useHex ? ctx.traceId : core.hexToBase64(ctx.traceId), spanId: useHex ? ctx.spanId : core.hexToBase64(ctx.spanId), parentSpanId: parentSpanId, + traceState: ctx.traceState?.serialize(), name: span.name, // Span kind is offset by 1 because the API does not define a value for unset kind: span.kind == null ? 0 : span.kind + 1, @@ -60,6 +61,7 @@ export function toOtlpLink(link: Link, useHex?: boolean): ILink { traceId: useHex ? link.context.traceId : core.hexToBase64(link.context.traceId), + traceState: link.context.traceState?.serialize(), droppedAttributesCount: 0, }; } diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index 6d0682d3d3..7308139004 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -60,6 +60,7 @@ function createExpectedSpanJson(useHex: boolean) { traceId: traceId, spanId: spanId, parentSpanId: parentSpanId, + traceState: 'span=bar', name: 'span-name', kind: ESpanKind.SPAN_KIND_CLIENT, links: [ @@ -67,6 +68,7 @@ function createExpectedSpanJson(useHex: boolean) { droppedAttributesCount: 0, spanId: linkSpanId, traceId: linkTraceId, + traceState: 'link=foo', attributes: [ { key: 'link-attribute', @@ -134,7 +136,7 @@ describe('Trace', () => { traceFlags: 1, traceId: '00000000000000000000000000000001', isRemote: false, - traceState: new TraceState(''), + traceState: new TraceState('span=bar'), }), parentSpanId: '0000000000000001', attributes: { 'string-attribute': 'some attribute value' }, @@ -163,7 +165,7 @@ describe('Trace', () => { traceId: '00000000000000000000000000000002', traceFlags: 1, isRemote: false, - traceState: new TraceState(''), + traceState: new TraceState('link=foo'), }, attributes: { 'link-attribute': 'string value', diff --git a/package.json b/package.json index 0bec743a3b..df63bd8fcd 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "eslint-plugin-header": "3.1.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "4.2.1", - "gh-pages": "4.0.0", + "gh-pages": "5.0.0", "lerna": "6.0.3", "lerna-changelog": "2.2.0", "linkinator": "4.0.3", diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index 99fbbd1984..8994955e2c 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -50,7 +50,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "ts-mocha": "10.0.0", "typescript": "4.4.4" }, diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index 842beda518..c67006dd05 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -71,7 +71,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-context-zone/package.json b/packages/opentelemetry-context-zone/package.json index 5f5cd308af..097b7c81e3 100644 --- a/packages/opentelemetry-context-zone/package.json +++ b/packages/opentelemetry-context-zone/package.json @@ -64,7 +64,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index 9c65520b56..e8bc5a0917 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -80,7 +80,7 @@ "lerna": "6.0.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index ae60076423..f347f2199f 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -53,7 +53,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index 558606dad3..3a8ee9d9a6 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -78,7 +78,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index a4800b8f8b..b222af6472 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -64,7 +64,7 @@ "istanbul-instrumenter-loader": "3.0.1", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index e47bb04e3b..030a14d54c 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -69,7 +69,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index c6177a592d..6f9dc03473 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -77,7 +77,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4", diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index c7ffaa8f30..c3e7b93239 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -80,7 +80,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts b/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts index 8f1b8e1978..77b0965598 100644 --- a/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts +++ b/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts @@ -57,6 +57,7 @@ export class ConsoleSpanExporter implements SpanExporter { return { traceId: span.spanContext().traceId, parentId: span.parentSpanId, + traceState: span.spanContext().traceState?.serialize(), name: span.name, id: span.spanContext().spanId, kind: span.kind, diff --git a/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts index 633cac3ec7..72642927a3 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts @@ -15,6 +15,7 @@ */ import { SpanContext, TraceFlags } from '@opentelemetry/api'; +import { TraceState } from '@opentelemetry/core'; import * as assert from 'assert'; import * as sinon from 'sinon'; import { @@ -63,6 +64,7 @@ describe('ConsoleSpanExporter', () => { const span = tracer.startSpan('foo', { links: [{ context, attributes: { anAttr: 'aValue' } }], }); + span.spanContext().traceState = new TraceState('trace=state'); span.addEvent('foobar'); span.end(); @@ -85,6 +87,7 @@ describe('ConsoleSpanExporter', () => { 'status', 'timestamp', 'traceId', + 'traceState', ].join(','); assert.ok(firstSpan.name === 'foo'); diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index f49cf4c553..108d8c975b 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -55,7 +55,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index 4a456d43a6..b6c64e8974 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -78,7 +78,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 8d091a5ce5..90faab299d 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -56,7 +56,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index cd3beb16ab..7062f307ed 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -51,7 +51,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "ts-mocha": "10.0.0", "typescript": "4.4.4" }, diff --git a/packages/sdk-metrics/package.json b/packages/sdk-metrics/package.json index 2112fa5514..3a4f653ac7 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -68,7 +68,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "3.0.2", + "rimraf": "4.1.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts new file mode 100644 index 0000000000..49662b44f4 --- /dev/null +++ b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts @@ -0,0 +1,105 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import * as ieee754 from './ieee754'; +import * as util from '../util'; +import { Mapping, MappingError } from './types'; + +/** + * ExponentMapping implements exponential mapping functions for + * scales <=0. For scales > 0 LogarithmMapping should be used. + */ +export class ExponentMapping implements Mapping { + private readonly _shift: number; + + constructor(scale: number) { + this._shift = -scale; + } + + /** + * Maps positive floating point values to indexes corresponding to scale + * @param value + * @returns {number} index for provided value at the current scale + */ + mapToIndex(value: number): number { + if (value < ieee754.MIN_VALUE) { + return this._minNormalLowerBoundaryIndex(); + } + + const exp = ieee754.getNormalBase2(value); + + // In case the value is an exact power of two, compute a + // correction of -1. Note, we are using a custom _rightShift + // to accommodate a 52-bit argument, which the native bitwise + // operators do not support + const correction = this._rightShift( + ieee754.getSignificand(value) - 1, + ieee754.SIGNIFICAND_WIDTH + ); + + return (exp + correction) >> this._shift; + } + + /** + * Returns the lower bucket boundary for the given index for scale + * + * @param index + * @returns {number} + */ + lowerBoundary(index: number): number { + const minIndex = this._minNormalLowerBoundaryIndex(); + if (index < minIndex) { + throw new MappingError( + `underflow: ${index} is < minimum lower boundary: ${minIndex}` + ); + } + const maxIndex = this._maxNormalLowerBoundaryIndex(); + if (index > maxIndex) { + throw new MappingError( + `overflow: ${index} is > maximum lower boundary: ${maxIndex}` + ); + } + + return util.ldexp(1, index << this._shift); + } + + /** + * The scale used by this mapping + * @returns {number} + */ + scale(): number { + if (this._shift === 0) { + return 0; + } + return -this._shift; + } + + private _minNormalLowerBoundaryIndex(): number { + let index = ieee754.MIN_NORMAL_EXPONENT >> this._shift; + if (this._shift < 2) { + index--; + } + + return index; + } + + private _maxNormalLowerBoundaryIndex(): number { + return ieee754.MAX_NORMAL_EXPONENT >> this._shift; + } + + private _rightShift(value: number, shift: number): number { + return Math.floor(value * Math.pow(2, -shift)); + } +} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts new file mode 100644 index 0000000000..974d9ff84e --- /dev/null +++ b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts @@ -0,0 +1,108 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import * as ieee754 from './ieee754'; +import * as util from '../util'; +import { Mapping, MappingError } from './types'; + +/** + * LogarithmMapping implements exponential mapping functions for scale > 0. + * For scales <= 0 the exponent mapping should be used. + */ +export class LogarithmMapping implements Mapping { + private readonly _scale: number; + private readonly _scaleFactor: number; + private readonly _inverseFactor: number; + + constructor(scale: number) { + this._scale = scale; + this._scaleFactor = util.ldexp(Math.LOG2E, scale); + this._inverseFactor = util.ldexp(Math.LN2, -scale); + } + + /** + * Maps positive floating point values to indexes corresponding to scale + * @param value + * @returns {number} index for provided value at the current scale + */ + mapToIndex(value: number): number { + if (value <= ieee754.MIN_VALUE) { + return this._minNormalLowerBoundaryIndex() - 1; + } + + // exact power of two special case + if (ieee754.getSignificand(value) === 0) { + const exp = ieee754.getNormalBase2(value); + return (exp << this._scale) - 1; + } + + // non-power of two cases. use Math.floor to round the scaled logarithm + const index = Math.floor(Math.log(value) * this._scaleFactor); + const maxIndex = this._maxNormalLowerBoundaryIndex(); + if (index >= maxIndex) { + return maxIndex; + } + + return index; + } + + /** + * Returns the lower bucket boundary for the given index for scale + * + * @param index + * @returns {number} + */ + lowerBoundary(index: number): number { + const maxIndex = this._maxNormalLowerBoundaryIndex(); + if (index >= maxIndex) { + if (index === maxIndex) { + return 2 * Math.exp((index - (1 << this._scale)) / this._scaleFactor); + } + throw new MappingError( + `overflow: ${index} is > maximum lower boundary: ${maxIndex}` + ); + } + + const minIndex = this._minNormalLowerBoundaryIndex(); + if (index <= minIndex) { + if (index === minIndex) { + return ieee754.MIN_VALUE; + } else if (index === minIndex - 1) { + return Math.exp((index + (1 << this._scale)) / this._scaleFactor) / 2; + } + throw new MappingError( + `overflow: ${index} is < minimum lower boundary: ${minIndex}` + ); + } + + return Math.exp(index * this._inverseFactor); + } + + /** + * The scale used by this mapping + * @returns {number} + */ + scale(): number { + return this._scale; + } + + private _minNormalLowerBoundaryIndex(): number { + return ieee754.MIN_NORMAL_EXPONENT << this._scale; + } + + private _maxNormalLowerBoundaryIndex(): number { + return ((ieee754.MAX_NORMAL_EXPONENT + 1) << this._scale) - 1; + } +} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts new file mode 100644 index 0000000000..ce8949b325 --- /dev/null +++ b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts @@ -0,0 +1,44 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ExponentMapping } from './ExponentMapping'; +import { LogarithmMapping } from './LogarithmMapping'; +import { MappingError, Mapping } from './types'; + +const MIN_SCALE = -10; +const MAX_SCALE = 20; +const PREBUILT_MAPPINGS = Array.from({ length: 31 }, (_, i) => { + if (i > 10) { + return new LogarithmMapping(i - 10); + } + return new ExponentMapping(i - 10); +}); + +/** + * getMapping returns an appropriate mapping for the given scale. For scales -10 + * to 0 the underlying type will be ExponentMapping. For scales 1 to 20 the + * underlying type will be LogarithmMapping. + * @param scale a number in the range [-10, 20] + * @returns {Mapping} + */ +export function getMapping(scale: number): Mapping { + if (scale > MAX_SCALE || scale < MIN_SCALE) { + throw new MappingError( + `expected scale >= ${MIN_SCALE} && <= ${MAX_SCALE}, got: ${scale}` + ); + } + // mappings are offset by 10. scale -10 is at position 0 and scale 20 is at 30 + return PREBUILT_MAPPINGS[scale + 10]; +} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts new file mode 100644 index 0000000000..0dc4f01bc3 --- /dev/null +++ b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts @@ -0,0 +1,98 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * The functions and constants in this file allow us to interact + * with the internal representation of an IEEE 64-bit floating point + * number. We need to work with all 64-bits, thus, care needs to be + * taken when working with Javascript's bitwise operators (<<, >>, &, + * |, etc) as they truncate operands to 32-bits. In order to work around + * this we work with the 64-bits as two 32-bit halves, perform bitwise + * operations on them independently, and combine the results (if needed). + */ + +export const SIGNIFICAND_WIDTH = 52; + +/** + * EXPONENT_MASK is set to 1 for the hi 32-bits of an IEEE 754 + * floating point exponent: 0x7ff00000. + */ +const EXPONENT_MASK = 0x7ff00000; + +/** + * SIGNIFICAND_MASK is the mask for the significand portion of the hi 32-bits + * of an IEEE 754 double-precision floating-point value: 0xfffff + */ +const SIGNIFICAND_MASK = 0xfffff; + +/** + * EXPONENT_BIAS is the exponent bias specified for encoding + * the IEEE 754 double-precision floating point exponent: 1023 + */ +const EXPONENT_BIAS = 1023; + +/** + * MIN_NORMAL_EXPONENT is the minimum exponent of a normalized + * floating point: -1022. + */ +export const MIN_NORMAL_EXPONENT = -EXPONENT_BIAS + 1; + +/** + * MAX_NORMAL_EXPONENT is the maximum exponent of a normalized + * floating point: 1023. + */ +export const MAX_NORMAL_EXPONENT = EXPONENT_BIAS; + +/** + * MIN_VALUE is the smallest normal number + */ +export const MIN_VALUE = Math.pow(2, -1022); + +/** + * getNormalBase2 extracts the normalized base-2 fractional exponent. + * This returns k for the equation f x 2**k where f is + * in the range [1, 2). Note that this function is not called for + * subnormal numbers. + * @param {number} value - the value to determine normalized base-2 fractional + * exponent for + * @returns {number} the normalized base-2 exponent + */ +export function getNormalBase2(value: number): number { + const dv = new DataView(new ArrayBuffer(8)); + dv.setFloat64(0, value); + // access the raw 64-bit float as 32-bit uints + const hiBits = dv.getUint32(0); + const expBits = (hiBits & EXPONENT_MASK) >> 20; + return expBits - EXPONENT_BIAS; +} + +/** + * GetSignificand returns the 52 bit (unsigned) significand as a signed value. + * @param {number} value - the floating point number to extract the significand from + * @returns {number} The 52-bit significand + */ +export function getSignificand(value: number): number { + const dv = new DataView(new ArrayBuffer(8)); + dv.setFloat64(0, value); + // access the raw 64-bit float as two 32-bit uints + const hiBits = dv.getUint32(0); + const loBits = dv.getUint32(4); + // extract the significand bits from the hi bits and left shift 32 places note: + // we can't use the native << operator as it will truncate the result to 32-bits + const significandHiBits = (hiBits & SIGNIFICAND_MASK) * Math.pow(2, 32); + // combine the hi and lo bits and return + return significandHiBits + loBits; +} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts new file mode 100644 index 0000000000..afe6ed9118 --- /dev/null +++ b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts @@ -0,0 +1,27 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export class MappingError extends Error {} + +/** + * The mapping interface is used by the exponential histogram to determine + * where to bucket values. The interface is implemented by ExponentMapping, + * used for scales [-10, 0] and LogarithmMapping, used for scales [1, 20]. + */ +export interface Mapping { + mapToIndex(value: number): number; + lowerBoundary(index: number): number; + scale(): number; +} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts new file mode 100644 index 0000000000..356bbab260 --- /dev/null +++ b/packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts @@ -0,0 +1,40 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Note: other languages provide this as a built in function. This is + * a naive, but functionally correct implementation. This is used sparingly, + * when creating a new mapping in a running application. + * + * ldexp returns frac × 2**exp. With the following special cases: + * ldexp(±0, exp) = ±0 + * ldexp(±Inf, exp) = ±Inf + * ldexp(NaN, exp) = NaN + * @param frac + * @param exp + * @returns {number} + */ +export function ldexp(frac: number, exp: number): number { + if ( + frac === 0 || + frac === Number.POSITIVE_INFINITY || + frac === Number.NEGATIVE_INFINITY || + Number.isNaN(frac) + ) { + return frac; + } + return frac * Math.pow(2, exp); +} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts new file mode 100644 index 0000000000..8a9ed82157 --- /dev/null +++ b/packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts @@ -0,0 +1,295 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ExponentMapping } from '../../../src/aggregator/exponential-histogram/mapping/ExponentMapping'; +import * as ieee754 from '../../../src/aggregator/exponential-histogram/mapping/ieee754'; +import * as assert from 'assert'; + +const MIN_SCALE = -10; +const MAX_SCALE = 0; + +describe('ExponentMapping', () => { + it('maps expected values for scale 0', () => { + const mapping = new ExponentMapping(0); + assert.strictEqual(mapping.scale(), 0); + + const expectedMappings = [ + // near +inf + [Number.MAX_VALUE, ieee754.MAX_NORMAL_EXPONENT], + [Number.MAX_VALUE, 1023], + [Math.pow(2, 1023), 1022], + [1.0625 * Math.pow(2, 1023), 1023], + [Math.pow(2, 1022), 1021], + [1.0625 * Math.pow(2, 1023), 1023], + + // near 0 + [Math.pow(2, -1022), -1023], + [1.0625 * Math.pow(2, -1022), -1022], + [Math.pow(2, -1021), -1022], + [1.0625 * Math.pow(2, -1021), -1021], + + [Math.pow(2, -1022), ieee754.MIN_NORMAL_EXPONENT - 1], + [Math.pow(2, -1021), ieee754.MIN_NORMAL_EXPONENT], + [Number.MIN_VALUE, ieee754.MIN_NORMAL_EXPONENT - 1], + + // near 1 + [4, 1], + [3, 1], + [2, 0], + [1.5, 0], + [1, -1], + [0.75, -1], + [0.51, -1], + [0.5, -2], + [0.26, -2], + [0.25, -3], + [0.126, -3], + [0.125, -4], + ]; + + expectedMappings.forEach(([value, expected]) => { + const result = mapping.mapToIndex(value); + assert.strictEqual( + result, + expected, + `expected: ${value} to map to: ${expected}, got: ${result}` + ); + }); + }); + + it('maps expected values for min scale', () => { + const mapping = new ExponentMapping(MIN_SCALE); + assert.strictEqual(mapping.scale(), MIN_SCALE); + + const expectedMappings = [ + [1.000001, 0], + [1, -1], + [Number.MAX_VALUE / 2, 0], + [Number.MAX_VALUE, 0], + [Number.MIN_VALUE, -1], + [0.5, -1], + ]; + + expectedMappings.forEach(([value, expected]) => { + const result = mapping.mapToIndex(value); + assert.strictEqual( + result, + expected, + `expected: ${value} to map to: ${expected}, got: ${result}` + ); + }); + }); + + it('maps expected values for scale -1', () => { + const mapping = new ExponentMapping(-1); + assert.strictEqual(mapping.scale(), -1); + + const expectedMappings = [ + [17, 2], + [16, 1], + [15, 1], + [9, 1], + [8, 1], + [5, 1], + [4, 0], + [3, 0], + [2, 0], + [1.5, 0], + [1, -1], + [0.75, -1], + [0.5, -1], + [0.25, -2], + [0.2, -2], + [0.13, -2], + [0.125, -2], + [0.1, -2], + [0.0625, -3], + [0.06, -3], + ]; + + expectedMappings.forEach(([value, expected]) => { + const result = mapping.mapToIndex(value); + assert.strictEqual( + result, + expected, + `expected: ${value} to map to: ${expected}, got: ${result}` + ); + }); + }); + + it('maps expected values for scale -4', () => { + const mapping = new ExponentMapping(-4); + assert.strictEqual(mapping.scale(), -4); + + const expectedMappings = [ + [0x1, -1], + [0x10, 0], + [0x100, 0], + [0x1000, 0], + [0x10000, 0], // Base == 2**16 + [0x100000, 1], + [0x1000000, 1], + [0x10000000, 1], + [0x100000000, 1], // == 2**32 + [0x1000000000, 2], + [0x10000000000, 2], + [0x100000000000, 2], + [0x1000000000000, 2], // 2**48 + [0x10000000000000, 3], + [0x1000000000000000, 3], + [0x10000000000000000, 3], // 2**64 + [0x100000000000000000, 4], + [0x1000000000000000000, 4], + [0x10000000000000000000, 4], + [0x100000000000000000000, 4], // 2**80 + [0x1000000000000000000000, 5], + + [1 / 0x1, -1], + [1 / 0x10, -1], + [1 / 0x100, -1], + [1 / 0x1000, -1], + [1 / 0x10000, -2], // 2**-16 + [1 / 0x100000, -2], + [1 / 0x1000000, -2], + [1 / 0x10000000, -2], + [1 / 0x100000000, -3], // 2**-32 + [1 / 0x1000000000, -3], + [1 / 0x10000000000, -3], + [1 / 0x100000000000, -3], + [1 / 0x1000000000000, -4], // 2**-48 + [1 / 0x10000000000000, -4], + [1 / 0x100000000000000, -4], + [1 / 0x1000000000000000, -4], + [1 / 0x10000000000000000, -5], // 2**-64 + [1 / 0x100000000000000000, -5], + + // Max values + // below is equivalent to [0x1.FFFFFFFFFFFFFp1023, 63], + [ + Array.from({ length: 13 }, (_, x) => 0xf * Math.pow(16, -x - 1)).reduce( + (x, y) => x + y, + 1 + ) * Math.pow(2, 1023), + 63, + ], + [Math.pow(2, 1023), 63], + [Math.pow(2, 1019), 63], + [Math.pow(2, 1009), 63], + [Math.pow(2, 1008), 62], + [Math.pow(2, 1007), 62], + [Math.pow(2, 1000), 62], + [Math.pow(2, 993), 62], + [Math.pow(2, 992), 61], + [Math.pow(2, 991), 61], + + // Min and subnormal values + [Math.pow(2, -1074), -64], + [Math.pow(2, -1073), -64], + [Math.pow(2, -1072), -64], + [Math.pow(2, -1057), -64], + [Math.pow(2, -1056), -64], + [Math.pow(2, -1041), -64], + [Math.pow(2, -1040), -64], + [Math.pow(2, -1025), -64], + [Math.pow(2, -1024), -64], + [Math.pow(2, -1023), -64], + [Math.pow(2, -1022), -64], + [Math.pow(2, -1009), -64], + [Math.pow(2, -1008), -64], + [Math.pow(2, -1007), -63], + [Math.pow(2, -993), -63], + [Math.pow(2, -992), -63], + [Math.pow(2, -991), -62], + [Math.pow(2, -977), -62], + [Math.pow(2, -976), -62], + [Math.pow(2, -975), -61], + ]; + + expectedMappings.forEach(([value, expected]) => { + const result = mapping.mapToIndex(value); + assert.strictEqual( + result, + expected, + `expected: ${value} to map to: ${expected}, got: ${result}` + ); + }); + }); + + it('handles max index for all scales', () => { + for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { + const mapping = new ExponentMapping(scale); + const index = mapping.mapToIndex(Number.MAX_VALUE); + const maxIndex = ((ieee754.MAX_NORMAL_EXPONENT + 1) >> -scale) - 1; + assert.strictEqual( + index, + maxIndex, + `expected index: ${index} and ${maxIndex} to be equal for scale: ${scale}` + ); + + const boundary = mapping.lowerBoundary(index); + assert.strictEqual(boundary, roundedBoundary(scale, maxIndex)); + + assert.throws(() => { + // one larger will overflow + mapping.lowerBoundary(index + 1); + }); + } + }); + + it('handles min index for all scales', () => { + for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { + const mapping = new ExponentMapping(scale); + const minIndex = mapping.mapToIndex(ieee754.MIN_VALUE); + let expectedMinIndex = ieee754.MIN_NORMAL_EXPONENT >> -scale; + if (ieee754.MIN_NORMAL_EXPONENT % (1 << -scale) === 0) { + expectedMinIndex--; + } + assert.strictEqual( + minIndex, + expectedMinIndex, + `expected expectedMinIndex: ${expectedMinIndex} and ${minIndex} to be equal for scale: ${scale}` + ); + + const boundary = mapping.lowerBoundary(minIndex); + const expectedBoundary = roundedBoundary(scale, expectedMinIndex); + assert.strictEqual(boundary, expectedBoundary); + + //one smaller will underflow + assert.throws(() => { + mapping.lowerBoundary(minIndex - 1); + }); + + // subnormals map to the min index + [ + ieee754.MIN_VALUE / 2, + ieee754.MIN_VALUE / 3, + Math.pow(2, -1050), + Math.pow(2, -1073), + 1.0625 * Math.pow(2, -1073), + Math.pow(2, -1074), + ].forEach(value => { + assert.strictEqual(mapping.mapToIndex(value), expectedMinIndex); + }); + } + }); +}); + +function roundedBoundary(scale: number, index: number): number { + let result = Math.pow(2, index); + for (let i = scale; i < 0; i++) { + result = result * result; + } + return result; +} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts new file mode 100644 index 0000000000..d6d04bf814 --- /dev/null +++ b/packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts @@ -0,0 +1,177 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { LogarithmMapping } from '../../../src/aggregator/exponential-histogram/mapping/LogarithmMapping'; +import * as ieee754 from '../../../src/aggregator/exponential-histogram/mapping/ieee754'; +import * as assert from 'assert'; +import { assertInEpsilon } from './helpers'; + +const MIN_SCALE = 1; +const MAX_SCALE = 20; + +describe('LogarithmMapping', () => { + it('maps values for scale 1', () => { + const mapping = new LogarithmMapping(1); + assert.strictEqual(mapping.scale(), 1); + + const expectedMappings = [ + [15, 7], + [9, 6], + [7, 5], + [5, 4], + [3, 3], + [2.5, 2], + [1.5, 1], + [1.2, 0], + [1, -1], + [0.75, -1], + [0.55, -2], + [0.45, -3], + ]; + + expectedMappings.forEach(([value, expected]) => { + const result = mapping.mapToIndex(value); + assert.strictEqual( + result, + expected, + `expected: ${value} to map to: ${expected}, got: ${result}` + ); + }); + }); + + it('computes boundary', () => { + [1, 2, 3, 4, 10, 15].forEach(scale => { + const mapping = new LogarithmMapping(scale); + [-100, -10, -1, 0, 1, 10, 100].forEach(index => { + const boundary = mapping.lowerBoundary(index); + const mappedIndex = mapping.mapToIndex(boundary); + + assert.ok(index - 1 <= mappedIndex); + assert.ok(index >= mappedIndex); + assertInEpsilon(roundedBoundary(scale, index), boundary, 1e-9); + }); + }); + }); + + it('handles max index for each scale', () => { + for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { + const mapping = new LogarithmMapping(scale); + const index = mapping.mapToIndex(Number.MAX_VALUE); + + // the max index is one less than the first index that + // overflows Number.MAX_VALUE + const maxIndex = ((ieee754.MAX_NORMAL_EXPONENT + 1) << scale) - 1; + + assert.strictEqual(index, maxIndex); + + const boundary = mapping.lowerBoundary(index); + const base = mapping.lowerBoundary(1); + + assert.ok( + boundary < Number.MAX_VALUE, + `expected boundary: ${boundary} to be < max value: ${Number.MAX_VALUE}` + ); + + assertInEpsilon( + base - 1, + (Number.MAX_VALUE - boundary) / boundary, + 10e-6 + ); + } + }); + + it('handles min index for each scale', () => { + for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { + const mapping = new LogarithmMapping(scale); + const minIndex = mapping.mapToIndex(ieee754.MIN_VALUE); + + const expectedMinIndex = (ieee754.MIN_NORMAL_EXPONENT << scale) - 1; + assert.strictEqual(minIndex, expectedMinIndex); + + const expectedBoundary = roundedBoundary(scale, expectedMinIndex); + assert.ok(expectedBoundary < ieee754.MIN_VALUE); + + const expectedUpperBoundary = roundedBoundary( + scale, + expectedMinIndex + 1 + ); + assert.strictEqual(ieee754.MIN_VALUE, expectedUpperBoundary); + + const mappedLowerBoundary = mapping.lowerBoundary(minIndex + 1); + assertInEpsilon(ieee754.MIN_VALUE, mappedLowerBoundary, 1e-6); + + // subnormals map to the min index + [ + ieee754.MIN_VALUE / 2, + ieee754.MIN_VALUE / 3, + ieee754.MIN_VALUE / 100, + Math.pow(2, -1050), + Math.pow(2, -1073), + 1.0625 * Math.pow(2, -1073), + Math.pow(2, -1074), + ].forEach(value => { + const result = mapping.mapToIndex(value); + assert.strictEqual(result, expectedMinIndex); + }); + + const mappedMinLower = mapping.lowerBoundary(minIndex); + + assertInEpsilon(expectedBoundary, mappedMinLower, 1e-6); + + // one smaller will underflow + assert.throws(() => { + mapping.lowerBoundary(minIndex - 1); + }); + } + }); + + it('maps max float to max index for each scale', () => { + for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { + const mapping = new LogarithmMapping(scale); + const index = mapping.mapToIndex(Number.MAX_VALUE); + const maxIndex = ((ieee754.MAX_NORMAL_EXPONENT + 1) << scale) - 1; + assert.strictEqual(maxIndex, index); + + const boundary = mapping.lowerBoundary(index); + const base = mapping.lowerBoundary(1); + + assert.ok(boundary < Number.MAX_VALUE); + assertInEpsilon(base - 1, (Number.MAX_VALUE - boundary) / boundary, 1e-6); + + //one larger will overflow + assert.throws(() => { + mapping.lowerBoundary(index + 1); + }); + } + }); +}); + +function roundedBoundary(scale: number, index: number): number { + while (scale > 0) { + if (index < -1022) { + index /= 2; + scale--; + } else { + break; + } + } + + let result = Math.pow(2, index); + for (let i = scale; i > 0; i--) { + result = Math.sqrt(result); + } + + return result; +} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts new file mode 100644 index 0000000000..4d7326be54 --- /dev/null +++ b/packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts @@ -0,0 +1,45 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ExponentMapping } from '../../../src/aggregator/exponential-histogram/mapping/ExponentMapping'; +import { LogarithmMapping } from '../../../src/aggregator/exponential-histogram/mapping/LogarithmMapping'; +import { getMapping } from '../../../src/aggregator/exponential-histogram/mapping/getMapping'; +import * as assert from 'assert'; + +const MIN_SCALE = -10; +const MAX_SCALE = 20; + +describe('getMapping', () => { + it('returns correct mapping for all scales', () => { + for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { + const mapping = getMapping(scale); + if (scale > 0) { + assert.ok(mapping instanceof LogarithmMapping); + } else { + assert.ok(mapping instanceof ExponentMapping); + } + assert.strictEqual(mapping.scale(), scale); + } + }); + + it('throws for invalid scales', () => { + assert.throws(() => { + getMapping(MIN_SCALE - 1); + }); + assert.throws(() => { + getMapping(MAX_SCALE + 1); + }); + }); +}); diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts new file mode 100644 index 0000000000..a2241fbf66 --- /dev/null +++ b/packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts @@ -0,0 +1,33 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import * as assert from 'assert'; + +export function assertInEpsilon( + actual: number, + expected: number, + epsilon: number +) { + assert.ok(!Number.isNaN(actual), 'unexpected NaN for actual argument'); + assert.ok(!Number.isNaN(expected), 'unexpected NaN for expected argument'); + assert.ok(actual !== 0, 'unexpected 0 for actual argument'); + + const relErr = Math.abs(actual - expected) / Math.abs(actual); + + assert.ok( + relErr < epsilon, + `expected relative error: ${relErr} to be < ${epsilon}` + ); +} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts new file mode 100644 index 0000000000..3db0da3268 --- /dev/null +++ b/packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts @@ -0,0 +1,58 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import * as ieee754 from '../../../src/aggregator/exponential-histogram/mapping/ieee754'; +import * as assert from 'assert'; + +describe('ieee754 helpers', () => { + describe('MIN_NORMAL_EXPONENT', () => { + it('has expected value', () => { + assert.strictEqual(ieee754.MIN_NORMAL_EXPONENT, -1022); + }); + }); + + describe('MAX_NORMAL_EXPONENT', () => { + it('has expected value', () => { + assert.strictEqual(ieee754.MAX_NORMAL_EXPONENT, 1023); + }); + }); + + describe('getNormalBase2', () => { + it('extracts exponent', () => { + assert.strictEqual( + ieee754.getNormalBase2(Math.pow(2, 1023)), + ieee754.MAX_NORMAL_EXPONENT + ); + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, 1022)), 1022); + assert.strictEqual(ieee754.getNormalBase2(18.9), 4); + assert.strictEqual(ieee754.getNormalBase2(1), 0); + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1021)), -1021); + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1022)), -1022); + + // Subnormals below + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1023)), -1023); + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1024)), -1023); + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1025)), -1023); + assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1074)), -1023); + }); + }); + + describe('getSignificand', () => { + it('returns expected values', () => { + // The number 1.5 has a single most-significant bit set, i.e., 1<<51. + assert.strictEqual(ieee754.getSignificand(1.5), Math.pow(2, 51)); + }); + }); +}); From b3e030716b383e021364b779dcdcf4bb016dd151 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Sat, 28 Jan 2023 00:37:45 +0100 Subject: [PATCH 03/20] feat(sdk-trace-base): [revert] sync with main --- CHANGELOG.md | 3 - experimental/CHANGELOG.md | 5 - .../exporter-trace-otlp-grpc/package.json | 2 +- .../exporter-trace-otlp-http/package.json | 2 +- .../exporter-trace-otlp-proto/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-sdk-node/src/sdk.ts | 8 +- .../otlp-grpc-exporter-base/package.json | 2 +- .../otlp-proto-exporter-base/package.json | 2 +- .../tsconfig.esnext.json | 4 +- .../packages/otlp-transformer/package.json | 2 +- .../otlp-transformer/src/trace/internal.ts | 2 - .../otlp-transformer/test/trace.test.ts | 6 +- package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-context-zone/package.json | 2 +- packages/opentelemetry-core/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-propagator-b3/package.json | 2 +- .../package.json | 2 +- packages/opentelemetry-resources/package.json | 2 +- .../opentelemetry-sdk-trace-base/package.json | 2 +- .../src/export/ConsoleSpanExporter.ts | 1 - .../common/export/ConsoleSpanExporter.test.ts | 3 - .../opentelemetry-sdk-trace-node/package.json | 2 +- .../opentelemetry-sdk-trace-web/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/sdk-metrics/package.json | 2 +- .../mapping/ExponentMapping.ts | 105 ------- .../mapping/LogarithmMapping.ts | 108 ------- .../mapping/getMapping.ts | 44 --- .../exponential-histogram/mapping/ieee754.ts | 98 ------ .../exponential-histogram/mapping/types.ts | 27 -- .../aggregator/exponential-histogram/util.ts | 40 --- .../ExponentMapping.test.ts | 295 ------------------ .../LogarithmMapping.test.ts | 177 ----------- .../exponential-histogram/getMapping.test.ts | 45 --- .../exponential-histogram/helpers.ts | 33 -- .../exponential-histogram/ieee754.test.ts | 58 ---- 50 files changed, 40 insertions(+), 1084 deletions(-) delete mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts delete mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts delete mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts delete mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts delete mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts delete mode 100644 packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts delete mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts delete mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts delete mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts delete mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts delete mode 100644 packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 91960a3c5b..cd6d6055d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,14 +11,11 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) -* feat(sdk-metrics): add exponential histogram mapping functions [#3504](https://github.com/open-telemetry/opentelemetry-js/pull/3504) @mwear - ### :bug: (Bug Fix) * fix: avoid grpc types dependency [#3551](https://github.com/open-telemetry/opentelemetry-js/pull/3551) @flarna * fix(otlp-proto-exporter-base): Match Accept header with Content-Type in the proto exporter [#3562](https://github.com/open-telemetry/opentelemetry-js/pull/3562) @scheler -* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna ### :books: (Refine Doc) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 57eccab24b..9416823ca2 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -10,11 +10,6 @@ All notable changes to experimental packages in this project will be documented ### :bug: (Bug Fix) -* fix: remove JSON syntax error and regenerate tsconfig files [#3566](https://github.com/open-telemetry/opentelemetry-js/pull/3566) @Flarna - * Fixes an error where the generated JS files were not included in the esnext package due to a failure of the tsconfig generation -* fix(sdk-node): register instrumentations early [#3502](https://github.com/open-telemetry/opentelemetry-js/pull/3502) @flarna -* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna - ### :books: (Refine Doc) ### :house: (Internal) diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index d9e43e09a5..46cc3ac3c9 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/package.json +++ b/experimental/packages/exporter-trace-otlp-grpc/package.json @@ -58,7 +58,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/exporter-trace-otlp-http/package.json b/experimental/packages/exporter-trace-otlp-http/package.json index f5720ba500..b1e0be41c7 100644 --- a/experimental/packages/exporter-trace-otlp-http/package.json +++ b/experimental/packages/exporter-trace-otlp-http/package.json @@ -81,7 +81,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index 5404c19d07..1bea38c34f 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -71,7 +71,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json index fc331adc3a..3211e4e20f 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json @@ -57,7 +57,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json index b7a22b0580..acbea110fe 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json @@ -81,7 +81,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index cfffa241ff..742f0ef098 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -56,7 +56,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-exporter-prometheus/package.json b/experimental/packages/opentelemetry-exporter-prometheus/package.json index ebb460276d..020fb4233e 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/package.json +++ b/experimental/packages/opentelemetry-exporter-prometheus/package.json @@ -51,7 +51,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index 9dbaacd237..99d90251d5 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/package.json +++ b/experimental/packages/opentelemetry-instrumentation-fetch/package.json @@ -74,7 +74,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index ecb0891d77..c66861143c 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/package.json +++ b/experimental/packages/opentelemetry-instrumentation-grpc/package.json @@ -61,7 +61,7 @@ "mocha": "10.0.0", "node-pre-gyp": "0.17.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "semver": "7.3.5", "sinon": "15.0.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation-http/package.json b/experimental/packages/opentelemetry-instrumentation-http/package.json index da3da4412f..0cc0414c89 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/package.json +++ b/experimental/packages/opentelemetry-instrumentation-http/package.json @@ -63,7 +63,7 @@ "nyc": "15.1.0", "request": "2.88.2", "request-promise-native": "1.0.9", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "superagent": "8.0.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json index e9df68a706..04faf9af92 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json @@ -74,7 +74,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index 00d787d530..cdab1c1192 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -97,7 +97,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/opentelemetry-sdk-node/src/sdk.ts b/experimental/packages/opentelemetry-sdk-node/src/sdk.ts index caad9b85e2..a3af268442 100644 --- a/experimental/packages/opentelemetry-sdk-node/src/sdk.ts +++ b/experimental/packages/opentelemetry-sdk-node/src/sdk.ts @@ -208,10 +208,6 @@ export class NodeSDK { return; } - registerInstrumentations({ - instrumentations: this._instrumentations, - }); - if (this._autoDetectResources) { await this.detectResources(); } @@ -259,6 +255,10 @@ export class NodeSDK { metrics.setGlobalMeterProvider(meterProvider); } + + registerInstrumentations({ + instrumentations: this._instrumentations, + }); } public shutdown(): Promise { diff --git a/experimental/packages/otlp-grpc-exporter-base/package.json b/experimental/packages/otlp-grpc-exporter-base/package.json index 19c799ddb6..a75b6c9ca4 100644 --- a/experimental/packages/otlp-grpc-exporter-base/package.json +++ b/experimental/packages/otlp-grpc-exporter-base/package.json @@ -61,7 +61,7 @@ "cpx": "1.5.0", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index aeedeab199..c65efc5801 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -67,7 +67,7 @@ "mocha": "10.0.0", "nyc": "15.1.0", "protobufjs-cli": "1.0.2", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json index ee9caf83f5..ae0686aa84 100644 --- a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json +++ b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json @@ -5,7 +5,9 @@ "outDir": "build/esnext", "tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" }, - "include": ["src/**/*.ts", "src/generated/*.js"], + "include": [ + "src/**/*.ts" + ], "references": [ { "path": "../../../api" diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index 1667e88cca..cd1641edcc 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -69,7 +69,7 @@ "mkdirp": "2.1.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", "typescript": "4.4.4", diff --git a/experimental/packages/otlp-transformer/src/trace/internal.ts b/experimental/packages/otlp-transformer/src/trace/internal.ts index e4d787349e..bebc41c4e8 100644 --- a/experimental/packages/otlp-transformer/src/trace/internal.ts +++ b/experimental/packages/otlp-transformer/src/trace/internal.ts @@ -32,7 +32,6 @@ export function sdkSpanToOtlpSpan(span: ReadableSpan, useHex?: boolean): ISpan { traceId: useHex ? ctx.traceId : core.hexToBase64(ctx.traceId), spanId: useHex ? ctx.spanId : core.hexToBase64(ctx.spanId), parentSpanId: parentSpanId, - traceState: ctx.traceState?.serialize(), name: span.name, // Span kind is offset by 1 because the API does not define a value for unset kind: span.kind == null ? 0 : span.kind + 1, @@ -61,7 +60,6 @@ export function toOtlpLink(link: Link, useHex?: boolean): ILink { traceId: useHex ? link.context.traceId : core.hexToBase64(link.context.traceId), - traceState: link.context.traceState?.serialize(), droppedAttributesCount: 0, }; } diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index 7308139004..6d0682d3d3 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -60,7 +60,6 @@ function createExpectedSpanJson(useHex: boolean) { traceId: traceId, spanId: spanId, parentSpanId: parentSpanId, - traceState: 'span=bar', name: 'span-name', kind: ESpanKind.SPAN_KIND_CLIENT, links: [ @@ -68,7 +67,6 @@ function createExpectedSpanJson(useHex: boolean) { droppedAttributesCount: 0, spanId: linkSpanId, traceId: linkTraceId, - traceState: 'link=foo', attributes: [ { key: 'link-attribute', @@ -136,7 +134,7 @@ describe('Trace', () => { traceFlags: 1, traceId: '00000000000000000000000000000001', isRemote: false, - traceState: new TraceState('span=bar'), + traceState: new TraceState(''), }), parentSpanId: '0000000000000001', attributes: { 'string-attribute': 'some attribute value' }, @@ -165,7 +163,7 @@ describe('Trace', () => { traceId: '00000000000000000000000000000002', traceFlags: 1, isRemote: false, - traceState: new TraceState('link=foo'), + traceState: new TraceState(''), }, attributes: { 'link-attribute': 'string value', diff --git a/package.json b/package.json index df63bd8fcd..0bec743a3b 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "eslint-plugin-header": "3.1.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "4.2.1", - "gh-pages": "5.0.0", + "gh-pages": "4.0.0", "lerna": "6.0.3", "lerna-changelog": "2.2.0", "linkinator": "4.0.3", diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index 8994955e2c..99fbbd1984 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -50,7 +50,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "ts-mocha": "10.0.0", "typescript": "4.4.4" }, diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index c67006dd05..842beda518 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -71,7 +71,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-context-zone/package.json b/packages/opentelemetry-context-zone/package.json index 097b7c81e3..5f5cd308af 100644 --- a/packages/opentelemetry-context-zone/package.json +++ b/packages/opentelemetry-context-zone/package.json @@ -64,7 +64,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index e8bc5a0917..9c65520b56 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -80,7 +80,7 @@ "lerna": "6.0.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index f347f2199f..ae60076423 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -53,7 +53,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index 3a8ee9d9a6..558606dad3 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -78,7 +78,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index b222af6472..a4800b8f8b 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -64,7 +64,7 @@ "istanbul-instrumenter-loader": "3.0.1", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index 030a14d54c..e47bb04e3b 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -69,7 +69,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index 6f9dc03473..c6177a592d 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -77,7 +77,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4", diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index c3e7b93239..c7ffaa8f30 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -80,7 +80,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts b/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts index 77b0965598..8f1b8e1978 100644 --- a/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts +++ b/packages/opentelemetry-sdk-trace-base/src/export/ConsoleSpanExporter.ts @@ -57,7 +57,6 @@ export class ConsoleSpanExporter implements SpanExporter { return { traceId: span.spanContext().traceId, parentId: span.parentSpanId, - traceState: span.spanContext().traceState?.serialize(), name: span.name, id: span.spanContext().spanId, kind: span.kind, diff --git a/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts index 72642927a3..633cac3ec7 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/export/ConsoleSpanExporter.test.ts @@ -15,7 +15,6 @@ */ import { SpanContext, TraceFlags } from '@opentelemetry/api'; -import { TraceState } from '@opentelemetry/core'; import * as assert from 'assert'; import * as sinon from 'sinon'; import { @@ -64,7 +63,6 @@ describe('ConsoleSpanExporter', () => { const span = tracer.startSpan('foo', { links: [{ context, attributes: { anAttr: 'aValue' } }], }); - span.spanContext().traceState = new TraceState('trace=state'); span.addEvent('foobar'); span.end(); @@ -87,7 +85,6 @@ describe('ConsoleSpanExporter', () => { 'status', 'timestamp', 'traceId', - 'traceState', ].join(','); assert.ok(firstSpan.name === 'foo'); diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index 108d8c975b..f49cf4c553 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -55,7 +55,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index b6c64e8974..4a456d43a6 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -78,7 +78,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-loader": "8.4.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 90faab299d..8d091a5ce5 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -56,7 +56,7 @@ "mocha": "10.0.0", "nock": "13.0.11", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index 7062f307ed..cd3beb16ab 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -51,7 +51,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "ts-mocha": "10.0.0", "typescript": "4.4.4" }, diff --git a/packages/sdk-metrics/package.json b/packages/sdk-metrics/package.json index 3a4f653ac7..2112fa5514 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -68,7 +68,7 @@ "karma-webpack": "4.0.2", "mocha": "10.0.0", "nyc": "15.1.0", - "rimraf": "4.1.2", + "rimraf": "3.0.2", "sinon": "15.0.0", "ts-mocha": "10.0.0", "typescript": "4.4.4" diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts deleted file mode 100644 index 49662b44f4..0000000000 --- a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ExponentMapping.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import * as ieee754 from './ieee754'; -import * as util from '../util'; -import { Mapping, MappingError } from './types'; - -/** - * ExponentMapping implements exponential mapping functions for - * scales <=0. For scales > 0 LogarithmMapping should be used. - */ -export class ExponentMapping implements Mapping { - private readonly _shift: number; - - constructor(scale: number) { - this._shift = -scale; - } - - /** - * Maps positive floating point values to indexes corresponding to scale - * @param value - * @returns {number} index for provided value at the current scale - */ - mapToIndex(value: number): number { - if (value < ieee754.MIN_VALUE) { - return this._minNormalLowerBoundaryIndex(); - } - - const exp = ieee754.getNormalBase2(value); - - // In case the value is an exact power of two, compute a - // correction of -1. Note, we are using a custom _rightShift - // to accommodate a 52-bit argument, which the native bitwise - // operators do not support - const correction = this._rightShift( - ieee754.getSignificand(value) - 1, - ieee754.SIGNIFICAND_WIDTH - ); - - return (exp + correction) >> this._shift; - } - - /** - * Returns the lower bucket boundary for the given index for scale - * - * @param index - * @returns {number} - */ - lowerBoundary(index: number): number { - const minIndex = this._minNormalLowerBoundaryIndex(); - if (index < minIndex) { - throw new MappingError( - `underflow: ${index} is < minimum lower boundary: ${minIndex}` - ); - } - const maxIndex = this._maxNormalLowerBoundaryIndex(); - if (index > maxIndex) { - throw new MappingError( - `overflow: ${index} is > maximum lower boundary: ${maxIndex}` - ); - } - - return util.ldexp(1, index << this._shift); - } - - /** - * The scale used by this mapping - * @returns {number} - */ - scale(): number { - if (this._shift === 0) { - return 0; - } - return -this._shift; - } - - private _minNormalLowerBoundaryIndex(): number { - let index = ieee754.MIN_NORMAL_EXPONENT >> this._shift; - if (this._shift < 2) { - index--; - } - - return index; - } - - private _maxNormalLowerBoundaryIndex(): number { - return ieee754.MAX_NORMAL_EXPONENT >> this._shift; - } - - private _rightShift(value: number, shift: number): number { - return Math.floor(value * Math.pow(2, -shift)); - } -} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts deleted file mode 100644 index 974d9ff84e..0000000000 --- a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/LogarithmMapping.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import * as ieee754 from './ieee754'; -import * as util from '../util'; -import { Mapping, MappingError } from './types'; - -/** - * LogarithmMapping implements exponential mapping functions for scale > 0. - * For scales <= 0 the exponent mapping should be used. - */ -export class LogarithmMapping implements Mapping { - private readonly _scale: number; - private readonly _scaleFactor: number; - private readonly _inverseFactor: number; - - constructor(scale: number) { - this._scale = scale; - this._scaleFactor = util.ldexp(Math.LOG2E, scale); - this._inverseFactor = util.ldexp(Math.LN2, -scale); - } - - /** - * Maps positive floating point values to indexes corresponding to scale - * @param value - * @returns {number} index for provided value at the current scale - */ - mapToIndex(value: number): number { - if (value <= ieee754.MIN_VALUE) { - return this._minNormalLowerBoundaryIndex() - 1; - } - - // exact power of two special case - if (ieee754.getSignificand(value) === 0) { - const exp = ieee754.getNormalBase2(value); - return (exp << this._scale) - 1; - } - - // non-power of two cases. use Math.floor to round the scaled logarithm - const index = Math.floor(Math.log(value) * this._scaleFactor); - const maxIndex = this._maxNormalLowerBoundaryIndex(); - if (index >= maxIndex) { - return maxIndex; - } - - return index; - } - - /** - * Returns the lower bucket boundary for the given index for scale - * - * @param index - * @returns {number} - */ - lowerBoundary(index: number): number { - const maxIndex = this._maxNormalLowerBoundaryIndex(); - if (index >= maxIndex) { - if (index === maxIndex) { - return 2 * Math.exp((index - (1 << this._scale)) / this._scaleFactor); - } - throw new MappingError( - `overflow: ${index} is > maximum lower boundary: ${maxIndex}` - ); - } - - const minIndex = this._minNormalLowerBoundaryIndex(); - if (index <= minIndex) { - if (index === minIndex) { - return ieee754.MIN_VALUE; - } else if (index === minIndex - 1) { - return Math.exp((index + (1 << this._scale)) / this._scaleFactor) / 2; - } - throw new MappingError( - `overflow: ${index} is < minimum lower boundary: ${minIndex}` - ); - } - - return Math.exp(index * this._inverseFactor); - } - - /** - * The scale used by this mapping - * @returns {number} - */ - scale(): number { - return this._scale; - } - - private _minNormalLowerBoundaryIndex(): number { - return ieee754.MIN_NORMAL_EXPONENT << this._scale; - } - - private _maxNormalLowerBoundaryIndex(): number { - return ((ieee754.MAX_NORMAL_EXPONENT + 1) << this._scale) - 1; - } -} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts deleted file mode 100644 index ce8949b325..0000000000 --- a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/getMapping.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { ExponentMapping } from './ExponentMapping'; -import { LogarithmMapping } from './LogarithmMapping'; -import { MappingError, Mapping } from './types'; - -const MIN_SCALE = -10; -const MAX_SCALE = 20; -const PREBUILT_MAPPINGS = Array.from({ length: 31 }, (_, i) => { - if (i > 10) { - return new LogarithmMapping(i - 10); - } - return new ExponentMapping(i - 10); -}); - -/** - * getMapping returns an appropriate mapping for the given scale. For scales -10 - * to 0 the underlying type will be ExponentMapping. For scales 1 to 20 the - * underlying type will be LogarithmMapping. - * @param scale a number in the range [-10, 20] - * @returns {Mapping} - */ -export function getMapping(scale: number): Mapping { - if (scale > MAX_SCALE || scale < MIN_SCALE) { - throw new MappingError( - `expected scale >= ${MIN_SCALE} && <= ${MAX_SCALE}, got: ${scale}` - ); - } - // mappings are offset by 10. scale -10 is at position 0 and scale 20 is at 30 - return PREBUILT_MAPPINGS[scale + 10]; -} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts deleted file mode 100644 index 0dc4f01bc3..0000000000 --- a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/ieee754.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * The functions and constants in this file allow us to interact - * with the internal representation of an IEEE 64-bit floating point - * number. We need to work with all 64-bits, thus, care needs to be - * taken when working with Javascript's bitwise operators (<<, >>, &, - * |, etc) as they truncate operands to 32-bits. In order to work around - * this we work with the 64-bits as two 32-bit halves, perform bitwise - * operations on them independently, and combine the results (if needed). - */ - -export const SIGNIFICAND_WIDTH = 52; - -/** - * EXPONENT_MASK is set to 1 for the hi 32-bits of an IEEE 754 - * floating point exponent: 0x7ff00000. - */ -const EXPONENT_MASK = 0x7ff00000; - -/** - * SIGNIFICAND_MASK is the mask for the significand portion of the hi 32-bits - * of an IEEE 754 double-precision floating-point value: 0xfffff - */ -const SIGNIFICAND_MASK = 0xfffff; - -/** - * EXPONENT_BIAS is the exponent bias specified for encoding - * the IEEE 754 double-precision floating point exponent: 1023 - */ -const EXPONENT_BIAS = 1023; - -/** - * MIN_NORMAL_EXPONENT is the minimum exponent of a normalized - * floating point: -1022. - */ -export const MIN_NORMAL_EXPONENT = -EXPONENT_BIAS + 1; - -/** - * MAX_NORMAL_EXPONENT is the maximum exponent of a normalized - * floating point: 1023. - */ -export const MAX_NORMAL_EXPONENT = EXPONENT_BIAS; - -/** - * MIN_VALUE is the smallest normal number - */ -export const MIN_VALUE = Math.pow(2, -1022); - -/** - * getNormalBase2 extracts the normalized base-2 fractional exponent. - * This returns k for the equation f x 2**k where f is - * in the range [1, 2). Note that this function is not called for - * subnormal numbers. - * @param {number} value - the value to determine normalized base-2 fractional - * exponent for - * @returns {number} the normalized base-2 exponent - */ -export function getNormalBase2(value: number): number { - const dv = new DataView(new ArrayBuffer(8)); - dv.setFloat64(0, value); - // access the raw 64-bit float as 32-bit uints - const hiBits = dv.getUint32(0); - const expBits = (hiBits & EXPONENT_MASK) >> 20; - return expBits - EXPONENT_BIAS; -} - -/** - * GetSignificand returns the 52 bit (unsigned) significand as a signed value. - * @param {number} value - the floating point number to extract the significand from - * @returns {number} The 52-bit significand - */ -export function getSignificand(value: number): number { - const dv = new DataView(new ArrayBuffer(8)); - dv.setFloat64(0, value); - // access the raw 64-bit float as two 32-bit uints - const hiBits = dv.getUint32(0); - const loBits = dv.getUint32(4); - // extract the significand bits from the hi bits and left shift 32 places note: - // we can't use the native << operator as it will truncate the result to 32-bits - const significandHiBits = (hiBits & SIGNIFICAND_MASK) * Math.pow(2, 32); - // combine the hi and lo bits and return - return significandHiBits + loBits; -} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts deleted file mode 100644 index afe6ed9118..0000000000 --- a/packages/sdk-metrics/src/aggregator/exponential-histogram/mapping/types.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export class MappingError extends Error {} - -/** - * The mapping interface is used by the exponential histogram to determine - * where to bucket values. The interface is implemented by ExponentMapping, - * used for scales [-10, 0] and LogarithmMapping, used for scales [1, 20]. - */ -export interface Mapping { - mapToIndex(value: number): number; - lowerBoundary(index: number): number; - scale(): number; -} diff --git a/packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts b/packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts deleted file mode 100644 index 356bbab260..0000000000 --- a/packages/sdk-metrics/src/aggregator/exponential-histogram/util.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Note: other languages provide this as a built in function. This is - * a naive, but functionally correct implementation. This is used sparingly, - * when creating a new mapping in a running application. - * - * ldexp returns frac × 2**exp. With the following special cases: - * ldexp(±0, exp) = ±0 - * ldexp(±Inf, exp) = ±Inf - * ldexp(NaN, exp) = NaN - * @param frac - * @param exp - * @returns {number} - */ -export function ldexp(frac: number, exp: number): number { - if ( - frac === 0 || - frac === Number.POSITIVE_INFINITY || - frac === Number.NEGATIVE_INFINITY || - Number.isNaN(frac) - ) { - return frac; - } - return frac * Math.pow(2, exp); -} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts deleted file mode 100644 index 8a9ed82157..0000000000 --- a/packages/sdk-metrics/test/aggregator/exponential-histogram/ExponentMapping.test.ts +++ /dev/null @@ -1,295 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { ExponentMapping } from '../../../src/aggregator/exponential-histogram/mapping/ExponentMapping'; -import * as ieee754 from '../../../src/aggregator/exponential-histogram/mapping/ieee754'; -import * as assert from 'assert'; - -const MIN_SCALE = -10; -const MAX_SCALE = 0; - -describe('ExponentMapping', () => { - it('maps expected values for scale 0', () => { - const mapping = new ExponentMapping(0); - assert.strictEqual(mapping.scale(), 0); - - const expectedMappings = [ - // near +inf - [Number.MAX_VALUE, ieee754.MAX_NORMAL_EXPONENT], - [Number.MAX_VALUE, 1023], - [Math.pow(2, 1023), 1022], - [1.0625 * Math.pow(2, 1023), 1023], - [Math.pow(2, 1022), 1021], - [1.0625 * Math.pow(2, 1023), 1023], - - // near 0 - [Math.pow(2, -1022), -1023], - [1.0625 * Math.pow(2, -1022), -1022], - [Math.pow(2, -1021), -1022], - [1.0625 * Math.pow(2, -1021), -1021], - - [Math.pow(2, -1022), ieee754.MIN_NORMAL_EXPONENT - 1], - [Math.pow(2, -1021), ieee754.MIN_NORMAL_EXPONENT], - [Number.MIN_VALUE, ieee754.MIN_NORMAL_EXPONENT - 1], - - // near 1 - [4, 1], - [3, 1], - [2, 0], - [1.5, 0], - [1, -1], - [0.75, -1], - [0.51, -1], - [0.5, -2], - [0.26, -2], - [0.25, -3], - [0.126, -3], - [0.125, -4], - ]; - - expectedMappings.forEach(([value, expected]) => { - const result = mapping.mapToIndex(value); - assert.strictEqual( - result, - expected, - `expected: ${value} to map to: ${expected}, got: ${result}` - ); - }); - }); - - it('maps expected values for min scale', () => { - const mapping = new ExponentMapping(MIN_SCALE); - assert.strictEqual(mapping.scale(), MIN_SCALE); - - const expectedMappings = [ - [1.000001, 0], - [1, -1], - [Number.MAX_VALUE / 2, 0], - [Number.MAX_VALUE, 0], - [Number.MIN_VALUE, -1], - [0.5, -1], - ]; - - expectedMappings.forEach(([value, expected]) => { - const result = mapping.mapToIndex(value); - assert.strictEqual( - result, - expected, - `expected: ${value} to map to: ${expected}, got: ${result}` - ); - }); - }); - - it('maps expected values for scale -1', () => { - const mapping = new ExponentMapping(-1); - assert.strictEqual(mapping.scale(), -1); - - const expectedMappings = [ - [17, 2], - [16, 1], - [15, 1], - [9, 1], - [8, 1], - [5, 1], - [4, 0], - [3, 0], - [2, 0], - [1.5, 0], - [1, -1], - [0.75, -1], - [0.5, -1], - [0.25, -2], - [0.2, -2], - [0.13, -2], - [0.125, -2], - [0.1, -2], - [0.0625, -3], - [0.06, -3], - ]; - - expectedMappings.forEach(([value, expected]) => { - const result = mapping.mapToIndex(value); - assert.strictEqual( - result, - expected, - `expected: ${value} to map to: ${expected}, got: ${result}` - ); - }); - }); - - it('maps expected values for scale -4', () => { - const mapping = new ExponentMapping(-4); - assert.strictEqual(mapping.scale(), -4); - - const expectedMappings = [ - [0x1, -1], - [0x10, 0], - [0x100, 0], - [0x1000, 0], - [0x10000, 0], // Base == 2**16 - [0x100000, 1], - [0x1000000, 1], - [0x10000000, 1], - [0x100000000, 1], // == 2**32 - [0x1000000000, 2], - [0x10000000000, 2], - [0x100000000000, 2], - [0x1000000000000, 2], // 2**48 - [0x10000000000000, 3], - [0x1000000000000000, 3], - [0x10000000000000000, 3], // 2**64 - [0x100000000000000000, 4], - [0x1000000000000000000, 4], - [0x10000000000000000000, 4], - [0x100000000000000000000, 4], // 2**80 - [0x1000000000000000000000, 5], - - [1 / 0x1, -1], - [1 / 0x10, -1], - [1 / 0x100, -1], - [1 / 0x1000, -1], - [1 / 0x10000, -2], // 2**-16 - [1 / 0x100000, -2], - [1 / 0x1000000, -2], - [1 / 0x10000000, -2], - [1 / 0x100000000, -3], // 2**-32 - [1 / 0x1000000000, -3], - [1 / 0x10000000000, -3], - [1 / 0x100000000000, -3], - [1 / 0x1000000000000, -4], // 2**-48 - [1 / 0x10000000000000, -4], - [1 / 0x100000000000000, -4], - [1 / 0x1000000000000000, -4], - [1 / 0x10000000000000000, -5], // 2**-64 - [1 / 0x100000000000000000, -5], - - // Max values - // below is equivalent to [0x1.FFFFFFFFFFFFFp1023, 63], - [ - Array.from({ length: 13 }, (_, x) => 0xf * Math.pow(16, -x - 1)).reduce( - (x, y) => x + y, - 1 - ) * Math.pow(2, 1023), - 63, - ], - [Math.pow(2, 1023), 63], - [Math.pow(2, 1019), 63], - [Math.pow(2, 1009), 63], - [Math.pow(2, 1008), 62], - [Math.pow(2, 1007), 62], - [Math.pow(2, 1000), 62], - [Math.pow(2, 993), 62], - [Math.pow(2, 992), 61], - [Math.pow(2, 991), 61], - - // Min and subnormal values - [Math.pow(2, -1074), -64], - [Math.pow(2, -1073), -64], - [Math.pow(2, -1072), -64], - [Math.pow(2, -1057), -64], - [Math.pow(2, -1056), -64], - [Math.pow(2, -1041), -64], - [Math.pow(2, -1040), -64], - [Math.pow(2, -1025), -64], - [Math.pow(2, -1024), -64], - [Math.pow(2, -1023), -64], - [Math.pow(2, -1022), -64], - [Math.pow(2, -1009), -64], - [Math.pow(2, -1008), -64], - [Math.pow(2, -1007), -63], - [Math.pow(2, -993), -63], - [Math.pow(2, -992), -63], - [Math.pow(2, -991), -62], - [Math.pow(2, -977), -62], - [Math.pow(2, -976), -62], - [Math.pow(2, -975), -61], - ]; - - expectedMappings.forEach(([value, expected]) => { - const result = mapping.mapToIndex(value); - assert.strictEqual( - result, - expected, - `expected: ${value} to map to: ${expected}, got: ${result}` - ); - }); - }); - - it('handles max index for all scales', () => { - for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { - const mapping = new ExponentMapping(scale); - const index = mapping.mapToIndex(Number.MAX_VALUE); - const maxIndex = ((ieee754.MAX_NORMAL_EXPONENT + 1) >> -scale) - 1; - assert.strictEqual( - index, - maxIndex, - `expected index: ${index} and ${maxIndex} to be equal for scale: ${scale}` - ); - - const boundary = mapping.lowerBoundary(index); - assert.strictEqual(boundary, roundedBoundary(scale, maxIndex)); - - assert.throws(() => { - // one larger will overflow - mapping.lowerBoundary(index + 1); - }); - } - }); - - it('handles min index for all scales', () => { - for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { - const mapping = new ExponentMapping(scale); - const minIndex = mapping.mapToIndex(ieee754.MIN_VALUE); - let expectedMinIndex = ieee754.MIN_NORMAL_EXPONENT >> -scale; - if (ieee754.MIN_NORMAL_EXPONENT % (1 << -scale) === 0) { - expectedMinIndex--; - } - assert.strictEqual( - minIndex, - expectedMinIndex, - `expected expectedMinIndex: ${expectedMinIndex} and ${minIndex} to be equal for scale: ${scale}` - ); - - const boundary = mapping.lowerBoundary(minIndex); - const expectedBoundary = roundedBoundary(scale, expectedMinIndex); - assert.strictEqual(boundary, expectedBoundary); - - //one smaller will underflow - assert.throws(() => { - mapping.lowerBoundary(minIndex - 1); - }); - - // subnormals map to the min index - [ - ieee754.MIN_VALUE / 2, - ieee754.MIN_VALUE / 3, - Math.pow(2, -1050), - Math.pow(2, -1073), - 1.0625 * Math.pow(2, -1073), - Math.pow(2, -1074), - ].forEach(value => { - assert.strictEqual(mapping.mapToIndex(value), expectedMinIndex); - }); - } - }); -}); - -function roundedBoundary(scale: number, index: number): number { - let result = Math.pow(2, index); - for (let i = scale; i < 0; i++) { - result = result * result; - } - return result; -} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts deleted file mode 100644 index d6d04bf814..0000000000 --- a/packages/sdk-metrics/test/aggregator/exponential-histogram/LogarithmMapping.test.ts +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { LogarithmMapping } from '../../../src/aggregator/exponential-histogram/mapping/LogarithmMapping'; -import * as ieee754 from '../../../src/aggregator/exponential-histogram/mapping/ieee754'; -import * as assert from 'assert'; -import { assertInEpsilon } from './helpers'; - -const MIN_SCALE = 1; -const MAX_SCALE = 20; - -describe('LogarithmMapping', () => { - it('maps values for scale 1', () => { - const mapping = new LogarithmMapping(1); - assert.strictEqual(mapping.scale(), 1); - - const expectedMappings = [ - [15, 7], - [9, 6], - [7, 5], - [5, 4], - [3, 3], - [2.5, 2], - [1.5, 1], - [1.2, 0], - [1, -1], - [0.75, -1], - [0.55, -2], - [0.45, -3], - ]; - - expectedMappings.forEach(([value, expected]) => { - const result = mapping.mapToIndex(value); - assert.strictEqual( - result, - expected, - `expected: ${value} to map to: ${expected}, got: ${result}` - ); - }); - }); - - it('computes boundary', () => { - [1, 2, 3, 4, 10, 15].forEach(scale => { - const mapping = new LogarithmMapping(scale); - [-100, -10, -1, 0, 1, 10, 100].forEach(index => { - const boundary = mapping.lowerBoundary(index); - const mappedIndex = mapping.mapToIndex(boundary); - - assert.ok(index - 1 <= mappedIndex); - assert.ok(index >= mappedIndex); - assertInEpsilon(roundedBoundary(scale, index), boundary, 1e-9); - }); - }); - }); - - it('handles max index for each scale', () => { - for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { - const mapping = new LogarithmMapping(scale); - const index = mapping.mapToIndex(Number.MAX_VALUE); - - // the max index is one less than the first index that - // overflows Number.MAX_VALUE - const maxIndex = ((ieee754.MAX_NORMAL_EXPONENT + 1) << scale) - 1; - - assert.strictEqual(index, maxIndex); - - const boundary = mapping.lowerBoundary(index); - const base = mapping.lowerBoundary(1); - - assert.ok( - boundary < Number.MAX_VALUE, - `expected boundary: ${boundary} to be < max value: ${Number.MAX_VALUE}` - ); - - assertInEpsilon( - base - 1, - (Number.MAX_VALUE - boundary) / boundary, - 10e-6 - ); - } - }); - - it('handles min index for each scale', () => { - for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { - const mapping = new LogarithmMapping(scale); - const minIndex = mapping.mapToIndex(ieee754.MIN_VALUE); - - const expectedMinIndex = (ieee754.MIN_NORMAL_EXPONENT << scale) - 1; - assert.strictEqual(minIndex, expectedMinIndex); - - const expectedBoundary = roundedBoundary(scale, expectedMinIndex); - assert.ok(expectedBoundary < ieee754.MIN_VALUE); - - const expectedUpperBoundary = roundedBoundary( - scale, - expectedMinIndex + 1 - ); - assert.strictEqual(ieee754.MIN_VALUE, expectedUpperBoundary); - - const mappedLowerBoundary = mapping.lowerBoundary(minIndex + 1); - assertInEpsilon(ieee754.MIN_VALUE, mappedLowerBoundary, 1e-6); - - // subnormals map to the min index - [ - ieee754.MIN_VALUE / 2, - ieee754.MIN_VALUE / 3, - ieee754.MIN_VALUE / 100, - Math.pow(2, -1050), - Math.pow(2, -1073), - 1.0625 * Math.pow(2, -1073), - Math.pow(2, -1074), - ].forEach(value => { - const result = mapping.mapToIndex(value); - assert.strictEqual(result, expectedMinIndex); - }); - - const mappedMinLower = mapping.lowerBoundary(minIndex); - - assertInEpsilon(expectedBoundary, mappedMinLower, 1e-6); - - // one smaller will underflow - assert.throws(() => { - mapping.lowerBoundary(minIndex - 1); - }); - } - }); - - it('maps max float to max index for each scale', () => { - for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { - const mapping = new LogarithmMapping(scale); - const index = mapping.mapToIndex(Number.MAX_VALUE); - const maxIndex = ((ieee754.MAX_NORMAL_EXPONENT + 1) << scale) - 1; - assert.strictEqual(maxIndex, index); - - const boundary = mapping.lowerBoundary(index); - const base = mapping.lowerBoundary(1); - - assert.ok(boundary < Number.MAX_VALUE); - assertInEpsilon(base - 1, (Number.MAX_VALUE - boundary) / boundary, 1e-6); - - //one larger will overflow - assert.throws(() => { - mapping.lowerBoundary(index + 1); - }); - } - }); -}); - -function roundedBoundary(scale: number, index: number): number { - while (scale > 0) { - if (index < -1022) { - index /= 2; - scale--; - } else { - break; - } - } - - let result = Math.pow(2, index); - for (let i = scale; i > 0; i--) { - result = Math.sqrt(result); - } - - return result; -} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts deleted file mode 100644 index 4d7326be54..0000000000 --- a/packages/sdk-metrics/test/aggregator/exponential-histogram/getMapping.test.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { ExponentMapping } from '../../../src/aggregator/exponential-histogram/mapping/ExponentMapping'; -import { LogarithmMapping } from '../../../src/aggregator/exponential-histogram/mapping/LogarithmMapping'; -import { getMapping } from '../../../src/aggregator/exponential-histogram/mapping/getMapping'; -import * as assert from 'assert'; - -const MIN_SCALE = -10; -const MAX_SCALE = 20; - -describe('getMapping', () => { - it('returns correct mapping for all scales', () => { - for (let scale = MIN_SCALE; scale <= MAX_SCALE; scale++) { - const mapping = getMapping(scale); - if (scale > 0) { - assert.ok(mapping instanceof LogarithmMapping); - } else { - assert.ok(mapping instanceof ExponentMapping); - } - assert.strictEqual(mapping.scale(), scale); - } - }); - - it('throws for invalid scales', () => { - assert.throws(() => { - getMapping(MIN_SCALE - 1); - }); - assert.throws(() => { - getMapping(MAX_SCALE + 1); - }); - }); -}); diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts deleted file mode 100644 index a2241fbf66..0000000000 --- a/packages/sdk-metrics/test/aggregator/exponential-histogram/helpers.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import * as assert from 'assert'; - -export function assertInEpsilon( - actual: number, - expected: number, - epsilon: number -) { - assert.ok(!Number.isNaN(actual), 'unexpected NaN for actual argument'); - assert.ok(!Number.isNaN(expected), 'unexpected NaN for expected argument'); - assert.ok(actual !== 0, 'unexpected 0 for actual argument'); - - const relErr = Math.abs(actual - expected) / Math.abs(actual); - - assert.ok( - relErr < epsilon, - `expected relative error: ${relErr} to be < ${epsilon}` - ); -} diff --git a/packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts b/packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts deleted file mode 100644 index 3db0da3268..0000000000 --- a/packages/sdk-metrics/test/aggregator/exponential-histogram/ieee754.test.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import * as ieee754 from '../../../src/aggregator/exponential-histogram/mapping/ieee754'; -import * as assert from 'assert'; - -describe('ieee754 helpers', () => { - describe('MIN_NORMAL_EXPONENT', () => { - it('has expected value', () => { - assert.strictEqual(ieee754.MIN_NORMAL_EXPONENT, -1022); - }); - }); - - describe('MAX_NORMAL_EXPONENT', () => { - it('has expected value', () => { - assert.strictEqual(ieee754.MAX_NORMAL_EXPONENT, 1023); - }); - }); - - describe('getNormalBase2', () => { - it('extracts exponent', () => { - assert.strictEqual( - ieee754.getNormalBase2(Math.pow(2, 1023)), - ieee754.MAX_NORMAL_EXPONENT - ); - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, 1022)), 1022); - assert.strictEqual(ieee754.getNormalBase2(18.9), 4); - assert.strictEqual(ieee754.getNormalBase2(1), 0); - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1021)), -1021); - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1022)), -1022); - - // Subnormals below - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1023)), -1023); - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1024)), -1023); - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1025)), -1023); - assert.strictEqual(ieee754.getNormalBase2(Math.pow(2, -1074)), -1023); - }); - }); - - describe('getSignificand', () => { - it('returns expected values', () => { - // The number 1.5 has a single most-significant bit set, i.e., 1<<51. - assert.strictEqual(ieee754.getSignificand(1.5), Math.pow(2, 51)); - }); - }); -}); From bab88a1a01e7ec1ea34871fbf3a52aaee876a9ef Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Sat, 28 Jan 2023 11:45:00 +0100 Subject: [PATCH 04/20] feat(sdk-trace-base): fix tests, make both counts truthy --- api/src/trace/attributes.ts | 2 +- .../test/traceHelper.ts | 2 ++ .../test/traceHelper.ts | 8 ++++++++ .../test/traceHelper.ts | 2 ++ .../otlp-grpc-exporter-base/test/traceHelper.ts | 2 ++ .../otlp-transformer/test/trace.test.ts | 2 ++ .../test/jaeger.test.ts | 2 ++ .../test/transform.test.ts | 10 ++++++++++ .../test/helper.ts | 2 ++ .../test/node/zipkin.test.ts | 14 ++++++++++++++ .../opentelemetry-sdk-trace-base/src/Span.ts | 17 ++++++----------- .../src/TimedEvent.ts | 8 +++----- .../test/common/Span.test.ts | 2 -- 13 files changed, 54 insertions(+), 19 deletions(-) diff --git a/api/src/trace/attributes.ts b/api/src/trace/attributes.ts index ce29b07a3c..82681d1070 100644 --- a/api/src/trace/attributes.ts +++ b/api/src/trace/attributes.ts @@ -30,4 +30,4 @@ export type SpanAttributeValue = AttributeValue; * Dropped attributes count is a map of key-value pairs * of attributes that were dropped due to collection limits */ -export type SpanDroppedAttributes = Attributes | undefined; +export type SpanDroppedAttributes = Attributes; diff --git a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts index e95868f305..c114d6311c 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts @@ -91,6 +91,8 @@ export const mockedReadableSpan: ReadableSpan = { }) ), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; export function ensureExportedEventsAreCorrect(events: IEvent[]) { diff --git a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts index feab35b55e..8b31a9c5b6 100644 --- a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts @@ -102,6 +102,8 @@ export const mockedReadableSpan: ReadableSpan = { }) ), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; export const mockedResources: Resource[] = [ @@ -142,6 +144,8 @@ export const basicTrace: ReadableSpan[] = [ duration: [0, 8885000], resource: mockedResources[0], instrumentationLibrary: mockedInstrumentationLibraries[0], + droppedAttributesCount: {}, + droppedEventsCount: {}, }, { name: 'span2', @@ -164,6 +168,8 @@ export const basicTrace: ReadableSpan[] = [ duration: [0, 8775000], resource: mockedResources[0], instrumentationLibrary: mockedInstrumentationLibraries[0], + droppedAttributesCount: {}, + droppedEventsCount: {}, }, { name: 'span3', @@ -186,6 +192,8 @@ export const basicTrace: ReadableSpan[] = [ duration: [0, 8775000], resource: mockedResources[0], instrumentationLibrary: mockedInstrumentationLibraries[0], + droppedAttributesCount: {}, + droppedEventsCount: {}, }, ]; diff --git a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts index 67ea6593bc..c9654b6258 100644 --- a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts @@ -87,6 +87,8 @@ export const mockedReadableSpan: ReadableSpan = { cost: 112.12, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; export function ensureProtoEventsAreCorrect(events: IEvent[]) { diff --git a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts index 8aef302d05..2366a04d96 100644 --- a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts +++ b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts @@ -91,6 +91,8 @@ export const mockedReadableSpan: ReadableSpan = { }) ), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; export function ensureExportedEventsAreCorrect(events: IEvent[]) { diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index 6d0682d3d3..3b61a6b54b 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -176,6 +176,8 @@ describe('Trace', () => { status: { code: SpanStatusCode.OK, }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; }); diff --git a/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts b/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts index 7a6130322b..9b55d6b859 100644 --- a/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts +++ b/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts @@ -53,6 +53,8 @@ describe('JaegerExporter', () => { name: 'default', version: '0.0.1', }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; describe('constructor', () => { afterEach(() => { diff --git a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts index 5b9de96aa5..13ee25930a 100644 --- a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts +++ b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts @@ -82,6 +82,8 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const thriftSpan = spanToThrift(readableSpan); @@ -179,6 +181,8 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const thriftSpan = spanToThrift(readableSpan); @@ -246,6 +250,8 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const thriftSpan = spanToThrift(readableSpan); @@ -291,6 +297,8 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const thriftSpan = spanToThrift(readableSpan); @@ -353,6 +361,8 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; let thriftSpan = spanToThrift(readableSpan); assert.strictEqual( diff --git a/packages/opentelemetry-exporter-zipkin/test/helper.ts b/packages/opentelemetry-exporter-zipkin/test/helper.ts index 3cfd694e2b..f1fda75e6f 100644 --- a/packages/opentelemetry-exporter-zipkin/test/helper.ts +++ b/packages/opentelemetry-exporter-zipkin/test/helper.ts @@ -45,6 +45,8 @@ export const mockedReadableSpan: ReadableSpan = { cost: 112.12, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; export function ensureHeadersContain( diff --git a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts index d1aa4e8888..ce51b4778e 100644 --- a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts +++ b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts @@ -56,6 +56,8 @@ function getReadableSpan() { events: [], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; return readableSpan; } @@ -164,6 +166,8 @@ describe('Zipkin Exporter - node', () => { ], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const span2: ReadableSpan = { name: 'my-span', @@ -187,6 +191,8 @@ describe('Zipkin Exporter - node', () => { events: [], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const exporter = new ZipkinExporter({ @@ -379,6 +385,8 @@ describe('Zipkin Exporter - node', () => { [SemanticResourceAttributes.SERVICE_NAME]: resource_service_name, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const span2: ReadableSpan = { name: 'my-span', @@ -402,6 +410,8 @@ describe('Zipkin Exporter - node', () => { [SemanticResourceAttributes.SERVICE_NAME]: resource_service_name_prime, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const exporter = new ZipkinExporter({}); @@ -467,6 +477,8 @@ describe('Zipkin Exporter - node', () => { ], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const span2: ReadableSpan = { name: 'my-span', @@ -490,6 +502,8 @@ describe('Zipkin Exporter - node', () => { events: [], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, + droppedAttributesCount: {}, + droppedEventsCount: {}, }; const exporter = new ZipkinExporter({}); diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 64767039a6..1a0a22c11b 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -68,8 +68,8 @@ export class Span implements APISpan, ReadableSpan { readonly resource: Resource; readonly instrumentationLibrary: InstrumentationLibrary; - droppedAttributesCount: SpanDroppedAttributes; - droppedEventsCount: SpanDroppedEvents; + readonly droppedAttributesCount: SpanDroppedAttributes = {}; + readonly droppedEventsCount: SpanDroppedEvents = {}; name: string; status: SpanStatus = { @@ -146,10 +146,9 @@ export class Span implements APISpan, ReadableSpan { this._spanLimits.attributeCountLimit! && !Object.prototype.hasOwnProperty.call(this.attributes, key) ) { - if (!this.droppedAttributesCount) { - this.droppedAttributesCount = {}; + if (value) { + this.droppedAttributesCount[key] = this._truncateToSize(value); } - this.droppedAttributesCount[key] = this._truncateToSize(value); return this; } this.attributes[key] = this._truncateToSize(value); @@ -188,9 +187,6 @@ export class Span implements APISpan, ReadableSpan { if (this._spanLimits.eventCountLimit === 0) { diag.warn('No events allowed.'); - if (!this.droppedEventsCount) { - this.droppedEventsCount = {}; - } this.droppedEventsCount[name] = { name, attributes, @@ -201,10 +197,9 @@ export class Span implements APISpan, ReadableSpan { if (this.events.length >= this._spanLimits.eventCountLimit!) { diag.warn('Dropping extra events.'); const dropped = this.events.shift(); - if (!this.droppedEventsCount) { - this.droppedEventsCount = {}; + if (dropped) { + this.droppedEventsCount[dropped.name] = dropped; } - this.droppedEventsCount[dropped!.name] = dropped!; } this.events.push({ diff --git a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts index 3a29e5aaf9..cc3bcceca3 100644 --- a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts +++ b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts @@ -28,8 +28,6 @@ export interface TimedEvent { attributes?: SpanAttributes; } -export type SpanDroppedEvents = - | { - [name: string]: TimedEvent; - } - | undefined; +export type SpanDroppedEvents = { + [name: string]: TimedEvent; +}; diff --git a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts index 7bcd108eeb..99d6c0f79a 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts @@ -314,7 +314,6 @@ describe('Span', () => { }); it('should store all dropped attributes in droppedAttributesCount', () => { - assert.ok(span.droppedAttributesCount); assert.strictEqual( Object.keys(span.droppedAttributesCount).length, 50 @@ -822,7 +821,6 @@ describe('Span', () => { } span.end(); - assert.ok(span.droppedEventsCount); assert.strictEqual(Object.keys(span.droppedEventsCount).length, 50); assert.strictEqual(span.droppedEventsCount['sent0'].name, 'sent0'); assert.strictEqual(span.droppedEventsCount['sent42'].name, 'sent42'); From 17213bdd308e885746b8777d55c42572389c13ed Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Tue, 31 Jan 2023 21:02:33 +0100 Subject: [PATCH 05/20] feat(sdk-trace-base): Update dropped counts type to number --- api/src/index.ts | 6 +--- api/src/trace/attributes.ts | 6 ---- .../test/traceHelper.ts | 5 +-- .../test/traceHelper.ts | 20 ++++++----- .../test/traceHelper.ts | 5 +-- .../test/traceHelper.ts | 5 +-- .../otlp-transformer/test/trace.test.ts | 5 +-- .../test/jaeger.test.ts | 5 +-- .../test/transform.test.ts | 25 +++++++------ .../test/helper.ts | 5 +-- .../test/node/zipkin.test.ts | 35 +++++++++++-------- .../opentelemetry-sdk-trace-base/src/Span.ts | 25 +++++-------- .../src/TimedEvent.ts | 4 --- .../src/export/ReadableSpan.ts | 8 ++--- .../test/common/Span.test.ts | 31 +++------------- 15 files changed, 84 insertions(+), 106 deletions(-) diff --git a/api/src/index.ts b/api/src/index.ts index 52e727fb5c..2326aba9dc 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -71,11 +71,7 @@ export { export type { PropagationAPI } from './api/propagation'; // Trace APIs -export { - SpanAttributes, - SpanAttributeValue, - SpanDroppedAttributes, -} from './trace/attributes'; +export { SpanAttributes, SpanAttributeValue } from './trace/attributes'; export { Link } from './trace/link'; export { ProxyTracer, TracerDelegator } from './trace/ProxyTracer'; export { ProxyTracerProvider } from './trace/ProxyTracerProvider'; diff --git a/api/src/trace/attributes.ts b/api/src/trace/attributes.ts index 82681d1070..01feff0b0a 100644 --- a/api/src/trace/attributes.ts +++ b/api/src/trace/attributes.ts @@ -25,9 +25,3 @@ export type SpanAttributes = Attributes; * @deprecated please use {@link AttributeValue} */ export type SpanAttributeValue = AttributeValue; - -/** - * Dropped attributes count is a map of key-value pairs - * of attributes that were dropped due to collection limits - */ -export type SpanDroppedAttributes = Attributes; diff --git a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts index c114d6311c..3ca28ba03f 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts @@ -91,8 +91,9 @@ export const mockedReadableSpan: ReadableSpan = { }) ), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; export function ensureExportedEventsAreCorrect(events: IEvent[]) { diff --git a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts index 8b31a9c5b6..b3bdddc520 100644 --- a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts @@ -102,8 +102,9 @@ export const mockedReadableSpan: ReadableSpan = { }) ), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; export const mockedResources: Resource[] = [ @@ -144,8 +145,9 @@ export const basicTrace: ReadableSpan[] = [ duration: [0, 8885000], resource: mockedResources[0], instrumentationLibrary: mockedInstrumentationLibraries[0], - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }, { name: 'span2', @@ -168,8 +170,9 @@ export const basicTrace: ReadableSpan[] = [ duration: [0, 8775000], resource: mockedResources[0], instrumentationLibrary: mockedInstrumentationLibraries[0], - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }, { name: 'span3', @@ -192,8 +195,9 @@ export const basicTrace: ReadableSpan[] = [ duration: [0, 8775000], resource: mockedResources[0], instrumentationLibrary: mockedInstrumentationLibraries[0], - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }, ]; diff --git a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts index c9654b6258..561e2b8df5 100644 --- a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts @@ -87,8 +87,9 @@ export const mockedReadableSpan: ReadableSpan = { cost: 112.12, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; export function ensureProtoEventsAreCorrect(events: IEvent[]) { diff --git a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts index 2366a04d96..20c784bf5d 100644 --- a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts +++ b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts @@ -91,8 +91,9 @@ export const mockedReadableSpan: ReadableSpan = { }) ), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; export function ensureExportedEventsAreCorrect(events: IEvent[]) { diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index fc65f04105..da3e1d0c7d 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -178,8 +178,9 @@ describe('Trace', () => { status: { code: SpanStatusCode.OK, }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; }); diff --git a/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts b/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts index 9b55d6b859..bcfdbf051f 100644 --- a/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts +++ b/packages/opentelemetry-exporter-jaeger/test/jaeger.test.ts @@ -53,8 +53,9 @@ describe('JaegerExporter', () => { name: 'default', version: '0.0.1', }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; describe('constructor', () => { afterEach(() => { diff --git a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts index 13ee25930a..35a11c7ffd 100644 --- a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts +++ b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts @@ -82,8 +82,9 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const thriftSpan = spanToThrift(readableSpan); @@ -181,8 +182,9 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const thriftSpan = spanToThrift(readableSpan); @@ -250,8 +252,9 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const thriftSpan = spanToThrift(readableSpan); @@ -297,8 +300,9 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const thriftSpan = spanToThrift(readableSpan); @@ -361,8 +365,9 @@ describe('transform', () => { name: 'default', version: '0.0.1', }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; let thriftSpan = spanToThrift(readableSpan); assert.strictEqual( diff --git a/packages/opentelemetry-exporter-zipkin/test/helper.ts b/packages/opentelemetry-exporter-zipkin/test/helper.ts index f1fda75e6f..bd4d300a1e 100644 --- a/packages/opentelemetry-exporter-zipkin/test/helper.ts +++ b/packages/opentelemetry-exporter-zipkin/test/helper.ts @@ -45,8 +45,9 @@ export const mockedReadableSpan: ReadableSpan = { cost: 112.12, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; export function ensureHeadersContain( diff --git a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts index ce51b4778e..eeab75348e 100644 --- a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts +++ b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts @@ -56,8 +56,9 @@ function getReadableSpan() { events: [], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; return readableSpan; } @@ -166,8 +167,9 @@ describe('Zipkin Exporter - node', () => { ], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const span2: ReadableSpan = { name: 'my-span', @@ -191,8 +193,9 @@ describe('Zipkin Exporter - node', () => { events: [], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const exporter = new ZipkinExporter({ @@ -385,8 +388,9 @@ describe('Zipkin Exporter - node', () => { [SemanticResourceAttributes.SERVICE_NAME]: resource_service_name, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const span2: ReadableSpan = { name: 'my-span', @@ -410,8 +414,9 @@ describe('Zipkin Exporter - node', () => { [SemanticResourceAttributes.SERVICE_NAME]: resource_service_name_prime, }), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const exporter = new ZipkinExporter({}); @@ -477,8 +482,9 @@ describe('Zipkin Exporter - node', () => { ], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const span2: ReadableSpan = { name: 'my-span', @@ -502,8 +508,9 @@ describe('Zipkin Exporter - node', () => { events: [], resource: Resource.empty(), instrumentationLibrary: { name: 'default', version: '0.0.1' }, - droppedAttributesCount: {}, - droppedEventsCount: {}, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, }; const exporter = new ZipkinExporter({}); diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 1a0a22c11b..1364b0fd65 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -24,7 +24,6 @@ import { SpanAttributes, SpanAttributeValue, SpanContext, - SpanDroppedAttributes, SpanKind, SpanStatus, SpanStatusCode, @@ -48,7 +47,7 @@ import { SemanticAttributes } from '@opentelemetry/semantic-conventions'; import { ExceptionEventName } from './enums'; import { ReadableSpan } from './export/ReadableSpan'; import { SpanProcessor } from './SpanProcessor'; -import { SpanDroppedEvents, TimedEvent } from './TimedEvent'; +import { TimedEvent } from './TimedEvent'; import { Tracer } from './Tracer'; import { SpanLimits } from './types'; @@ -67,9 +66,9 @@ export class Span implements APISpan, ReadableSpan { readonly startTime: HrTime; readonly resource: Resource; readonly instrumentationLibrary: InstrumentationLibrary; - - readonly droppedAttributesCount: SpanDroppedAttributes = {}; - readonly droppedEventsCount: SpanDroppedEvents = {}; + droppedAttributesCount: number = 0; + droppedEventsCount: number = 0; + droppedLinksCount: number = 0; name: string; status: SpanStatus = { @@ -146,9 +145,7 @@ export class Span implements APISpan, ReadableSpan { this._spanLimits.attributeCountLimit! && !Object.prototype.hasOwnProperty.call(this.attributes, key) ) { - if (value) { - this.droppedAttributesCount[key] = this._truncateToSize(value); - } + this.droppedAttributesCount += 1; return this; } this.attributes[key] = this._truncateToSize(value); @@ -187,19 +184,13 @@ export class Span implements APISpan, ReadableSpan { if (this._spanLimits.eventCountLimit === 0) { diag.warn('No events allowed.'); - this.droppedEventsCount[name] = { - name, - attributes, - time: this._getTime(timeStamp), - }; + this.droppedEventsCount += 1; return this; } if (this.events.length >= this._spanLimits.eventCountLimit!) { diag.warn('Dropping extra events.'); - const dropped = this.events.shift(); - if (dropped) { - this.droppedEventsCount[dropped.name] = dropped; - } + this.events.shift(); + this.droppedEventsCount += 1; } this.events.push({ diff --git a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts index cc3bcceca3..93cb9b47f3 100644 --- a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts +++ b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts @@ -27,7 +27,3 @@ export interface TimedEvent { /** The attributes of the event. */ attributes?: SpanAttributes; } - -export type SpanDroppedEvents = { - [name: string]: TimedEvent; -}; diff --git a/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts b/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts index cc7395ea87..bcf39a3638 100644 --- a/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts +++ b/packages/opentelemetry-sdk-trace-base/src/export/ReadableSpan.ts @@ -21,11 +21,10 @@ import { HrTime, Link, SpanContext, - SpanDroppedAttributes, } from '@opentelemetry/api'; import { Resource } from '@opentelemetry/resources'; import { InstrumentationLibrary } from '@opentelemetry/core'; -import { TimedEvent, SpanDroppedEvents } from '../TimedEvent'; +import { TimedEvent } from '../TimedEvent'; export interface ReadableSpan { readonly name: string; @@ -42,6 +41,7 @@ export interface ReadableSpan { readonly ended: boolean; readonly resource: Resource; readonly instrumentationLibrary: InstrumentationLibrary; - readonly droppedAttributesCount: SpanDroppedAttributes; - readonly droppedEventsCount: SpanDroppedEvents; + readonly droppedAttributesCount: number; + readonly droppedEventsCount: number; + readonly droppedLinksCount: number; } diff --git a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts index 99d6c0f79a..11a94ffc7c 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts @@ -313,14 +313,8 @@ describe('Span', () => { assert.strictEqual(span.attributes['foo149'], undefined); }); - it('should store all dropped attributes in droppedAttributesCount', () => { - assert.strictEqual( - Object.keys(span.droppedAttributesCount).length, - 50 - ); - assert.strictEqual(span.droppedAttributesCount['foo100'], 'bar100'); - assert.strictEqual(span.droppedAttributesCount['foo149'], 'bar149'); - assert.strictEqual(span.droppedAttributesCount['foo99'], undefined); + it('should store the count of dropped attributes in droppedAttributesCount', () => { + assert.strictEqual(span.droppedAttributesCount, 50); }); }); @@ -801,7 +795,7 @@ describe('Span', () => { assert.strictEqual(span.events[span.events.length - 1].name, 'sent149'); }); - it('should store dropped events in droppedEventsCount', () => { + it('should store the count of dropped events in droppedEventsCount', () => { const span = new Span( tracer, ROOT_CONTEXT, @@ -809,27 +803,12 @@ describe('Span', () => { spanContext, SpanKind.CLIENT ); - const testAttributes = { - attribute_1: 'forty-two', - }; for (let i = 0; i < 150; i++) { - if (i === 42) { - span.addEvent('sent42', testAttributes); - } else { - span.addEvent('sent' + i); - } + span.addEvent('sent' + i); } span.end(); - assert.strictEqual(Object.keys(span.droppedEventsCount).length, 50); - assert.strictEqual(span.droppedEventsCount['sent0'].name, 'sent0'); - assert.strictEqual(span.droppedEventsCount['sent42'].name, 'sent42'); - assert.ok(span.droppedEventsCount['sent42'].attributes); - assert.strictEqual( - span.droppedEventsCount['sent42'].attributes['attribute_1'], - 'forty-two' - ); - assert.strictEqual(span.droppedEventsCount['sent50'], undefined); + assert.strictEqual(span.droppedEventsCount, 50); }); it('should add no event', () => { From dc78fa3ebb7809e77fece4e44993ad25f7e80cd9 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Sun, 5 Feb 2023 10:57:26 +0100 Subject: [PATCH 06/20] feat(sdk-trace-base): Use exposed counts on ReadableSpan in jaeger and zipkin exporters --- .../otlp-transformer/src/trace/internal.ts | 6 +- .../src/transform.ts | 24 +++++++ .../src/transform.ts | 38 ++++++++---- .../test/common/transform.test.ts | 62 ++++++++++--------- .../opentelemetry-sdk-trace-base/src/Span.ts | 42 ++++++++----- 5 files changed, 113 insertions(+), 59 deletions(-) diff --git a/experimental/packages/otlp-transformer/src/trace/internal.ts b/experimental/packages/otlp-transformer/src/trace/internal.ts index e4d787349e..accefc5064 100644 --- a/experimental/packages/otlp-transformer/src/trace/internal.ts +++ b/experimental/packages/otlp-transformer/src/trace/internal.ts @@ -39,16 +39,16 @@ export function sdkSpanToOtlpSpan(span: ReadableSpan, useHex?: boolean): ISpan { startTimeUnixNano: hrTimeToNanoseconds(span.startTime), endTimeUnixNano: hrTimeToNanoseconds(span.endTime), attributes: toAttributes(span.attributes), - droppedAttributesCount: 0, + droppedAttributesCount: span.droppedAttributesCount, events: span.events.map(toOtlpSpanEvent), - droppedEventsCount: 0, + droppedEventsCount: span.droppedEventsCount, status: { // API and proto enums share the same values code: status.code as unknown as EStatusCode, message: status.message, }, links: span.links.map(link => toOtlpLink(link, useHex)), - droppedLinksCount: 0, + droppedLinksCount: span.droppedLinksCount, }; } diff --git a/packages/opentelemetry-exporter-jaeger/src/transform.ts b/packages/opentelemetry-exporter-jaeger/src/transform.ts index 61321e78aa..41b9ac72c6 100644 --- a/packages/opentelemetry-exporter-jaeger/src/transform.ts +++ b/packages/opentelemetry-exporter-jaeger/src/transform.ts @@ -86,6 +86,30 @@ export function spanToThrift(span: ReadableSpan): ThriftSpan { }); } + /* Add droppedAttributesCount as a tag */ + if (span.droppedAttributesCount) { + tags.push({ + key: 'otel.dropped_attributes_count', + value: toTagValue(span.droppedAttributesCount), + }); + } + + /* Add droppedEventsCount as a tag */ + if (span.droppedEventsCount) { + tags.push({ + key: 'otel.dropped_events_count', + value: toTagValue(span.droppedEventsCount), + }); + } + + /* Add droppedLinksCount as a tag */ + if (span.droppedLinksCount) { + tags.push({ + key: 'otel.dropped_links_count', + value: toTagValue(span.droppedLinksCount), + }); + } + const spanTags: ThriftTag[] = ThriftUtils.getThriftTags(tags); const logs = span.events.map((event): Log => { diff --git a/packages/opentelemetry-exporter-zipkin/src/transform.ts b/packages/opentelemetry-exporter-zipkin/src/transform.ts index 9ffd48ecce..94983057f6 100644 --- a/packages/opentelemetry-exporter-zipkin/src/transform.ts +++ b/packages/opentelemetry-exporter-zipkin/src/transform.ts @@ -18,7 +18,6 @@ import * as api from '@opentelemetry/api'; import { ReadableSpan, TimedEvent } from '@opentelemetry/sdk-trace-base'; import { hrTimeToMicroseconds } from '@opentelemetry/core'; import * as zipkinTypes from './types'; -import { Resource } from '@opentelemetry/resources'; const ZIPKIN_SPAN_KIND_MAPPING = { [api.SpanKind.CLIENT]: zipkinTypes.SpanKind.CLIENT, @@ -51,13 +50,7 @@ export function toZipkinSpan( timestamp: hrTimeToMicroseconds(span.startTime), duration: hrTimeToMicroseconds(span.duration), localEndpoint: { serviceName }, - tags: _toZipkinTags( - span.attributes, - span.status, - statusCodeTagName, - statusErrorTagName, - span.resource - ), + tags: _toZipkinTags(span, statusCodeTagName, statusErrorTagName), annotations: span.events.length ? _toZipkinAnnotations(span.events) : undefined, @@ -66,13 +59,18 @@ export function toZipkinSpan( return zipkinSpan; } -/** Converts OpenTelemetry SpanAttributes and SpanStatus to Zipkin Tags format. */ +/** Converts OpenTelemetry Span properties to Zipkin Tags format. */ export function _toZipkinTags( - attributes: api.SpanAttributes, - status: api.SpanStatus, + { + attributes, + resource, + status, + droppedAttributesCount, + droppedEventsCount, + droppedLinksCount, + }: ReadableSpan, statusCodeTagName: string, - statusErrorTagName: string, - resource: Resource + statusErrorTagName: string ): zipkinTypes.Tags { const tags: { [key: string]: string } = {}; for (const key of Object.keys(attributes)) { @@ -84,6 +82,20 @@ export function _toZipkinTags( if (status.code === api.SpanStatusCode.ERROR && status.message) { tags[statusErrorTagName] = status.message; } + /* Add droppedAttributesCount as a tag */ + if (droppedAttributesCount) { + tags['otel.dropped_attributes_count'] = String(droppedAttributesCount); + } + + /* Add droppedEventsCount as a tag */ + if (droppedEventsCount) { + tags['otel.dropped_events_count'] = String(droppedEventsCount); + } + + /* Add droppedLinksCount as a tag */ + if (droppedLinksCount) { + tags['otel.dropped_links_count'] = String(droppedLinksCount); + } Object.keys(resource.attributes).forEach( name => (tags[name] = String(resource.attributes[name])) diff --git a/packages/opentelemetry-exporter-zipkin/test/common/transform.test.ts b/packages/opentelemetry-exporter-zipkin/test/common/transform.test.ts index 3c7b5a5ddb..65a06922af 100644 --- a/packages/opentelemetry-exporter-zipkin/test/common/transform.test.ts +++ b/packages/opentelemetry-exporter-zipkin/test/common/transform.test.ts @@ -36,6 +36,9 @@ const tracer = new BasicTracerProvider({ resource: Resource.default().merge( new Resource({ [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + cost: '112.12', + service: 'ui', + version: '1', }) ), }).getTracer('default'); @@ -50,13 +53,6 @@ const spanContext: api.SpanContext = { traceFlags: api.TraceFlags.SAMPLED, }; -const DUMMY_RESOURCE = new Resource({ - service: 'ui', - version: 1, - cost: 112.12, - [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', -}); - describe('transform', () => { describe('toZipkinSpan', () => { it('should convert an OpenTelemetry span to a Zipkin span', () => { @@ -102,6 +98,9 @@ describe('transform', () => { key1: 'value1', key2: 'value2', [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + cost: '112.12', + service: 'ui', + version: '1', 'telemetry.sdk.language': language, 'telemetry.sdk.name': 'opentelemetry', 'telemetry.sdk.version': VERSION, @@ -140,6 +139,9 @@ describe('transform', () => { parentId: undefined, tags: { [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + cost: '112.12', + service: 'ui', + version: '1', 'telemetry.sdk.language': language, 'telemetry.sdk.name': 'opentelemetry', 'telemetry.sdk.version': VERSION, @@ -188,6 +190,9 @@ describe('transform', () => { parentId: undefined, tags: { [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + cost: '112.12', + service: 'ui', + version: '1', 'telemetry.sdk.language': language, 'telemetry.sdk.name': 'opentelemetry', 'telemetry.sdk.version': VERSION, @@ -214,20 +219,21 @@ describe('transform', () => { key2: 'value2', }); const tags: zipkinTypes.Tags = _toZipkinTags( - span.attributes, - span.status, + span, defaultStatusCodeTagName, - defaultStatusErrorTagName, - DUMMY_RESOURCE + defaultStatusErrorTagName ); assert.deepStrictEqual(tags, { key1: 'value1', key2: 'value2', + [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + 'telemetry.sdk.language': language, + 'telemetry.sdk.name': 'opentelemetry', + 'telemetry.sdk.version': VERSION, cost: '112.12', service: 'ui', version: '1', - [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', }); }); it('should map OpenTelemetry SpanStatus.code to a Zipkin tag', () => { @@ -248,15 +254,9 @@ describe('transform', () => { key2: 'value2', }); const tags: zipkinTypes.Tags = _toZipkinTags( - span.attributes, - span.status, + span, defaultStatusCodeTagName, - defaultStatusErrorTagName, - Resource.empty().merge( - new Resource({ - [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', - }) - ) + defaultStatusErrorTagName ); assert.deepStrictEqual(tags, { @@ -264,6 +264,12 @@ describe('transform', () => { key2: 'value2', [defaultStatusCodeTagName]: 'ERROR', [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + 'telemetry.sdk.language': language, + 'telemetry.sdk.name': 'opentelemetry', + 'telemetry.sdk.version': VERSION, + cost: '112.12', + service: 'ui', + version: '1', }); }); it('should map OpenTelemetry SpanStatus.message to a Zipkin tag', () => { @@ -285,15 +291,9 @@ describe('transform', () => { key2: 'value2', }); const tags: zipkinTypes.Tags = _toZipkinTags( - span.attributes, - span.status, + span, defaultStatusCodeTagName, - defaultStatusErrorTagName, - Resource.empty().merge( - new Resource({ - [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', - }) - ) + defaultStatusErrorTagName ); assert.deepStrictEqual(tags, { @@ -302,6 +302,12 @@ describe('transform', () => { [defaultStatusCodeTagName]: 'ERROR', [defaultStatusErrorTagName]: status.message, [SemanticResourceAttributes.SERVICE_NAME]: 'zipkin-test', + 'telemetry.sdk.language': language, + 'telemetry.sdk.name': 'opentelemetry', + 'telemetry.sdk.version': VERSION, + cost: '112.12', + service: 'ui', + version: '1', }); }); }); diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 1364b0fd65..fbe3581c95 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -66,9 +66,10 @@ export class Span implements APISpan, ReadableSpan { readonly startTime: HrTime; readonly resource: Resource; readonly instrumentationLibrary: InstrumentationLibrary; - droppedAttributesCount: number = 0; - droppedEventsCount: number = 0; - droppedLinksCount: number = 0; + + private _droppedAttributesCount: number = 0; + private _droppedEventsCount: number = 0; + private _droppedLinksCount: number = 0; name: string; status: SpanStatus = { @@ -145,7 +146,7 @@ export class Span implements APISpan, ReadableSpan { this._spanLimits.attributeCountLimit! && !Object.prototype.hasOwnProperty.call(this.attributes, key) ) { - this.droppedAttributesCount += 1; + this._droppedAttributesCount += 1; return this; } this.attributes[key] = this._truncateToSize(value); @@ -172,6 +173,16 @@ export class Span implements APISpan, ReadableSpan { timeStamp?: TimeInput ): this { if (this._isSpanEnded()) return this; + if (this._spanLimits.eventCountLimit === 0) { + diag.warn('No events allowed.'); + this._droppedEventsCount += 1; + return this; + } + if (this.events.length >= this._spanLimits.eventCountLimit!) { + diag.warn('Dropping extra events.'); + this.events.shift(); + this._droppedEventsCount += 1; + } if (isTimeInput(attributesOrStartTime)) { if (!isTimeInput(timeStamp)) { @@ -182,17 +193,6 @@ export class Span implements APISpan, ReadableSpan { const attributes = sanitizeAttributes(attributesOrStartTime); - if (this._spanLimits.eventCountLimit === 0) { - diag.warn('No events allowed.'); - this.droppedEventsCount += 1; - return this; - } - if (this.events.length >= this._spanLimits.eventCountLimit!) { - diag.warn('Dropping extra events.'); - this.events.shift(); - this.droppedEventsCount += 1; - } - this.events.push({ name, attributes, @@ -307,6 +307,18 @@ export class Span implements APISpan, ReadableSpan { return this._ended; } + get droppedAttributesCount(): number { + return this._droppedAttributesCount; + } + + get droppedEventsCount(): number { + return this._droppedEventsCount; + } + + get droppedLinksCount(): number { + return this._droppedLinksCount; + } + private _isSpanEnded(): boolean { if (this._ended) { diag.warn( From 411c1cb70adb05de7f01af6f9c6f372a3155f61c Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Thu, 9 Feb 2023 21:00:04 +0100 Subject: [PATCH 07/20] feat(sdk-trace-base): WIP - revert tsconfig, add new attribute limits --- api/src/trace/link.ts | 2 + .../tsconfig.esnext.json | 8 ++-- .../otlp-transformer/src/trace/internal.ts | 4 +- .../src/utils/environment.ts | 9 +++++ .../opentelemetry-sdk-trace-base/src/Span.ts | 39 ++++++++++++++++++- .../src/TimedEvent.ts | 2 + .../src/config.ts | 4 ++ .../opentelemetry-sdk-trace-base/src/types.ts | 4 ++ .../test/common/BasicTracerProvider.test.ts | 2 + 9 files changed, 66 insertions(+), 8 deletions(-) diff --git a/api/src/trace/link.ts b/api/src/trace/link.ts index 1d81d38d69..2b7ed19dd7 100644 --- a/api/src/trace/link.ts +++ b/api/src/trace/link.ts @@ -37,4 +37,6 @@ export interface Link { context: SpanContext; /** A set of {@link SpanAttributes} on the link. */ attributes?: SpanAttributes; + /** Count of attributes of the link that were dropped due to collection limits */ + droppedAttributesCount?: number; } diff --git a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json index 8cfe780dec..116769d6fb 100644 --- a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json +++ b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json @@ -1,14 +1,12 @@ { "extends": "../../../tsconfig.base.esnext.json", "compilerOptions": { - "rootDir": "src", + "allowJs": true, "outDir": "build/esnext", + "rootDir": "src", "tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" }, - "include": [ - "src/**/*.ts", - "src/generated/*.js" - ], + "include": ["src/**/*.ts", "src/generated/*.js"], "references": [ { "path": "../../../api" diff --git a/experimental/packages/otlp-transformer/src/trace/internal.ts b/experimental/packages/otlp-transformer/src/trace/internal.ts index accefc5064..6811a8182f 100644 --- a/experimental/packages/otlp-transformer/src/trace/internal.ts +++ b/experimental/packages/otlp-transformer/src/trace/internal.ts @@ -62,7 +62,7 @@ export function toOtlpLink(link: Link, useHex?: boolean): ILink { ? link.context.traceId : core.hexToBase64(link.context.traceId), traceState: link.context.traceState?.serialize(), - droppedAttributesCount: 0, + droppedAttributesCount: link.droppedAttributesCount || 0, }; } @@ -73,6 +73,6 @@ export function toOtlpSpanEvent(timedEvent: TimedEvent): IEvent { : [], name: timedEvent.name, timeUnixNano: hrTimeToNanoseconds(timedEvent.time), - droppedAttributesCount: 0, + droppedAttributesCount: timedEvent.droppedAttributesCount || 0, }; } diff --git a/packages/opentelemetry-core/src/utils/environment.ts b/packages/opentelemetry-core/src/utils/environment.ts index 01da17f293..4559a83fa7 100644 --- a/packages/opentelemetry-core/src/utils/environment.ts +++ b/packages/opentelemetry-core/src/utils/environment.ts @@ -47,6 +47,8 @@ const ENVIRONMENT_NUMBERS_KEYS = [ 'OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT', 'OTEL_SPAN_EVENT_COUNT_LIMIT', 'OTEL_SPAN_LINK_COUNT_LIMIT', + 'OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT', + 'OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT', 'OTEL_EXPORTER_OTLP_TIMEOUT', 'OTEL_EXPORTER_OTLP_TRACES_TIMEOUT', 'OTEL_EXPORTER_OTLP_METRICS_TIMEOUT', @@ -131,6 +133,9 @@ export const DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT = Infinity; export const DEFAULT_ATTRIBUTE_COUNT_LIMIT = 128; +export const DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT = 128; +export const DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT = 128; + /** * Default environment variables */ @@ -172,6 +177,10 @@ export const DEFAULT_ENVIRONMENT: Required = { OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: DEFAULT_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT: 128, OTEL_SPAN_LINK_COUNT_LIMIT: 128, + OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: + DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, + OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: + DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, OTEL_TRACES_EXPORTER: '', OTEL_TRACES_SAMPLER: TracesSamplerValues.ParentBasedAlwaysOn, OTEL_TRACES_SAMPLER_ARG: '', diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index fbe3581c95..1769c21f4f 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -15,6 +15,7 @@ */ import { + Attributes, Context, diag, Exception, @@ -192,11 +193,16 @@ export class Span implements APISpan, ReadableSpan { } const attributes = sanitizeAttributes(attributesOrStartTime); + const attributeLimit = this._spanLimits.attributePerEventCountLimit; + + const { droppedCount, result: cappedAttributes } = + this._truncateAttributesToCount(attributes, attributeLimit); this.events.push({ name, - attributes, + attributes: cappedAttributes, time: this._getTime(timeStamp), + droppedAttributesCount: droppedCount, }); return this; } @@ -374,4 +380,35 @@ export class Span implements APISpan, ReadableSpan { // Other types, no need to apply value length limit return value; } + + private _truncateAttributesToCount( + value: Attributes, + limit?: number + ): { result: Attributes; droppedCount: number } { + if (limit === undefined) + return { + result: value, + droppedCount: 0, + }; + const entries = Object.entries(value); + if (limit === 0) { + return { + result: {}, + droppedCount: entries.length, + }; + } else if (limit >= entries.length) { + return { + result: value, + droppedCount: 0, + }; + } else { + return { + result: entries.reduce((acc, curr) => { + acc[curr[0]] = curr[1]; + return acc; + }, {} as Attributes), + droppedCount: entries.length - limit, + }; + } + } } diff --git a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts index 93cb9b47f3..1f835ba710 100644 --- a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts +++ b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts @@ -26,4 +26,6 @@ export interface TimedEvent { name: string; /** The attributes of the event. */ attributes?: SpanAttributes; + /** Count of attributes of the event that were dropped due to collection limits */ + droppedAttributesCount?: number; } diff --git a/packages/opentelemetry-sdk-trace-base/src/config.ts b/packages/opentelemetry-sdk-trace-base/src/config.ts index 18753ea70e..3448b793da 100644 --- a/packages/opentelemetry-sdk-trace-base/src/config.ts +++ b/packages/opentelemetry-sdk-trace-base/src/config.ts @@ -49,6 +49,10 @@ export function loadDefaultConfig() { attributeCountLimit: getEnv().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, linkCountLimit: getEnv().OTEL_SPAN_LINK_COUNT_LIMIT, eventCountLimit: getEnv().OTEL_SPAN_EVENT_COUNT_LIMIT, + attributePerEventCountLimit: + getEnv().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, + attributePerLinkCountLimit: + getEnv().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, }, }; } diff --git a/packages/opentelemetry-sdk-trace-base/src/types.ts b/packages/opentelemetry-sdk-trace-base/src/types.ts index 54eaaf97d9..ecb26bb2df 100644 --- a/packages/opentelemetry-sdk-trace-base/src/types.ts +++ b/packages/opentelemetry-sdk-trace-base/src/types.ts @@ -81,6 +81,10 @@ export interface SpanLimits { linkCountLimit?: number; /** eventCountLimit is number of message events per span */ eventCountLimit?: number; + /** attributePerEventCountLimit is the maximum number of attributes allowed per span event */ + attributePerEventCountLimit?: number; + /** attributePerLinkCountLimit is the maximum number of attributes allowed per span link */ + attributePerLinkCountLimit?: number; } /** Interface configuration for a buffer. */ diff --git a/packages/opentelemetry-sdk-trace-base/test/common/BasicTracerProvider.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/BasicTracerProvider.test.ts index d7a900cf9f..7a0483ffa9 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/BasicTracerProvider.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/BasicTracerProvider.test.ts @@ -179,6 +179,8 @@ describe('BasicTracerProvider', () => { attributeCountLimit: 128, eventCountLimit: 128, linkCountLimit: 128, + attributePerEventCountLimit: 128, + attributePerLinkCountLimit: 128, }); }); }); From 32300bf4e166f05b40e3a52da6e59899967a26bf Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Thu, 9 Feb 2023 21:06:30 +0100 Subject: [PATCH 08/20] feat(sdk-trace-base): Update attribute truncate method --- packages/opentelemetry-sdk-trace-base/src/Span.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 1769c21f4f..980c7977f9 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -403,10 +403,7 @@ export class Span implements APISpan, ReadableSpan { }; } else { return { - result: entries.reduce((acc, curr) => { - acc[curr[0]] = curr[1]; - return acc; - }, {} as Attributes), + result: Object.fromEntries(entries.slice(limit)), droppedCount: entries.length - limit, }; } From 0365435416ee5fb6a55d311e51066fa651b46c08 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 24 Feb 2023 11:58:09 -0500 Subject: [PATCH 09/20] Fix bad conflict resolution --- packages/opentelemetry-exporter-zipkin/src/transform.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/opentelemetry-exporter-zipkin/src/transform.ts b/packages/opentelemetry-exporter-zipkin/src/transform.ts index c730b64928..bef39a4617 100644 --- a/packages/opentelemetry-exporter-zipkin/src/transform.ts +++ b/packages/opentelemetry-exporter-zipkin/src/transform.ts @@ -72,7 +72,6 @@ export function _toZipkinTags( }: ReadableSpan, statusCodeTagName: string, statusErrorTagName: string, - resource: IResource ): zipkinTypes.Tags { const tags: { [key: string]: string } = {}; for (const key of Object.keys(attributes)) { From 8a486c7aea9c40ce1f9bbc58356c4d31f29ea409 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 24 Feb 2023 13:21:21 -0500 Subject: [PATCH 10/20] Remove unused import --- packages/opentelemetry-exporter-zipkin/src/transform.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/opentelemetry-exporter-zipkin/src/transform.ts b/packages/opentelemetry-exporter-zipkin/src/transform.ts index bef39a4617..f9e8436d35 100644 --- a/packages/opentelemetry-exporter-zipkin/src/transform.ts +++ b/packages/opentelemetry-exporter-zipkin/src/transform.ts @@ -18,7 +18,6 @@ import * as api from '@opentelemetry/api'; import { ReadableSpan, TimedEvent } from '@opentelemetry/sdk-trace-base'; import { hrTimeToMicroseconds } from '@opentelemetry/core'; import * as zipkinTypes from './types'; -import { IResource } from '@opentelemetry/resources'; const ZIPKIN_SPAN_KIND_MAPPING = { [api.SpanKind.CLIENT]: zipkinTypes.SpanKind.CLIENT, From f9d935cfc7825dc0276f7fe0ffb6df73a4a39205 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 24 Feb 2023 13:42:00 -0500 Subject: [PATCH 11/20] chore: lint --- packages/opentelemetry-exporter-zipkin/src/transform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-exporter-zipkin/src/transform.ts b/packages/opentelemetry-exporter-zipkin/src/transform.ts index f9e8436d35..94983057f6 100644 --- a/packages/opentelemetry-exporter-zipkin/src/transform.ts +++ b/packages/opentelemetry-exporter-zipkin/src/transform.ts @@ -70,7 +70,7 @@ export function _toZipkinTags( droppedLinksCount, }: ReadableSpan, statusCodeTagName: string, - statusErrorTagName: string, + statusErrorTagName: string ): zipkinTypes.Tags { const tags: { [key: string]: string } = {}; for (const key of Object.keys(attributes)) { From 18d82c683abdd4422b077ec02e9f89c5e68aef2d Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Tue, 28 Feb 2023 22:12:14 +0100 Subject: [PATCH 12/20] feat(sdk-trace-base): Remove dropped event attributes logic, add Jaeger field --- CHANGELOG.md | 3269 +++++++++-------- .../src/transform.ts | 6 + .../opentelemetry-sdk-trace-base/src/Span.ts | 36 +- 3 files changed, 1643 insertions(+), 1668 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eca414a612..0f32ef3fe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,97 +11,98 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) -* feat(resource): create sync resource with some attributes that resolve asynchronously [#3460](https://github.com/open-telemetry/opentelemetry-js/pull/3460) @samimusallam -* feat (api-logs): separate Events API into its own package [3550](https://github.com/open-telemetry/opentelemetry-js/pull/3550) @martinkuba -* feat(sdk-metrics): apply binary search in histogram recording [#3539](https://github.com/open-telemetry/opentelemetry-js/pull/3539) @legendecas -* perf(propagator-jaeger): improve deserializeSpanContext performance [#3541](https://github.com/open-telemetry/opentelemetry-js/pull/3541) @doochik -* feat: support TraceState in SamplingResult [#3530](https://github.com/open-telemetry/opentelemetry-js/pull/3530) @raphael-theriault-swi -* feat(sdk-trace-base): add diagnostic logging when spans are dropped [#3610](https://github.com/open-telemetry/opentelemetry-js/pull/3610) @neoeinstein +- feat(resource): create sync resource with some attributes that resolve asynchronously [#3460](https://github.com/open-telemetry/opentelemetry-js/pull/3460) @samimusallam +- feat (api-logs): separate Events API into its own package [3550](https://github.com/open-telemetry/opentelemetry-js/pull/3550) @martinkuba +- feat(sdk-metrics): apply binary search in histogram recording [#3539](https://github.com/open-telemetry/opentelemetry-js/pull/3539) @legendecas +- perf(propagator-jaeger): improve deserializeSpanContext performance [#3541](https://github.com/open-telemetry/opentelemetry-js/pull/3541) @doochik +- feat: support TraceState in SamplingResult [#3530](https://github.com/open-telemetry/opentelemetry-js/pull/3530) @raphael-theriault-swi +- feat(sdk-trace-base): add diagnostic logging when spans are dropped [#3610](https://github.com/open-telemetry/opentelemetry-js/pull/3610) @neoeinstein +- feat(sdk-trace-base): expose dropped counts for attributes, events and links on span [#3576](https://github.com/open-telemetry/opentelemetry-js/pull/3576) @mohitk05 ### :bug: (Bug Fix) -* fix(core): added falsy check to make otel core work with browser where webpack config had process as false or null [#3613](https://github.com/open-telemetry/opentelemetry-js/issues/3613) @ravindra-dyte +- fix(core): added falsy check to make otel core work with browser where webpack config had process as false or null [#3613](https://github.com/open-telemetry/opentelemetry-js/issues/3613) @ravindra-dyte ### :books: (Refine Doc) ### :house: (Internal) -* fix(sdk-metrics): ix flaky LastValueAggregator test by using fake timer [#3587](https://github.com/open-telemetry/opentelemetry-js/pull/3587) @pichlermarc +- fix(sdk-metrics): ix flaky LastValueAggregator test by using fake timer [#3587](https://github.com/open-telemetry/opentelemetry-js/pull/3587) @pichlermarc ## 1.9.1 ### :bug: (Bug Fix) -* fix: avoid grpc types dependency [#3551](https://github.com/open-telemetry/opentelemetry-js/pull/3551) @flarna -* fix(otlp-proto-exporter-base): Match Accept header with Content-Type in the proto exporter - [#3562](https://github.com/open-telemetry/opentelemetry-js/pull/3562) @scheler -* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna +- fix: avoid grpc types dependency [#3551](https://github.com/open-telemetry/opentelemetry-js/pull/3551) @flarna +- fix(otlp-proto-exporter-base): Match Accept header with Content-Type in the proto exporter + [#3562](https://github.com/open-telemetry/opentelemetry-js/pull/3562) @scheler +- fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna ### :house: (Internal) -* chore: fix cross project links and missing implicitly exported types [#3533](https://github.com/open-telemetry/opentelemetry-js/pull/3533) @legendecas -* feat(sdk-metrics): add exponential histogram mapping functions [#3504](https://github.com/open-telemetry/opentelemetry-js/pull/3504) @mwear +- chore: fix cross project links and missing implicitly exported types [#3533](https://github.com/open-telemetry/opentelemetry-js/pull/3533) @legendecas +- feat(sdk-metrics): add exponential histogram mapping functions [#3504](https://github.com/open-telemetry/opentelemetry-js/pull/3504) @mwear ## 1.9.0 ### :rocket: (Enhancement) -* feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans [#3430](https://github.com/open-telemetry/opentelemetry-js/pull/3430) -* feat(exporter-trace-otlp-proto): Add protobuf otlp trace exporter support for browser [#3208](https://github.com/open-telemetry/opentelemetry-js/pull/3208) @pkanal +- feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans [#3430](https://github.com/open-telemetry/opentelemetry-js/pull/3430) +- feat(exporter-trace-otlp-proto): Add protobuf otlp trace exporter support for browser [#3208](https://github.com/open-telemetry/opentelemetry-js/pull/3208) @pkanal ### :bug: (Bug Fix) -* fix(sdk-metrics): use default Resource to comply with semantic conventions [#3411](https://github.com/open-telemetry/opentelemetry-js/pull/3411) @pichlermarc - * Metrics exported by the SDK now contain the following resource attributes by default: - * `service.name` - * `telemetry.sdk.name` - * `telemetry.sdk.language` - * `telemetry.sdk.version` -* fix(sdk-metrics): use Date.now() for instrument recording timestamps [#3514](https://github.com/open-telemetry/opentelemetry-js/pull/3514) @MisterSquishy -* fix(sdk-trace): make spans resilient to clock drift [#3434](https://github.com/open-telemetry/opentelemetry-js/pull/3434) @dyladan -* fix(selenium-tests): updated webpack version for selenium test issue [#3456](https://github.com/open-telemetry/opentelemetry-js/issues/3456) @SaumyaBhushan -* fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes [#3517](https://github.com/open-telemetry/opentelemetry-js/pull/3517) @legendecas -* fix(sdk-metrics): fix duplicated registration of metrics for collectors [#3488](https://github.com/open-telemetry/opentelemetry-js/pull/3488) @legendecas -* fix(core): fix precision loss in numberToHrtime [#3480](https://github.com/open-telemetry/opentelemetry-js/pull/3480) @legendecas +- fix(sdk-metrics): use default Resource to comply with semantic conventions [#3411](https://github.com/open-telemetry/opentelemetry-js/pull/3411) @pichlermarc + - Metrics exported by the SDK now contain the following resource attributes by default: + - `service.name` + - `telemetry.sdk.name` + - `telemetry.sdk.language` + - `telemetry.sdk.version` +- fix(sdk-metrics): use Date.now() for instrument recording timestamps [#3514](https://github.com/open-telemetry/opentelemetry-js/pull/3514) @MisterSquishy +- fix(sdk-trace): make spans resilient to clock drift [#3434](https://github.com/open-telemetry/opentelemetry-js/pull/3434) @dyladan +- fix(selenium-tests): updated webpack version for selenium test issue [#3456](https://github.com/open-telemetry/opentelemetry-js/issues/3456) @SaumyaBhushan +- fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes [#3517](https://github.com/open-telemetry/opentelemetry-js/pull/3517) @legendecas +- fix(sdk-metrics): fix duplicated registration of metrics for collectors [#3488](https://github.com/open-telemetry/opentelemetry-js/pull/3488) @legendecas +- fix(core): fix precision loss in numberToHrtime [#3480](https://github.com/open-telemetry/opentelemetry-js/pull/3480) @legendecas ### :house: (Internal) -* chore: automatically generate tsconfigs [#3432](https://github.com/open-telemetry/opentelemetry-js/pull/3432) @legendecas -* chore: enforce format with prettier [#3444](https://github.com/open-telemetry/opentelemetry-js/pull/3444) @legendecas +- chore: automatically generate tsconfigs [#3432](https://github.com/open-telemetry/opentelemetry-js/pull/3432) @legendecas +- chore: enforce format with prettier [#3444](https://github.com/open-telemetry/opentelemetry-js/pull/3444) @legendecas ## 1.8.0 -* `@opentelemetry/sdk-metrics` has been promoted to stable -* `@opentelemetry/api-metrics` has been merged into `@opentelemetry/api` and deprecated +- `@opentelemetry/sdk-metrics` has been promoted to stable +- `@opentelemetry/api-metrics` has been merged into `@opentelemetry/api` and deprecated ### :boom: Breaking Change -* feat(api): merge api-metrics into api [#3374](https://github.com/open-telemetry/opentelemetry-js/pull/3374) @legendecas +- feat(api): merge api-metrics into api [#3374](https://github.com/open-telemetry/opentelemetry-js/pull/3374) @legendecas ### :rocket: (Enhancement) -* feat(sdk-trace): re-export sdk-trace-base in sdk-trace-node and web [#3319](https://github.com/open-telemetry/opentelemetry-js/pull/3319) @legendecas -* feat: enable tree shaking [#3329](https://github.com/open-telemetry/opentelemetry-js/pull/3329) @pkanal +- feat(sdk-trace): re-export sdk-trace-base in sdk-trace-node and web [#3319](https://github.com/open-telemetry/opentelemetry-js/pull/3319) @legendecas +- feat: enable tree shaking [#3329](https://github.com/open-telemetry/opentelemetry-js/pull/3329) @pkanal ### :bug: (Bug Fix) -* fix(sdk-trace): enforce consistent span durations +- fix(sdk-trace): enforce consistent span durations [#3327](https://github.com/open-telemetry/opentelemetry-js/pull/3327) @dyladan -* fix(resources): fix EnvDetector throwing errors when attribute values contain spaces +- fix(resources): fix EnvDetector throwing errors when attribute values contain spaces [#3295](https://github.com/open-telemetry/opentelemetry-js/issues/3295) -* fix(trace): fix an issue which caused negative span durations in web based spans +- fix(trace): fix an issue which caused negative span durations in web based spans [#3359](https://github.com/open-telemetry/opentelemetry-js/pull/3359) @dyladan -* fix(resources): strict OTEL_RESOURCE_ATTRIBUTES baggage octet decoding +- fix(resources): strict OTEL_RESOURCE_ATTRIBUTES baggage octet decoding [#3341](https://github.com/open-telemetry/opentelemetry-js/pull/3341) @legendecas ### :books: (Refine Doc) -* doc: Added Metrics documentation [#3360](https://github.com/open-telemetry/opentelemetry-js/pull/3360) @weyert -* docs(api): fix counter negative value wording [#3396](https://github.com/open-telemetry/opentelemetry-js/pull/3396) @legendecas +- doc: Added Metrics documentation [#3360](https://github.com/open-telemetry/opentelemetry-js/pull/3360) @weyert +- docs(api): fix counter negative value wording [#3396](https://github.com/open-telemetry/opentelemetry-js/pull/3396) @legendecas ### :house: (Internal) -* ci: run browser tests without circle [#3328](https://github.com/open-telemetry/opentelemetry-js/pull/3328) @dyladan +- ci: run browser tests without circle [#3328](https://github.com/open-telemetry/opentelemetry-js/pull/3328) @dyladan ## Metrics API 1.0.0 @@ -110,87 +111,87 @@ There are no changes between 1.0.0 and the previous 0.33.0 version. ### :boom: Breaking Change -* Add semver check to metrics API [#3357](https://github.com/open-telemetry/opentelemetry-js/pull/3357) @dyladan - * Previously API versions were only considered compatible if the API was exactly the same +- Add semver check to metrics API [#3357](https://github.com/open-telemetry/opentelemetry-js/pull/3357) @dyladan + - Previously API versions were only considered compatible if the API was exactly the same ## 1.7.0 ### :bug: (Bug Fix) -* fix(sdk-trace-base): make span start times resistant to hrtime clock drift +- fix(sdk-trace-base): make span start times resistant to hrtime clock drift [#3129](https://github.com/open-telemetry/opentelemetry-js/issues/3129) -* fix(sdk-trace-base): validate maxExportBatchSize in BatchSpanProcessorBase +- fix(sdk-trace-base): validate maxExportBatchSize in BatchSpanProcessorBase [#3232](https://github.com/open-telemetry/opentelemetry-js/issues/3232) ### :books: (Refine Doc) -* docs(metrics): add missing metrics packages to SDK reference documentation [#3239](https://github.com/open-telemetry/opentelemetry-js/pull/3239) @dyladan +- docs(metrics): add missing metrics packages to SDK reference documentation [#3239](https://github.com/open-telemetry/opentelemetry-js/pull/3239) @dyladan ### :house: (Internal) -* deps: update markdownlint-cli to 0.32.2 [#3253](https://github.com/open-telemetry/opentelemetry-js/pull/3253) @pichlermarc +- deps: update markdownlint-cli to 0.32.2 [#3253](https://github.com/open-telemetry/opentelemetry-js/pull/3253) @pichlermarc ## 1.6.0 ### :rocket: (Enhancement) -* perf(opentelemetry-core): improve hexToBase64 performance [#3178](https://github.com/open-telemetry/opentelemetry-js/pull/3178) @seemk -* 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 -* feat: support latest `@opentelemetry/api` [#3177](https://github.com/open-telemetry/opentelemetry-js/pull/3177) @dyladan +- perf(opentelemetry-core): improve hexToBase64 performance [#3178](https://github.com/open-telemetry/opentelemetry-js/pull/3178) @seemk +- 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 +- feat: support latest `@opentelemetry/api` [#3177](https://github.com/open-telemetry/opentelemetry-js/pull/3177) @dyladan ### :bug: (Bug Fix) -* fix(context-async-hooks): Ensure listeners added using `once` can be removed using `removeListener` +- fix(context-async-hooks): Ensure listeners added using `once` can be removed using `removeListener` [#3133](https://github.com/open-telemetry/opentelemetry-js/pull/3133) ### :books: (Refine Doc) -* chore: update trace-web example and rename it to opentelemetry-web [#3145](https://github.com/open-telemetry/opentelemetry-js/pull/3145) @pichlermarc -* chore: update https example [#3152](https://github.com/open-telemetry/opentelemetry-js/pull/3152) @pichlermarc +- chore: update trace-web example and rename it to opentelemetry-web [#3145](https://github.com/open-telemetry/opentelemetry-js/pull/3145) @pichlermarc +- chore: update https example [#3152](https://github.com/open-telemetry/opentelemetry-js/pull/3152) @pichlermarc ## 1.5.0 ### :rocket: (Enhancement) -* feat(sdk-trace-base): Improve extensibility of BasicTracerProvider [#3023](https://github.com/open-telemetry/opentelemetry-js/pull/3023) @Rauno56 +- feat(sdk-trace-base): Improve extensibility of BasicTracerProvider [#3023](https://github.com/open-telemetry/opentelemetry-js/pull/3023) @Rauno56 ## 1.4.0 ### :rocket: (Enhancement) -* fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas -* fix(sdk-trace-base): fix crash on environments without global document [#3000](https://github.com/open-telemetry/opentelemetry-js/pull/3000) @legendecas -* fix(sdk-trace-base): fix spanLimits attribute length/count to consider env values [#3068](https://github.com/open-telemetry/opentelemetry-js/pull/3068) @svetlanabrennan +- fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas +- fix(sdk-trace-base): fix crash on environments without global document [#3000](https://github.com/open-telemetry/opentelemetry-js/pull/3000) @legendecas +- fix(sdk-trace-base): fix spanLimits attribute length/count to consider env values [#3068](https://github.com/open-telemetry/opentelemetry-js/pull/3068) @svetlanabrennan ### :house: (Internal) -* test: add node 18 and remove EoL node versions [#3048](https://github.com/open-telemetry/opentelemetry-js/pull/3048) @dyladan +- test: add node 18 and remove EoL node versions [#3048](https://github.com/open-telemetry/opentelemetry-js/pull/3048) @dyladan ## 1.3.1 ### :bug: (Bug Fix) -* fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas +- fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas ## 1.3.0 ### :boom: Breaking Change -* chore: remove unused InstrumentationConfig#path [#2944](https://github.com/open-telemetry/opentelemetry-js/pull/2944) @flarna +- chore: remove unused InstrumentationConfig#path [#2944](https://github.com/open-telemetry/opentelemetry-js/pull/2944) @flarna ### :rocket: (Enhancement) -* feat(ConsoleSpanExporter): export span links [#2917](https://github.com/open-telemetry/opentelemetry-js/pull/2917) @trentm -* feat: warn when hooked module is already loaded [#2926](https://github.com/open-telemetry/opentelemetry-js/pull/2926) @nozik -* feat: implement OSDetector [#2927](https://github.com/open-telemetry/opentelemetry-js/pull/2927) @rauno56 -* feat: implement HostDetector [#2921](https://github.com/open-telemetry/opentelemetry-js/pull/2921) @rauno56 -* feat(opentelemetry-core): add InstrumentationScope [#2959](https://github.com/open-telemetry/opentelemetry-js/pull/2959) @pichlermarc +- feat(ConsoleSpanExporter): export span links [#2917](https://github.com/open-telemetry/opentelemetry-js/pull/2917) @trentm +- feat: warn when hooked module is already loaded [#2926](https://github.com/open-telemetry/opentelemetry-js/pull/2926) @nozik +- feat: implement OSDetector [#2927](https://github.com/open-telemetry/opentelemetry-js/pull/2927) @rauno56 +- feat: implement HostDetector [#2921](https://github.com/open-telemetry/opentelemetry-js/pull/2921) @rauno56 +- feat(opentelemetry-core): add InstrumentationScope [#2959](https://github.com/open-telemetry/opentelemetry-js/pull/2959) @pichlermarc ### :bug: (Bug Fix) -* fix(sdk-web): parse url with relative url string [#2972](https://github.com/open-telemetry/opentelemetry-js/pull/2972) @legendecas +- fix(sdk-web): parse url with relative url string [#2972](https://github.com/open-telemetry/opentelemetry-js/pull/2972) @legendecas ### :books: (Refine Doc) @@ -204,259 +205,259 @@ There are no changes between 1.0.0 and the previous 0.33.0 version. ### :bug: (Bug Fix) -* fix: sanitize attributes inputs [#2881](https://github.com/open-telemetry/opentelemetry-js/pull/2881) @legendecas -* fix: support earlier API versions [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan -* fix: support extract one digit '0' in jaeger traceFlag [#2905](https://github.com/open-telemetry/opentelemetry-js/issues/2905) @shmilyoo -* fix(resources): extend ResourceAttributes interface to comply with spec [#2924](https://github.com/open-telemetry/opentelemetry-js/pull/2924) @blumamir +- fix: sanitize attributes inputs [#2881](https://github.com/open-telemetry/opentelemetry-js/pull/2881) @legendecas +- fix: support earlier API versions [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan +- fix: support extract one digit '0' in jaeger traceFlag [#2905](https://github.com/open-telemetry/opentelemetry-js/issues/2905) @shmilyoo +- fix(resources): extend ResourceAttributes interface to comply with spec [#2924](https://github.com/open-telemetry/opentelemetry-js/pull/2924) @blumamir ### :books: (Refine Doc) -* docs(sdk): update earliest support node version [#2860](https://github.com/open-telemetry/opentelemetry-js/pull/2860) @svetlanabrennan +- docs(sdk): update earliest support node version [#2860](https://github.com/open-telemetry/opentelemetry-js/pull/2860) @svetlanabrennan ### :house: (Internal) -* chore: require changelog entry to merge PR [#2847](https://github.com/open-telemetry/opentelemetry-js/pull/2847) @dyladan -* chore: remove peer API check [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan -* chore: merge lerna subdirectories into a single monorepo [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan -* chore: indent the code with eslint [#2923](https://github.com/open-telemetry/opentelemetry-js/pull/2923) @blumamir -* `opentelemetry-propagator-jaeger` - * [#2906](https://github.com/open-telemetry/opentelemetry-js/pull/2906) fix: support extract one digit '0' in jaeger traceFlag ([@shmilyoo](https://github.com/shmilyoo)) +- chore: require changelog entry to merge PR [#2847](https://github.com/open-telemetry/opentelemetry-js/pull/2847) @dyladan +- chore: remove peer API check [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan +- chore: merge lerna subdirectories into a single monorepo [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan +- chore: indent the code with eslint [#2923](https://github.com/open-telemetry/opentelemetry-js/pull/2923) @blumamir +- `opentelemetry-propagator-jaeger` + - [#2906](https://github.com/open-telemetry/opentelemetry-js/pull/2906) fix: support extract one digit '0' in jaeger traceFlag ([@shmilyoo](https://github.com/shmilyoo)) ## 1.1.1 -* [#2849](https://github.com/open-telemetry/opentelemetry-js/pull/2849) fix: correct changelog and compat matrix for 1.1 release ([@Flarna](https://github.com/Flarna)) -* [#2823](https://github.com/open-telemetry/opentelemetry-js/pull/2823) fix: enable downlevelIteration for es5 targets ([@legendecas](https://github.com/legendecas)) -* [#2844](https://github.com/open-telemetry/opentelemetry-js/pull/2844) chore: add prepublishOnly to ensure a full build ([@legendecas](https://github.com/legendecas)) +- [#2849](https://github.com/open-telemetry/opentelemetry-js/pull/2849) fix: correct changelog and compat matrix for 1.1 release ([@Flarna](https://github.com/Flarna)) +- [#2823](https://github.com/open-telemetry/opentelemetry-js/pull/2823) fix: enable downlevelIteration for es5 targets ([@legendecas](https://github.com/legendecas)) +- [#2844](https://github.com/open-telemetry/opentelemetry-js/pull/2844) chore: add prepublishOnly to ensure a full build ([@legendecas](https://github.com/legendecas)) ## 1.1.0 ### :rocket: (Enhancement) -* `opentelemetry-resources` - * [#2727](https://github.com/open-telemetry/opentelemetry-js/pull/2727) feat(opentelemetry-resources): add runtime version information ([@cuichenli](https://github.com/cuichenli)) -* `exporter-trace-otlp-http`, `opentelemetry-core` - * [#2796](https://github.com/open-telemetry/opentelemetry-js/pull/2796) feat(trace-otlp-http-exporter): add compression env vars ([@svetlanabrennan](https://github.com/svetlanabrennan)) -* `instrumentation-http` - * [#2704](https://github.com/open-telemetry/opentelemetry-js/pull/2704) feat(instrumentation-http): add options to ignore requests ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-core`, `opentelemetry-exporter-jaeger` - * [#2754](https://github.com/open-telemetry/opentelemetry-js/pull/2754) fix(exporter-jaeger): add env variable for agent port ([@blumamir](https://github.com/blumamir)) -* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - * [#2737](https://github.com/open-telemetry/opentelemetry-js/pull/2737) feat: add support for API 1.1.x ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-sdk-trace-web` - * [#2719](https://github.com/open-telemetry/opentelemetry-js/pull/2719) feat(sdk-trace-web): web worker support ([@legendecas](https://github.com/legendecas)) -* `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` - * [#2557](https://github.com/open-telemetry/opentelemetry-js/pull/2557) feat(otlp-exporter-http): change otlp-http port to canonical 4318 ([@secustor](https://github.com/secustor)) -* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-sdk-trace-base` - * [#2695](https://github.com/open-telemetry/opentelemetry-js/pull/2695) refactor: unifying shutdown once with BindOnceFuture ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-propagator-jaeger` - * [#2673](https://github.com/open-telemetry/opentelemetry-js/pull/2673) feat(@opentelemetry/propagator-jaeger): support custom baggage prefix ([@sschegolev](https://github.com/sschegolev)) -* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` - * [#2626](https://github.com/open-telemetry/opentelemetry-js/pull/2626) chore: bump otlp trace exporters to v1 ([@Rauno56](https://github.com/Rauno56)) -* `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` - * [#2556](https://github.com/open-telemetry/opentelemetry-js/pull/2556) chore: add esm2015 entry for web apps aiming at modern browsers ([@echoontheway](https://github.com/echoontheway)) +- `opentelemetry-resources` + - [#2727](https://github.com/open-telemetry/opentelemetry-js/pull/2727) feat(opentelemetry-resources): add runtime version information ([@cuichenli](https://github.com/cuichenli)) +- `exporter-trace-otlp-http`, `opentelemetry-core` + - [#2796](https://github.com/open-telemetry/opentelemetry-js/pull/2796) feat(trace-otlp-http-exporter): add compression env vars ([@svetlanabrennan](https://github.com/svetlanabrennan)) +- `instrumentation-http` + - [#2704](https://github.com/open-telemetry/opentelemetry-js/pull/2704) feat(instrumentation-http): add options to ignore requests ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-core`, `opentelemetry-exporter-jaeger` + - [#2754](https://github.com/open-telemetry/opentelemetry-js/pull/2754) fix(exporter-jaeger): add env variable for agent port ([@blumamir](https://github.com/blumamir)) +- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + - [#2737](https://github.com/open-telemetry/opentelemetry-js/pull/2737) feat: add support for API 1.1.x ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-sdk-trace-web` + - [#2719](https://github.com/open-telemetry/opentelemetry-js/pull/2719) feat(sdk-trace-web): web worker support ([@legendecas](https://github.com/legendecas)) +- `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` + - [#2557](https://github.com/open-telemetry/opentelemetry-js/pull/2557) feat(otlp-exporter-http): change otlp-http port to canonical 4318 ([@secustor](https://github.com/secustor)) +- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-sdk-trace-base` + - [#2695](https://github.com/open-telemetry/opentelemetry-js/pull/2695) refactor: unifying shutdown once with BindOnceFuture ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-propagator-jaeger` + - [#2673](https://github.com/open-telemetry/opentelemetry-js/pull/2673) feat(@opentelemetry/propagator-jaeger): support custom baggage prefix ([@sschegolev](https://github.com/sschegolev)) +- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` + - [#2626](https://github.com/open-telemetry/opentelemetry-js/pull/2626) chore: bump otlp trace exporters to v1 ([@Rauno56](https://github.com/Rauno56)) +- `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` + - [#2556](https://github.com/open-telemetry/opentelemetry-js/pull/2556) chore: add esm2015 entry for web apps aiming at modern browsers ([@echoontheway](https://github.com/echoontheway)) ### :bug: (Bug Fix) -* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` - * [#2788](https://github.com/open-telemetry/opentelemetry-js/pull/2788) fix(deps): use 1.x trace otlp http exporter ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-sdk-trace-base` - * [#2790](https://github.com/open-telemetry/opentelemetry-js/pull/2790) fix: pass same context to Sampler and SpanProcessor in root span case ([@Flarna](https://github.com/Flarna)) - * [#2757](https://github.com/open-telemetry/opentelemetry-js/pull/2757) fix: add parentContext to onStart ([@Flarna](https://github.com/Flarna)) - * [#2678](https://github.com/open-telemetry/opentelemetry-js/pull/2678) fix: span attribute count and value limits (#2671) ([@Bataran](https://github.com/Bataran)) - * [#2679](https://github.com/open-telemetry/opentelemetry-js/pull/2679) fix: span events count limit when set to 0 ([@Bataran](https://github.com/Bataran)) -* `opentelemetry-core` - * [#2766](https://github.com/open-telemetry/opentelemetry-js/pull/2766) fix(baggage): include baggage metadata when propagating baggage entries ([@chrskrchr](https://github.com/chrskrchr)) -* `opentelemetry-exporter-jaeger` - * [#2731](https://github.com/open-telemetry/opentelemetry-js/pull/2731) fix(exporter-jaeger): transform all links to jaeger reference ([@blumamir](https://github.com/blumamir)) -* `opentelemetry-resources` - * [#2739](https://github.com/open-telemetry/opentelemetry-js/pull/2739) fix(resources): align exported names in different environments ([@legendecas](https://github.com/legendecas)) -* Other - * [#2680](https://github.com/open-telemetry/opentelemetry-js/pull/2680) fix: tracer typo in fetchxhr examples ([@MSNev](https://github.com/MSNev)) - * [#2650](https://github.com/open-telemetry/opentelemetry-js/pull/2650) fix: clientMethodTrace missing original properties ([@bgpo](https://github.com/bgpo)) -* `opentelemetry-propagator-jaeger` - * [#2694](https://github.com/open-telemetry/opentelemetry-js/pull/2694) fix(propagator-jaeger): 0-pad span-id to match 16-symbol validation ([@nikolaylagutko](https://github.com/nikolaylagutko)) -* `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-web` - * [#2689](https://github.com/open-telemetry/opentelemetry-js/pull/2689) fix: remove window and document dependencies in web packages ([@legendecas](https://github.com/legendecas)) +- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` + - [#2788](https://github.com/open-telemetry/opentelemetry-js/pull/2788) fix(deps): use 1.x trace otlp http exporter ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-sdk-trace-base` + - [#2790](https://github.com/open-telemetry/opentelemetry-js/pull/2790) fix: pass same context to Sampler and SpanProcessor in root span case ([@Flarna](https://github.com/Flarna)) + - [#2757](https://github.com/open-telemetry/opentelemetry-js/pull/2757) fix: add parentContext to onStart ([@Flarna](https://github.com/Flarna)) + - [#2678](https://github.com/open-telemetry/opentelemetry-js/pull/2678) fix: span attribute count and value limits (#2671) ([@Bataran](https://github.com/Bataran)) + - [#2679](https://github.com/open-telemetry/opentelemetry-js/pull/2679) fix: span events count limit when set to 0 ([@Bataran](https://github.com/Bataran)) +- `opentelemetry-core` + - [#2766](https://github.com/open-telemetry/opentelemetry-js/pull/2766) fix(baggage): include baggage metadata when propagating baggage entries ([@chrskrchr](https://github.com/chrskrchr)) +- `opentelemetry-exporter-jaeger` + - [#2731](https://github.com/open-telemetry/opentelemetry-js/pull/2731) fix(exporter-jaeger): transform all links to jaeger reference ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-resources` + - [#2739](https://github.com/open-telemetry/opentelemetry-js/pull/2739) fix(resources): align exported names in different environments ([@legendecas](https://github.com/legendecas)) +- Other + - [#2680](https://github.com/open-telemetry/opentelemetry-js/pull/2680) fix: tracer typo in fetchxhr examples ([@MSNev](https://github.com/MSNev)) + - [#2650](https://github.com/open-telemetry/opentelemetry-js/pull/2650) fix: clientMethodTrace missing original properties ([@bgpo](https://github.com/bgpo)) +- `opentelemetry-propagator-jaeger` + - [#2694](https://github.com/open-telemetry/opentelemetry-js/pull/2694) fix(propagator-jaeger): 0-pad span-id to match 16-symbol validation ([@nikolaylagutko](https://github.com/nikolaylagutko)) +- `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-web` + - [#2689](https://github.com/open-telemetry/opentelemetry-js/pull/2689) fix: remove window and document dependencies in web packages ([@legendecas](https://github.com/legendecas)) ### :books: (Refine Doc) -* Other - * [#2830](https://github.com/open-telemetry/opentelemetry-js/pull/2830) Cleanup removed documentation for missing benchmarks ([@dmathieu](https://github.com/dmathieu)) - * [#2807](https://github.com/open-telemetry/opentelemetry-js/pull/2807) docs: document removal of shutdown flag in OTLPExporterBase ([@legendecas](https://github.com/legendecas)) - * [#2814](https://github.com/open-telemetry/opentelemetry-js/pull/2814) docs: simplify contrib part in readme ([@Flarna](https://github.com/Flarna)) - * [#2802](https://github.com/open-telemetry/opentelemetry-js/pull/2802) docs(prom-example): remove deprecated startServer option ([@naseemkullah](https://github.com/naseemkullah)) - * [#2728](https://github.com/open-telemetry/opentelemetry-js/pull/2728) docs: specify minimun version of npm to run command in subproject ([@cuichenli](https://github.com/cuichenli)) - * [#2720](https://github.com/open-telemetry/opentelemetry-js/pull/2720) docs: document node v10 EOL ([@YanivD](https://github.com/YanivD)) - * [#2688](https://github.com/open-telemetry/opentelemetry-js/pull/2688) docs: update typedoc config ([@dyladan](https://github.com/dyladan)) - * [#2685](https://github.com/open-telemetry/opentelemetry-js/pull/2685) docs: remove circle-ci from development guide, update link, and fix typo. ([@pichlermarc](https://github.com/pichlermarc)) - * [#2661](https://github.com/open-telemetry/opentelemetry-js/pull/2661) chore: update and fix tracer-web examples ([@MSNev](https://github.com/MSNev)) - * [#2647](https://github.com/open-telemetry/opentelemetry-js/pull/2647) chore: update opentelemetry dependencies to latest versions ([@svetlanabrennan](https://github.com/svetlanabrennan)) -* `exporter-trace-otlp-grpc` - * [#2726](https://github.com/open-telemetry/opentelemetry-js/pull/2726) docs(otlp-grpc-exporter): update default url ([@svetlanabrennan](https://github.com/svetlanabrennan)) -* `opentelemetry-context-async-hooks` - * [#2619](https://github.com/open-telemetry/opentelemetry-js/pull/2619) docs(context): Fix links, edit prose ([@spencerwilson](https://github.com/spencerwilson)) -* `opentelemetry-context-async-hooks`, `opentelemetry-sdk-trace-node` - * [#2651](https://github.com/open-telemetry/opentelemetry-js/pull/2651) docs: fix links to the context document ([@legendecas](https://github.com/legendecas)) +- Other + - [#2830](https://github.com/open-telemetry/opentelemetry-js/pull/2830) Cleanup removed documentation for missing benchmarks ([@dmathieu](https://github.com/dmathieu)) + - [#2807](https://github.com/open-telemetry/opentelemetry-js/pull/2807) docs: document removal of shutdown flag in OTLPExporterBase ([@legendecas](https://github.com/legendecas)) + - [#2814](https://github.com/open-telemetry/opentelemetry-js/pull/2814) docs: simplify contrib part in readme ([@Flarna](https://github.com/Flarna)) + - [#2802](https://github.com/open-telemetry/opentelemetry-js/pull/2802) docs(prom-example): remove deprecated startServer option ([@naseemkullah](https://github.com/naseemkullah)) + - [#2728](https://github.com/open-telemetry/opentelemetry-js/pull/2728) docs: specify minimun version of npm to run command in subproject ([@cuichenli](https://github.com/cuichenli)) + - [#2720](https://github.com/open-telemetry/opentelemetry-js/pull/2720) docs: document node v10 EOL ([@YanivD](https://github.com/YanivD)) + - [#2688](https://github.com/open-telemetry/opentelemetry-js/pull/2688) docs: update typedoc config ([@dyladan](https://github.com/dyladan)) + - [#2685](https://github.com/open-telemetry/opentelemetry-js/pull/2685) docs: remove circle-ci from development guide, update link, and fix typo. ([@pichlermarc](https://github.com/pichlermarc)) + - [#2661](https://github.com/open-telemetry/opentelemetry-js/pull/2661) chore: update and fix tracer-web examples ([@MSNev](https://github.com/MSNev)) + - [#2647](https://github.com/open-telemetry/opentelemetry-js/pull/2647) chore: update opentelemetry dependencies to latest versions ([@svetlanabrennan](https://github.com/svetlanabrennan)) +- `exporter-trace-otlp-grpc` + - [#2726](https://github.com/open-telemetry/opentelemetry-js/pull/2726) docs(otlp-grpc-exporter): update default url ([@svetlanabrennan](https://github.com/svetlanabrennan)) +- `opentelemetry-context-async-hooks` + - [#2619](https://github.com/open-telemetry/opentelemetry-js/pull/2619) docs(context): Fix links, edit prose ([@spencerwilson](https://github.com/spencerwilson)) +- `opentelemetry-context-async-hooks`, `opentelemetry-sdk-trace-node` + - [#2651](https://github.com/open-telemetry/opentelemetry-js/pull/2651) docs: fix links to the context document ([@legendecas](https://github.com/legendecas)) ### :house: (Internal) -* `opentelemetry-sdk-trace-base` - * [#2768](https://github.com/open-telemetry/opentelemetry-js/pull/2768) test(sdk-trace-base): pin core.hrtime dependencies on timeOrigin ([@legendecas](https://github.com/legendecas)) -* `exporter-trace-otlp-http`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` - * [#2765](https://github.com/open-telemetry/opentelemetry-js/pull/2765) chore: target to es2017 in the no-polyfill target ([@legendecas](https://github.com/legendecas)) -* Other - * [#2743](https://github.com/open-telemetry/opentelemetry-js/pull/2743) test(sdk-metrics-base): test metric instrument interfaces ([@legendecas](https://github.com/legendecas)) - * [#2752](https://github.com/open-telemetry/opentelemetry-js/pull/2752) test(integration-w3c): fix inconsistent api versions loaded ([@legendecas](https://github.com/legendecas)) - * [#2715](https://github.com/open-telemetry/opentelemetry-js/pull/2715) chore: update actions/checkout to v2 ([@legendecas](https://github.com/legendecas)) - * [#2702](https://github.com/open-telemetry/opentelemetry-js/pull/2702) chore: add Chengzhong Wu as maintainer ([@dyladan](https://github.com/dyladan)) - * [#2703](https://github.com/open-telemetry/opentelemetry-js/pull/2703) chore: add Amir Blum as maintainer ([@dyladan](https://github.com/dyladan)) - * [#2701](https://github.com/open-telemetry/opentelemetry-js/pull/2701) chore: add Rauno Viskus as maintainer ([@dyladan](https://github.com/dyladan)) - * [#2693](https://github.com/open-telemetry/opentelemetry-js/pull/2693) chore: retry link checks on code 429 with 'retry-after' header ([@legendecas](https://github.com/legendecas)) - * [#2669](https://github.com/open-telemetry/opentelemetry-js/pull/2669) chore: checks links in typedoc html ([@legendecas](https://github.com/legendecas)) - * [#2683](https://github.com/open-telemetry/opentelemetry-js/pull/2683) chore: start a style guide ([@dyladan](https://github.com/dyladan)) - * [#2684](https://github.com/open-telemetry/opentelemetry-js/pull/2684) chore: remove @obecny as maintainer ([@dyladan](https://github.com/dyladan)) - * [#2663](https://github.com/open-telemetry/opentelemetry-js/pull/2663) chore: fix nojekyll in docs command ([@dyladan](https://github.com/dyladan)) - * [#2648](https://github.com/open-telemetry/opentelemetry-js/pull/2648) refactor(opentelemetry-sdk-node): remove redundant judgments for metric ([@rickyes](https://github.com/rickyes)) - * [#2638](https://github.com/open-telemetry/opentelemetry-js/pull/2638) chore: Update wip metrics references ([@dyladan](https://github.com/dyladan)) - * [#2629](https://github.com/open-telemetry/opentelemetry-js/pull/2629) chore: rename metrics packages to prevent lerna linking ([@dyladan](https://github.com/dyladan)) - * [#2623](https://github.com/open-telemetry/opentelemetry-js/pull/2623) chore: fix the compilation for typescript 4.4 ([@dyladan](https://github.com/dyladan)) - * [#2598](https://github.com/open-telemetry/opentelemetry-js/pull/2598) chore: Remove old metrics SDK ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core` - * [#2709](https://github.com/open-telemetry/opentelemetry-js/pull/2709) test(sdk-metrics): browser compatibility tests ([@legendecas](https://github.com/legendecas)) -* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` - * [#2710](https://github.com/open-telemetry/opentelemetry-js/pull/2710) chore: apply eslint rule semi ([@legendecas](https://github.com/legendecas)) -* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `template` - * [#2699](https://github.com/open-telemetry/opentelemetry-js/pull/2699) chore: rename `--include-filtered-dependencies` ([@Rauno56](https://github.com/Rauno56)) -* `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing` - * [#2657](https://github.com/open-telemetry/opentelemetry-js/pull/2657) chore: add markdown link checks ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-resources`, `opentelemetry-semantic-conventions` - * [#2652](https://github.com/open-telemetry/opentelemetry-js/pull/2652) Update nock ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-sdk-trace-web` - * [#2451](https://github.com/open-telemetry/opentelemetry-js/pull/2451) chore(sdk-trace-web): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-sdk-trace-base` + - [#2768](https://github.com/open-telemetry/opentelemetry-js/pull/2768) test(sdk-trace-base): pin core.hrtime dependencies on timeOrigin ([@legendecas](https://github.com/legendecas)) +- `exporter-trace-otlp-http`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` + - [#2765](https://github.com/open-telemetry/opentelemetry-js/pull/2765) chore: target to es2017 in the no-polyfill target ([@legendecas](https://github.com/legendecas)) +- Other + - [#2743](https://github.com/open-telemetry/opentelemetry-js/pull/2743) test(sdk-metrics-base): test metric instrument interfaces ([@legendecas](https://github.com/legendecas)) + - [#2752](https://github.com/open-telemetry/opentelemetry-js/pull/2752) test(integration-w3c): fix inconsistent api versions loaded ([@legendecas](https://github.com/legendecas)) + - [#2715](https://github.com/open-telemetry/opentelemetry-js/pull/2715) chore: update actions/checkout to v2 ([@legendecas](https://github.com/legendecas)) + - [#2702](https://github.com/open-telemetry/opentelemetry-js/pull/2702) chore: add Chengzhong Wu as maintainer ([@dyladan](https://github.com/dyladan)) + - [#2703](https://github.com/open-telemetry/opentelemetry-js/pull/2703) chore: add Amir Blum as maintainer ([@dyladan](https://github.com/dyladan)) + - [#2701](https://github.com/open-telemetry/opentelemetry-js/pull/2701) chore: add Rauno Viskus as maintainer ([@dyladan](https://github.com/dyladan)) + - [#2693](https://github.com/open-telemetry/opentelemetry-js/pull/2693) chore: retry link checks on code 429 with 'retry-after' header ([@legendecas](https://github.com/legendecas)) + - [#2669](https://github.com/open-telemetry/opentelemetry-js/pull/2669) chore: checks links in typedoc html ([@legendecas](https://github.com/legendecas)) + - [#2683](https://github.com/open-telemetry/opentelemetry-js/pull/2683) chore: start a style guide ([@dyladan](https://github.com/dyladan)) + - [#2684](https://github.com/open-telemetry/opentelemetry-js/pull/2684) chore: remove @obecny as maintainer ([@dyladan](https://github.com/dyladan)) + - [#2663](https://github.com/open-telemetry/opentelemetry-js/pull/2663) chore: fix nojekyll in docs command ([@dyladan](https://github.com/dyladan)) + - [#2648](https://github.com/open-telemetry/opentelemetry-js/pull/2648) refactor(opentelemetry-sdk-node): remove redundant judgments for metric ([@rickyes](https://github.com/rickyes)) + - [#2638](https://github.com/open-telemetry/opentelemetry-js/pull/2638) chore: Update wip metrics references ([@dyladan](https://github.com/dyladan)) + - [#2629](https://github.com/open-telemetry/opentelemetry-js/pull/2629) chore: rename metrics packages to prevent lerna linking ([@dyladan](https://github.com/dyladan)) + - [#2623](https://github.com/open-telemetry/opentelemetry-js/pull/2623) chore: fix the compilation for typescript 4.4 ([@dyladan](https://github.com/dyladan)) + - [#2598](https://github.com/open-telemetry/opentelemetry-js/pull/2598) chore: Remove old metrics SDK ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core` + - [#2709](https://github.com/open-telemetry/opentelemetry-js/pull/2709) test(sdk-metrics): browser compatibility tests ([@legendecas](https://github.com/legendecas)) +- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` + - [#2710](https://github.com/open-telemetry/opentelemetry-js/pull/2710) chore: apply eslint rule semi ([@legendecas](https://github.com/legendecas)) +- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `template` + - [#2699](https://github.com/open-telemetry/opentelemetry-js/pull/2699) chore: rename `--include-filtered-dependencies` ([@Rauno56](https://github.com/Rauno56)) +- `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing` + - [#2657](https://github.com/open-telemetry/opentelemetry-js/pull/2657) chore: add markdown link checks ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-resources`, `opentelemetry-semantic-conventions` + - [#2652](https://github.com/open-telemetry/opentelemetry-js/pull/2652) Update nock ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-sdk-trace-web` + - [#2451](https://github.com/open-telemetry/opentelemetry-js/pull/2451) chore(sdk-trace-web): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) ### Committers: 24 -* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -* Amir Blum ([@blumamir](https://github.com/blumamir)) -* Chris Karcher ([@chrskrchr](https://github.com/chrskrchr)) -* Damien Mathieu ([@dmathieu](https://github.com/dmathieu)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Marc Pichler ([@pichlermarc](https://github.com/pichlermarc)) -* Mitar Milanovic ([@Bataran](https://github.com/Bataran)) -* Nev ([@MSNev](https://github.com/MSNev)) -* Nikolay Lagutko ([@nikolaylagutko](https://github.com/nikolaylagutko)) -* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -* Ricky Zhou ([@rickyes](https://github.com/rickyes)) -* Sebastian Poxhofer ([@secustor](https://github.com/secustor)) -* Siim Kallas ([@seemk](https://github.com/seemk)) -* Spencer Wilson ([@spencerwilson](https://github.com/spencerwilson)) -* Srikanth Chekuri ([@srikanthccv](https://github.com/srikanthccv)) -* Svetlana Brennan ([@svetlanabrennan](https://github.com/svetlanabrennan)) -* Will Li ([@cuichenli](https://github.com/cuichenli)) -* Yaniv Davidi ([@YanivD](https://github.com/YanivD)) -* [@bgpo](https://github.com/bgpo) -* [@echoontheway](https://github.com/echoontheway) -* [@naseemkullah](https://github.com/naseemkullah) -* [@sschegolev](https://github.com/sschegolev) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +- Amir Blum ([@blumamir](https://github.com/blumamir)) +- Chris Karcher ([@chrskrchr](https://github.com/chrskrchr)) +- Damien Mathieu ([@dmathieu](https://github.com/dmathieu)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Marc Pichler ([@pichlermarc](https://github.com/pichlermarc)) +- Mitar Milanovic ([@Bataran](https://github.com/Bataran)) +- Nev ([@MSNev](https://github.com/MSNev)) +- Nikolay Lagutko ([@nikolaylagutko](https://github.com/nikolaylagutko)) +- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +- Ricky Zhou ([@rickyes](https://github.com/rickyes)) +- Sebastian Poxhofer ([@secustor](https://github.com/secustor)) +- Siim Kallas ([@seemk](https://github.com/seemk)) +- Spencer Wilson ([@spencerwilson](https://github.com/spencerwilson)) +- Srikanth Chekuri ([@srikanthccv](https://github.com/srikanthccv)) +- Svetlana Brennan ([@svetlanabrennan](https://github.com/svetlanabrennan)) +- Will Li ([@cuichenli](https://github.com/cuichenli)) +- Yaniv Davidi ([@YanivD](https://github.com/YanivD)) +- [@bgpo](https://github.com/bgpo) +- [@echoontheway](https://github.com/echoontheway) +- [@naseemkullah](https://github.com/naseemkullah) +- [@sschegolev](https://github.com/sschegolev) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 1.0.1 / Experimental 0.27.0 ### :boom: Breaking Change -* Other - * [#2566](https://github.com/open-telemetry/opentelemetry-js/pull/2566) feat!(metrics): remove batch observer ([@dyladan](https://github.com/dyladan)) - * [#2485](https://github.com/open-telemetry/opentelemetry-js/pull/2485) feat!: Split metric and trace exporters into new experimental packages ([@willarmiros](https://github.com/willarmiros)) - * [#2540](https://github.com/open-telemetry/opentelemetry-js/pull/2540) fix(sdk-metrics-base): remove metric kind BATCH_OBSERVER ([@legendecas](https://github.com/legendecas)) - * [#2496](https://github.com/open-telemetry/opentelemetry-js/pull/2496) feat(api-metrics): rename metric instruments to match feature-freeze API specification ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-core` - * [#2529](https://github.com/open-telemetry/opentelemetry-js/pull/2529) feat(api-metrics): add schemaUrl to meter creations ([@legendecas](https://github.com/legendecas)) +- Other + - [#2566](https://github.com/open-telemetry/opentelemetry-js/pull/2566) feat!(metrics): remove batch observer ([@dyladan](https://github.com/dyladan)) + - [#2485](https://github.com/open-telemetry/opentelemetry-js/pull/2485) feat!: Split metric and trace exporters into new experimental packages ([@willarmiros](https://github.com/willarmiros)) + - [#2540](https://github.com/open-telemetry/opentelemetry-js/pull/2540) fix(sdk-metrics-base): remove metric kind BATCH_OBSERVER ([@legendecas](https://github.com/legendecas)) + - [#2496](https://github.com/open-telemetry/opentelemetry-js/pull/2496) feat(api-metrics): rename metric instruments to match feature-freeze API specification ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-core` + - [#2529](https://github.com/open-telemetry/opentelemetry-js/pull/2529) feat(api-metrics): add schemaUrl to meter creations ([@legendecas](https://github.com/legendecas)) ### :rocket: (Enhancement) -* Other - * [#2523](https://github.com/open-telemetry/opentelemetry-js/pull/2523) feat: Rename Labels to Attributes ([@pirgeo](https://github.com/pirgeo)) - * [#2559](https://github.com/open-telemetry/opentelemetry-js/pull/2559) feat(api-metrics): remove bind/unbind and bound instruments ([@legendecas](https://github.com/legendecas)) - * [#2563](https://github.com/open-telemetry/opentelemetry-js/pull/2563) feat(sdk-metrics-base): remove per-meter config on MeterProvider.getMeter ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-core` - * [#2465](https://github.com/open-telemetry/opentelemetry-js/pull/2465) fix: prefer globalThis instead of window to support webworkers ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-semantic-conventions` - * [#2532](https://github.com/open-telemetry/opentelemetry-js/pull/2532) feat(@opentelemetry/semantic-conventions): change enum to object literals ([@echoontheway](https://github.com/echoontheway)) - * [#2528](https://github.com/open-telemetry/opentelemetry-js/pull/2528) feat: upgrade semantic-conventions to latest v1.7.0 spec ([@weyert](https://github.com/weyert)) -* `opentelemetry-core`, `opentelemetry-sdk-trace-base` - * [#2484](https://github.com/open-telemetry/opentelemetry-js/pull/2484) feat: new merge function ([@obecny](https://github.com/obecny)) +- Other + - [#2523](https://github.com/open-telemetry/opentelemetry-js/pull/2523) feat: Rename Labels to Attributes ([@pirgeo](https://github.com/pirgeo)) + - [#2559](https://github.com/open-telemetry/opentelemetry-js/pull/2559) feat(api-metrics): remove bind/unbind and bound instruments ([@legendecas](https://github.com/legendecas)) + - [#2563](https://github.com/open-telemetry/opentelemetry-js/pull/2563) feat(sdk-metrics-base): remove per-meter config on MeterProvider.getMeter ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-core` + - [#2465](https://github.com/open-telemetry/opentelemetry-js/pull/2465) fix: prefer globalThis instead of window to support webworkers ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-semantic-conventions` + - [#2532](https://github.com/open-telemetry/opentelemetry-js/pull/2532) feat(@opentelemetry/semantic-conventions): change enum to object literals ([@echoontheway](https://github.com/echoontheway)) + - [#2528](https://github.com/open-telemetry/opentelemetry-js/pull/2528) feat: upgrade semantic-conventions to latest v1.7.0 spec ([@weyert](https://github.com/weyert)) +- `opentelemetry-core`, `opentelemetry-sdk-trace-base` + - [#2484](https://github.com/open-telemetry/opentelemetry-js/pull/2484) feat: new merge function ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* Other - * [#2610](https://github.com/open-telemetry/opentelemetry-js/pull/2610) fix: preventing double enable for instrumentation that has been already enabled ([@obecny](https://github.com/obecny)) - * [#2581](https://github.com/open-telemetry/opentelemetry-js/pull/2581) feat: lazy initialization of the gzip stream ([@fungiboletus](https://github.com/fungiboletus)) - * [#2584](https://github.com/open-telemetry/opentelemetry-js/pull/2584) fix: fixing compatibility versions for detectors ([@obecny](https://github.com/obecny)) - * [#2558](https://github.com/open-telemetry/opentelemetry-js/pull/2558) fix(@opentelemetry/exporter-prometheus): unref prometheus server to prevent process running indefinitely ([@mothershipper](https://github.com/mothershipper)) - * [#2495](https://github.com/open-telemetry/opentelemetry-js/pull/2495) fix(sdk-metrics-base): metrics name should be in the max length of 63 ([@legendecas](https://github.com/legendecas)) - * [#2497](https://github.com/open-telemetry/opentelemetry-js/pull/2497) feat(@opentelemetry-instrumentation-fetch): support reading response body from the hook applyCustomAttributesOnSpan ([@echoontheway](https://github.com/echoontheway)) -* `opentelemetry-core` - * [#2560](https://github.com/open-telemetry/opentelemetry-js/pull/2560) fix(core): support regex global flag in urlMatches ([@moander](https://github.com/moander)) -* `opentelemetry-exporter-zipkin` - * [#2519](https://github.com/open-telemetry/opentelemetry-js/pull/2519) fix(exporter-zipkin): correct status tags names ([@t2t2](https://github.com/t2t2)) +- Other + - [#2610](https://github.com/open-telemetry/opentelemetry-js/pull/2610) fix: preventing double enable for instrumentation that has been already enabled ([@obecny](https://github.com/obecny)) + - [#2581](https://github.com/open-telemetry/opentelemetry-js/pull/2581) feat: lazy initialization of the gzip stream ([@fungiboletus](https://github.com/fungiboletus)) + - [#2584](https://github.com/open-telemetry/opentelemetry-js/pull/2584) fix: fixing compatibility versions for detectors ([@obecny](https://github.com/obecny)) + - [#2558](https://github.com/open-telemetry/opentelemetry-js/pull/2558) fix(@opentelemetry/exporter-prometheus): unref prometheus server to prevent process running indefinitely ([@mothershipper](https://github.com/mothershipper)) + - [#2495](https://github.com/open-telemetry/opentelemetry-js/pull/2495) fix(sdk-metrics-base): metrics name should be in the max length of 63 ([@legendecas](https://github.com/legendecas)) + - [#2497](https://github.com/open-telemetry/opentelemetry-js/pull/2497) feat(@opentelemetry-instrumentation-fetch): support reading response body from the hook applyCustomAttributesOnSpan ([@echoontheway](https://github.com/echoontheway)) +- `opentelemetry-core` + - [#2560](https://github.com/open-telemetry/opentelemetry-js/pull/2560) fix(core): support regex global flag in urlMatches ([@moander](https://github.com/moander)) +- `opentelemetry-exporter-zipkin` + - [#2519](https://github.com/open-telemetry/opentelemetry-js/pull/2519) fix(exporter-zipkin): correct status tags names ([@t2t2](https://github.com/t2t2)) ### :books: (Refine Doc) -* Other - * [#2561](https://github.com/open-telemetry/opentelemetry-js/pull/2561) Use new canonical path to Getting Started ([@chalin](https://github.com/chalin)) - * [#2576](https://github.com/open-telemetry/opentelemetry-js/pull/2576) docs(instrumentation): update links in the Readme ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) - * [#2600](https://github.com/open-telemetry/opentelemetry-js/pull/2600) docs: fix URLs in README post-experimental move ([@arbourd](https://github.com/arbourd)) - * [#2579](https://github.com/open-telemetry/opentelemetry-js/pull/2579) doc: Move upgrade propagator notes to correct section ([@NathanielRN](https://github.com/NathanielRN)) - * [#2568](https://github.com/open-telemetry/opentelemetry-js/pull/2568) chore(doc): update matrix with contrib version for 1.0 core ([@vmarchaud](https://github.com/vmarchaud)) - * [#2555](https://github.com/open-telemetry/opentelemetry-js/pull/2555) docs: expose existing comments ([@moander](https://github.com/moander)) - * [#2493](https://github.com/open-telemetry/opentelemetry-js/pull/2493) chore: remove getting started and link to documentation. ([@svrnm](https://github.com/svrnm)) -* `opentelemetry-core` - * [#2604](https://github.com/open-telemetry/opentelemetry-js/pull/2604) Docs: Document the HrTime format ([@JamesJHPark](https://github.com/JamesJHPark)) +- Other + - [#2561](https://github.com/open-telemetry/opentelemetry-js/pull/2561) Use new canonical path to Getting Started ([@chalin](https://github.com/chalin)) + - [#2576](https://github.com/open-telemetry/opentelemetry-js/pull/2576) docs(instrumentation): update links in the Readme ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) + - [#2600](https://github.com/open-telemetry/opentelemetry-js/pull/2600) docs: fix URLs in README post-experimental move ([@arbourd](https://github.com/arbourd)) + - [#2579](https://github.com/open-telemetry/opentelemetry-js/pull/2579) doc: Move upgrade propagator notes to correct section ([@NathanielRN](https://github.com/NathanielRN)) + - [#2568](https://github.com/open-telemetry/opentelemetry-js/pull/2568) chore(doc): update matrix with contrib version for 1.0 core ([@vmarchaud](https://github.com/vmarchaud)) + - [#2555](https://github.com/open-telemetry/opentelemetry-js/pull/2555) docs: expose existing comments ([@moander](https://github.com/moander)) + - [#2493](https://github.com/open-telemetry/opentelemetry-js/pull/2493) chore: remove getting started and link to documentation. ([@svrnm](https://github.com/svrnm)) +- `opentelemetry-core` + - [#2604](https://github.com/open-telemetry/opentelemetry-js/pull/2604) Docs: Document the HrTime format ([@JamesJHPark](https://github.com/JamesJHPark)) ### :house: (Internal) -* Other - * [#2404](https://github.com/open-telemetry/opentelemetry-js/pull/2404) chore: Fix lint warnings in instrumentation package ([@alisabzevari](https://github.com/alisabzevari)) - * [#2533](https://github.com/open-telemetry/opentelemetry-js/pull/2533) chore: regularly close stale issues ([@Rauno56](https://github.com/Rauno56)) - * [#2570](https://github.com/open-telemetry/opentelemetry-js/pull/2570) chore: adding selenium tests with browserstack ([@obecny](https://github.com/obecny)) - * [#2522](https://github.com/open-telemetry/opentelemetry-js/pull/2522) chore: cleanup setting config in instrumentations ([@Flarna](https://github.com/Flarna)) - * [#2541](https://github.com/open-telemetry/opentelemetry-js/pull/2541) chore: slim font size for section title in PR template ([@legendecas](https://github.com/legendecas)) - * [#2509](https://github.com/open-telemetry/opentelemetry-js/pull/2509) chore: expand pull request template with action items ([@pragmaticivan](https://github.com/pragmaticivan)) - * [#2488](https://github.com/open-telemetry/opentelemetry-js/pull/2488) chore: inline sources in source maps ([@dyladan](https://github.com/dyladan)) - * [#2514](https://github.com/open-telemetry/opentelemetry-js/pull/2514) chore: update stable dependencies to 1.0 ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web` - * [#2607](https://github.com/open-telemetry/opentelemetry-js/pull/2607) chore: update npm badge image links ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - * [#2531](https://github.com/open-telemetry/opentelemetry-js/pull/2531) chore(deps): pin minor API version ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-core` - * [#2520](https://github.com/open-telemetry/opentelemetry-js/pull/2520) chore(deps): remove unused semver ([@mhennoch](https://github.com/mhennoch)) +- Other + - [#2404](https://github.com/open-telemetry/opentelemetry-js/pull/2404) chore: Fix lint warnings in instrumentation package ([@alisabzevari](https://github.com/alisabzevari)) + - [#2533](https://github.com/open-telemetry/opentelemetry-js/pull/2533) chore: regularly close stale issues ([@Rauno56](https://github.com/Rauno56)) + - [#2570](https://github.com/open-telemetry/opentelemetry-js/pull/2570) chore: adding selenium tests with browserstack ([@obecny](https://github.com/obecny)) + - [#2522](https://github.com/open-telemetry/opentelemetry-js/pull/2522) chore: cleanup setting config in instrumentations ([@Flarna](https://github.com/Flarna)) + - [#2541](https://github.com/open-telemetry/opentelemetry-js/pull/2541) chore: slim font size for section title in PR template ([@legendecas](https://github.com/legendecas)) + - [#2509](https://github.com/open-telemetry/opentelemetry-js/pull/2509) chore: expand pull request template with action items ([@pragmaticivan](https://github.com/pragmaticivan)) + - [#2488](https://github.com/open-telemetry/opentelemetry-js/pull/2488) chore: inline sources in source maps ([@dyladan](https://github.com/dyladan)) + - [#2514](https://github.com/open-telemetry/opentelemetry-js/pull/2514) chore: update stable dependencies to 1.0 ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web` + - [#2607](https://github.com/open-telemetry/opentelemetry-js/pull/2607) chore: update npm badge image links ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + - [#2531](https://github.com/open-telemetry/opentelemetry-js/pull/2531) chore(deps): pin minor API version ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-core` + - [#2520](https://github.com/open-telemetry/opentelemetry-js/pull/2520) chore(deps): remove unused semver ([@mhennoch](https://github.com/mhennoch)) ### Committers: 23 -* (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) -* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -* Antoine Pultier ([@fungiboletus](https://github.com/fungiboletus)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Dylan Arbour ([@arbourd](https://github.com/arbourd)) -* Georg Pirklbauer ([@pirgeo](https://github.com/pirgeo)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) -* Jack ([@mothershipper](https://github.com/mothershipper)) -* James ([@JamesJHPark](https://github.com/JamesJHPark)) -* MartenH ([@mhennoch](https://github.com/mhennoch)) -* Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) -* Patrice Chalin ([@chalin](https://github.com/chalin)) -* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -* Severin Neumann ([@svrnm](https://github.com/svrnm)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) -* William Armiros ([@willarmiros](https://github.com/willarmiros)) -* [@echoontheway](https://github.com/echoontheway) -* legendecas ([@legendecas](https://github.com/legendecas)) -* moander ([@moander](https://github.com/moander)) -* t2t2 ([@t2t2](https://github.com/t2t2)) +- (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) +- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +- Antoine Pultier ([@fungiboletus](https://github.com/fungiboletus)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Dylan Arbour ([@arbourd](https://github.com/arbourd)) +- Georg Pirklbauer ([@pirgeo](https://github.com/pirgeo)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) +- Jack ([@mothershipper](https://github.com/mothershipper)) +- James ([@JamesJHPark](https://github.com/JamesJHPark)) +- MartenH ([@mhennoch](https://github.com/mhennoch)) +- Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) +- Patrice Chalin ([@chalin](https://github.com/chalin)) +- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +- Severin Neumann ([@svrnm](https://github.com/svrnm)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) +- William Armiros ([@willarmiros](https://github.com/willarmiros)) +- [@echoontheway](https://github.com/echoontheway) +- legendecas ([@legendecas](https://github.com/legendecas)) +- moander ([@moander](https://github.com/moander)) +- t2t2 ([@t2t2](https://github.com/t2t2)) ## 1.0.0 @@ -466,1450 +467,1450 @@ No changes ### :boom: Breaking Change -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-otlp-grpc`, `opentelemetry-exporter-otlp-http`, `opentelemetry-exporter-otlp-proto` - * [#2476](https://github.com/open-telemetry/opentelemetry-js/pull/2476) chore!: rename collector exporters ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-sdk-trace-base`, `opentelemetry-shim-opentracing` - * [#2429](https://github.com/open-telemetry/opentelemetry-js/pull/2429) fix!: remove 'Http' from W3C propagator names ([@aabmass](https://github.com/aabmass)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-otlp-grpc`, `opentelemetry-exporter-otlp-http`, `opentelemetry-exporter-otlp-proto` + - [#2476](https://github.com/open-telemetry/opentelemetry-js/pull/2476) chore!: rename collector exporters ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-sdk-trace-base`, `opentelemetry-shim-opentracing` + - [#2429](https://github.com/open-telemetry/opentelemetry-js/pull/2429) fix!: remove 'Http' from W3C propagator names ([@aabmass](https://github.com/aabmass)) ### :rocket: (Enhancement) -* `opentelemetry-core`, `opentelemetry-sdk-trace-base` - * [#2430](https://github.com/open-telemetry/opentelemetry-js/pull/2430) feat(opentelemetry-sdk-trace-base): implemented general limits of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) - * [#2418](https://github.com/open-telemetry/opentelemetry-js/pull/2418) feat(opentelemetry-sdk-trace-base): implemented option to limit length of values of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) -* `opentelemetry-instrumentation` - * [#2450](https://github.com/open-telemetry/opentelemetry-js/pull/2450) fix: handle missing package.json file when checking for version ([@nozik](https://github.com/nozik)) -* `opentelemetry-semantic-conventions` - * [#2456](https://github.com/open-telemetry/opentelemetry-js/pull/2456) feat: upgrade semantic conventions to the latest 1.6.1 version ([@weyert](https://github.com/weyert)) -* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#2438](https://github.com/open-telemetry/opentelemetry-js/pull/2438) feat: OTEL_EXPORTER_OTLP_ENDPOINT append version and signal ([@longility](https://github.com/longility)) +- `opentelemetry-core`, `opentelemetry-sdk-trace-base` + - [#2430](https://github.com/open-telemetry/opentelemetry-js/pull/2430) feat(opentelemetry-sdk-trace-base): implemented general limits of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) + - [#2418](https://github.com/open-telemetry/opentelemetry-js/pull/2418) feat(opentelemetry-sdk-trace-base): implemented option to limit length of values of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) +- `opentelemetry-instrumentation` + - [#2450](https://github.com/open-telemetry/opentelemetry-js/pull/2450) fix: handle missing package.json file when checking for version ([@nozik](https://github.com/nozik)) +- `opentelemetry-semantic-conventions` + - [#2456](https://github.com/open-telemetry/opentelemetry-js/pull/2456) feat: upgrade semantic conventions to the latest 1.6.1 version ([@weyert](https://github.com/weyert)) +- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#2438](https://github.com/open-telemetry/opentelemetry-js/pull/2438) feat: OTEL_EXPORTER_OTLP_ENDPOINT append version and signal ([@longility](https://github.com/longility)) ### :bug: (Bug Fix) -* Other - * [#2494](https://github.com/open-telemetry/opentelemetry-js/pull/2494) fix: remove setting http.route in http span attributes ([@mustafain117](https://github.com/mustafain117)) -* `opentelemetry-instrumentation-fetch` - * [#2426](https://github.com/open-telemetry/opentelemetry-js/pull/2426) fix(opentelemetry-instrumentation-fetch): fixed override of headers ([@philipszalla](https://github.com/philipszalla)) -* `opentelemetry-sdk-trace-base` - * [#2434](https://github.com/open-telemetry/opentelemetry-js/pull/2434) fix: ReferenceError when OTEL_TRACES_SAMPLER used without OTEL_TRACES_SAMPLER_ARG ([@hermanbanken](https://github.com/hermanbanken)) +- Other + - [#2494](https://github.com/open-telemetry/opentelemetry-js/pull/2494) fix: remove setting http.route in http span attributes ([@mustafain117](https://github.com/mustafain117)) +- `opentelemetry-instrumentation-fetch` + - [#2426](https://github.com/open-telemetry/opentelemetry-js/pull/2426) fix(opentelemetry-instrumentation-fetch): fixed override of headers ([@philipszalla](https://github.com/philipszalla)) +- `opentelemetry-sdk-trace-base` + - [#2434](https://github.com/open-telemetry/opentelemetry-js/pull/2434) fix: ReferenceError when OTEL_TRACES_SAMPLER used without OTEL_TRACES_SAMPLER_ARG ([@hermanbanken](https://github.com/hermanbanken)) ### :books: (Refine Doc) -* [#2478](https://github.com/open-telemetry/opentelemetry-js/pull/2478) Update links to packages moved to experimental ([@jessitron](https://github.com/jessitron)) -* [#2463](https://github.com/open-telemetry/opentelemetry-js/pull/2463) docs(README): Fix links in README.md ([@JamesJHPark](https://github.com/JamesJHPark)) -* [#2437](https://github.com/open-telemetry/opentelemetry-js/pull/2437) docs(examples): updated examples readme links ([@banothurameshnaik](https://github.com/banothurameshnaik)) -* [#2421](https://github.com/open-telemetry/opentelemetry-js/pull/2421) docs(website): support GH page links to canonical src ([@chalin](https://github.com/chalin)) -* [#2408](https://github.com/open-telemetry/opentelemetry-js/pull/2408) docs: make link to exporters filter only exporters ([@Rauno56](https://github.com/Rauno56)) -* [#2297](https://github.com/open-telemetry/opentelemetry-js/pull/2297) eslint configuration for getting-started examples ([@alisabzevari](https://github.com/alisabzevari)) +- [#2478](https://github.com/open-telemetry/opentelemetry-js/pull/2478) Update links to packages moved to experimental ([@jessitron](https://github.com/jessitron)) +- [#2463](https://github.com/open-telemetry/opentelemetry-js/pull/2463) docs(README): Fix links in README.md ([@JamesJHPark](https://github.com/JamesJHPark)) +- [#2437](https://github.com/open-telemetry/opentelemetry-js/pull/2437) docs(examples): updated examples readme links ([@banothurameshnaik](https://github.com/banothurameshnaik)) +- [#2421](https://github.com/open-telemetry/opentelemetry-js/pull/2421) docs(website): support GH page links to canonical src ([@chalin](https://github.com/chalin)) +- [#2408](https://github.com/open-telemetry/opentelemetry-js/pull/2408) docs: make link to exporters filter only exporters ([@Rauno56](https://github.com/Rauno56)) +- [#2297](https://github.com/open-telemetry/opentelemetry-js/pull/2297) eslint configuration for getting-started examples ([@alisabzevari](https://github.com/alisabzevari)) ### :house: (Internal) -* `opentelemetry-exporter-otlp-http` - * [#2490](https://github.com/open-telemetry/opentelemetry-js/pull/2490) chore: mark otlp exporters experimental ([@dyladan](https://github.com/dyladan)) - * [#2491](https://github.com/open-telemetry/opentelemetry-js/pull/2491) fix: remove usage of serviceName property in tests for otel collector ([@mustafain117](https://github.com/mustafain117)) -* `opentelemetry-sdk-node` - * [#2473](https://github.com/open-telemetry/opentelemetry-js/pull/2473) chore: move sdk-node to experimental ([@dyladan](https://github.com/dyladan)) - * [#2453](https://github.com/open-telemetry/opentelemetry-js/pull/2453) chore(sdk-node): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -* Other - * [#2469](https://github.com/open-telemetry/opentelemetry-js/pull/2469) Drop website_docs folder ([@chalin](https://github.com/chalin)) - * [#2474](https://github.com/open-telemetry/opentelemetry-js/pull/2474) chore: move missed test file to its package ([@dyladan](https://github.com/dyladan)) - * [#2435](https://github.com/open-telemetry/opentelemetry-js/pull/2435) chore: simplify unit test cache ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web` - * [#2462](https://github.com/open-telemetry/opentelemetry-js/pull/2462) chore: split stable and experimental packages into groups using directories ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-instrumentation-http` - * [#2126](https://github.com/open-telemetry/opentelemetry-js/pull/2126) feat(instrumentation-http): add diag debug on http request events ([@Asafb26](https://github.com/Asafb26)) - * [#2455](https://github.com/open-telemetry/opentelemetry-js/pull/2455) chore(instrumentation-http): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-instrumentation-fetch` - * [#2454](https://github.com/open-telemetry/opentelemetry-js/pull/2454) chore(instrumentation-fetch): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-exporter-collector` - * [#2452](https://github.com/open-telemetry/opentelemetry-js/pull/2452) chore(exporter-collector): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node` - * [#2446](https://github.com/open-telemetry/opentelemetry-js/pull/2446) chore(sdk-trace): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-shim-opentracing` - * [#2447](https://github.com/open-telemetry/opentelemetry-js/pull/2447) chore(exporter): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-exporter-otlp-http` + - [#2490](https://github.com/open-telemetry/opentelemetry-js/pull/2490) chore: mark otlp exporters experimental ([@dyladan](https://github.com/dyladan)) + - [#2491](https://github.com/open-telemetry/opentelemetry-js/pull/2491) fix: remove usage of serviceName property in tests for otel collector ([@mustafain117](https://github.com/mustafain117)) +- `opentelemetry-sdk-node` + - [#2473](https://github.com/open-telemetry/opentelemetry-js/pull/2473) chore: move sdk-node to experimental ([@dyladan](https://github.com/dyladan)) + - [#2453](https://github.com/open-telemetry/opentelemetry-js/pull/2453) chore(sdk-node): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- Other + - [#2469](https://github.com/open-telemetry/opentelemetry-js/pull/2469) Drop website_docs folder ([@chalin](https://github.com/chalin)) + - [#2474](https://github.com/open-telemetry/opentelemetry-js/pull/2474) chore: move missed test file to its package ([@dyladan](https://github.com/dyladan)) + - [#2435](https://github.com/open-telemetry/opentelemetry-js/pull/2435) chore: simplify unit test cache ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web` + - [#2462](https://github.com/open-telemetry/opentelemetry-js/pull/2462) chore: split stable and experimental packages into groups using directories ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation-http` + - [#2126](https://github.com/open-telemetry/opentelemetry-js/pull/2126) feat(instrumentation-http): add diag debug on http request events ([@Asafb26](https://github.com/Asafb26)) + - [#2455](https://github.com/open-telemetry/opentelemetry-js/pull/2455) chore(instrumentation-http): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-instrumentation-fetch` + - [#2454](https://github.com/open-telemetry/opentelemetry-js/pull/2454) chore(instrumentation-fetch): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-exporter-collector` + - [#2452](https://github.com/open-telemetry/opentelemetry-js/pull/2452) chore(exporter-collector): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node` + - [#2446](https://github.com/open-telemetry/opentelemetry-js/pull/2446) chore(sdk-trace): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-shim-opentracing` + - [#2447](https://github.com/open-telemetry/opentelemetry-js/pull/2447) chore(exporter): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) ### Committers: 18 -* Aaron Abbott ([@aabmass](https://github.com/aabmass)) -* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -* Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) -* Banothu Ramesh Naik ([@banothurameshnaik](https://github.com/banothurameshnaik)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Herman ([@hermanbanken](https://github.com/hermanbanken)) -* James ([@JamesJHPark](https://github.com/JamesJHPark)) -* Jessica Kerr ([@jessitron](https://github.com/jessitron)) -* Long Mai ([@longility](https://github.com/longility)) -* Mustafain Ali Khan ([@mustafain117](https://github.com/mustafain117)) -* Patrice Chalin ([@chalin](https://github.com/chalin)) -* Philip Szalla ([@philipszalla](https://github.com/philipszalla)) -* Ran Nozik ([@nozik](https://github.com/nozik)) -* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -* Siim Kallas ([@seemk](https://github.com/seemk)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Aaron Abbott ([@aabmass](https://github.com/aabmass)) +- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +- Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) +- Banothu Ramesh Naik ([@banothurameshnaik](https://github.com/banothurameshnaik)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Herman ([@hermanbanken](https://github.com/hermanbanken)) +- James ([@JamesJHPark](https://github.com/JamesJHPark)) +- Jessica Kerr ([@jessitron](https://github.com/jessitron)) +- Long Mai ([@longility](https://github.com/longility)) +- Mustafain Ali Khan ([@mustafain117](https://github.com/mustafain117)) +- Patrice Chalin ([@chalin](https://github.com/chalin)) +- Philip Szalla ([@philipszalla](https://github.com/philipszalla)) +- Ran Nozik ([@nozik](https://github.com/nozik)) +- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +- Siim Kallas ([@seemk](https://github.com/seemk)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 0.25.0 ### :boom: Breaking Change -* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - * [#2340](https://github.com/open-telemetry/opentelemetry-js/pull/2340) chore: rename sdks to better represent what they are [#2146] ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + - [#2340](https://github.com/open-telemetry/opentelemetry-js/pull/2340) chore: rename sdks to better represent what they are [#2146] ([@vmarchaud](https://github.com/vmarchaud)) ### :rocket: (Enhancement) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin` - * [#1775](https://github.com/open-telemetry/opentelemetry-js/pull/1775) fix(@opentelemetry/exporter-collector): remove fulfilled promises cor… ([@aabmass](https://github.com/aabmass)) -* `opentelemetry-exporter-collector` - * [#2336](https://github.com/open-telemetry/opentelemetry-js/pull/2336) feat: use Blob in sendBeacon to add application/json type ([@jufab](https://github.com/jufab)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin` + - [#1775](https://github.com/open-telemetry/opentelemetry-js/pull/1775) fix(@opentelemetry/exporter-collector): remove fulfilled promises cor… ([@aabmass](https://github.com/aabmass)) +- `opentelemetry-exporter-collector` + - [#2336](https://github.com/open-telemetry/opentelemetry-js/pull/2336) feat: use Blob in sendBeacon to add application/json type ([@jufab](https://github.com/jufab)) ### :bug: (Bug Fix) -* `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-base` - * [#2499](https://github.com/open-telemetry/opentelemetry-js/pull/2499) fix: 2389- replaced logger unformatted strings with template literals ([@PaurushGarg](https://github.com/PaurushGarg)) -* `opentelemetry-instrumentation-fetch` - * [#2411](https://github.com/open-telemetry/opentelemetry-js/pull/2411) fix(instrumentation-fetch): `fetch(string, Request)` silently drops request body ([@t2t2](https://github.com/t2t2)) -* `opentelemetry-sdk-trace-base` - * [#2396](https://github.com/open-telemetry/opentelemetry-js/pull/2396) fix: respect sampled flag in Span Processors, fix associated tests ([@quickgiant](https://github.com/quickgiant)) +- `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-base` + - [#2499](https://github.com/open-telemetry/opentelemetry-js/pull/2499) fix: 2389- replaced logger unformatted strings with template literals ([@PaurushGarg](https://github.com/PaurushGarg)) +- `opentelemetry-instrumentation-fetch` + - [#2411](https://github.com/open-telemetry/opentelemetry-js/pull/2411) fix(instrumentation-fetch): `fetch(string, Request)` silently drops request body ([@t2t2](https://github.com/t2t2)) +- `opentelemetry-sdk-trace-base` + - [#2396](https://github.com/open-telemetry/opentelemetry-js/pull/2396) fix: respect sampled flag in Span Processors, fix associated tests ([@quickgiant](https://github.com/quickgiant)) ### :books: (Refine Doc) -* Other - * [#2412](https://github.com/open-telemetry/opentelemetry-js/pull/2412) docs: fix examples in website_docs/instrumentation.md ([@svrnm](https://github.com/svrnm)) - * [#2400](https://github.com/open-telemetry/opentelemetry-js/pull/2400) Website docs update 0821 ([@svrnm](https://github.com/svrnm)) -* `opentelemetry-resources`, `opentelemetry-semantic-conventions` - * [#2399](https://github.com/open-telemetry/opentelemetry-js/pull/2399) chore: update doc identifier names in readme ([@lonewolf3739](https://github.com/lonewolf3739)) +- Other + - [#2412](https://github.com/open-telemetry/opentelemetry-js/pull/2412) docs: fix examples in website_docs/instrumentation.md ([@svrnm](https://github.com/svrnm)) + - [#2400](https://github.com/open-telemetry/opentelemetry-js/pull/2400) Website docs update 0821 ([@svrnm](https://github.com/svrnm)) +- `opentelemetry-resources`, `opentelemetry-semantic-conventions` + - [#2399](https://github.com/open-telemetry/opentelemetry-js/pull/2399) chore: update doc identifier names in readme ([@lonewolf3739](https://github.com/lonewolf3739)) ### :house: (Internal) -* `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-instrumentation-http`, `opentelemetry-sdk-trace-node` - * [#2416](https://github.com/open-telemetry/opentelemetry-js/pull/2416) chore: hoist dependencies to speed up ci ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base` - * [#2406](https://github.com/open-telemetry/opentelemetry-js/pull/2406) chore: Fix lint warnings in propagator-jaeger, propagator-b3, resources, and sdk-metrics-base packages ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-core` - * [#2405](https://github.com/open-telemetry/opentelemetry-js/pull/2405) chore: Fix lint warnings in core package ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` - * [#2392](https://github.com/open-telemetry/opentelemetry-js/pull/2392) refactor: move detectors to opentelemetry-js-contrib repo ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - * [#2402](https://github.com/open-telemetry/opentelemetry-js/pull/2402) chore: sort entries in tsconfig ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep` - * [#2390](https://github.com/open-telemetry/opentelemetry-js/pull/2390) chore: fix Lint warnings in api-metrics and context-zone-peer-dep ([@alisabzevari](https://github.com/alisabzevari)) -* Other - * [#2397](https://github.com/open-telemetry/opentelemetry-js/pull/2397) chore: change codeowners to point to team ([@dyladan](https://github.com/dyladan)) - * [#2385](https://github.com/open-telemetry/opentelemetry-js/pull/2385) chore: move api into dependencies in integration tests ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-instrumentation-http`, `opentelemetry-sdk-trace-node` + - [#2416](https://github.com/open-telemetry/opentelemetry-js/pull/2416) chore: hoist dependencies to speed up ci ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base` + - [#2406](https://github.com/open-telemetry/opentelemetry-js/pull/2406) chore: Fix lint warnings in propagator-jaeger, propagator-b3, resources, and sdk-metrics-base packages ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-core` + - [#2405](https://github.com/open-telemetry/opentelemetry-js/pull/2405) chore: Fix lint warnings in core package ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` + - [#2392](https://github.com/open-telemetry/opentelemetry-js/pull/2392) refactor: move detectors to opentelemetry-js-contrib repo ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + - [#2402](https://github.com/open-telemetry/opentelemetry-js/pull/2402) chore: sort entries in tsconfig ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep` + - [#2390](https://github.com/open-telemetry/opentelemetry-js/pull/2390) chore: fix Lint warnings in api-metrics and context-zone-peer-dep ([@alisabzevari](https://github.com/alisabzevari)) +- Other + - [#2397](https://github.com/open-telemetry/opentelemetry-js/pull/2397) chore: change codeowners to point to team ([@dyladan](https://github.com/dyladan)) + - [#2385](https://github.com/open-telemetry/opentelemetry-js/pull/2385) chore: move api into dependencies in integration tests ([@Flarna](https://github.com/Flarna)) ### Committers: 11 -* Aaron Abbott ([@aabmass](https://github.com/aabmass)) -* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -* Clark Jacobsohn ([@quickgiant](https://github.com/quickgiant)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Julien Fabre ([@jufab](https://github.com/jufab)) -* Severin Neumann ([@svrnm](https://github.com/svrnm)) -* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* legendecas ([@legendecas](https://github.com/legendecas)) -* t2t2 ([@t2t2](https://github.com/t2t2)) +- Aaron Abbott ([@aabmass](https://github.com/aabmass)) +- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +- Clark Jacobsohn ([@quickgiant](https://github.com/quickgiant)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Julien Fabre ([@jufab](https://github.com/jufab)) +- Severin Neumann ([@svrnm](https://github.com/svrnm)) +- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- legendecas ([@legendecas](https://github.com/legendecas)) +- t2t2 ([@t2t2](https://github.com/t2t2)) ## 0.24.0 ### :boom: Breaking Change -* `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-web` - * [#2345](https://github.com/open-telemetry/opentelemetry-js/pull/2345) feat: updated spec to v1.5.0 and renamed resource class ([@weyert](https://github.com/weyert)) +- `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-web` + - [#2345](https://github.com/open-telemetry/opentelemetry-js/pull/2345) feat: updated spec to v1.5.0 and renamed resource class ([@weyert](https://github.com/weyert)) ### :rocket: (Enhancement) -* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#2337](https://github.com/open-telemetry/opentelemetry-js/pull/2337) Support gzip compression for node exporter collector ([@alisabzevari](https://github.com/alisabzevari)) -* `opentelemetry-instrumentation-http` - * [#2332](https://github.com/open-telemetry/opentelemetry-js/pull/2332) feat(@opentelemetry-instrumentation-http): support adding custom attributes before a span is started ([@echoontheway](https://github.com/echoontheway)) - * [#2349](https://github.com/open-telemetry/opentelemetry-js/pull/2349) fix(instrumentation-http): set outgoing request attributes on start span ([@blumamir](https://github.com/blumamir)) -* `opentelemetry-web` - * [#2343](https://github.com/open-telemetry/opentelemetry-js/pull/2343) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length_uncompressed ([@t2t2](https://github.com/t2t2)) -* `opentelemetry-instrumentation` - * [#2309](https://github.com/open-telemetry/opentelemetry-js/pull/2309) chore: add includePrerelease option to instrumentation config ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#2337](https://github.com/open-telemetry/opentelemetry-js/pull/2337) Support gzip compression for node exporter collector ([@alisabzevari](https://github.com/alisabzevari)) +- `opentelemetry-instrumentation-http` + - [#2332](https://github.com/open-telemetry/opentelemetry-js/pull/2332) feat(@opentelemetry-instrumentation-http): support adding custom attributes before a span is started ([@echoontheway](https://github.com/echoontheway)) + - [#2349](https://github.com/open-telemetry/opentelemetry-js/pull/2349) fix(instrumentation-http): set outgoing request attributes on start span ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-web` + - [#2343](https://github.com/open-telemetry/opentelemetry-js/pull/2343) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length_uncompressed ([@t2t2](https://github.com/t2t2)) +- `opentelemetry-instrumentation` + - [#2309](https://github.com/open-telemetry/opentelemetry-js/pull/2309) chore: add includePrerelease option to instrumentation config ([@dyladan](https://github.com/dyladan)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-collector` - * [#2357](https://github.com/open-telemetry/opentelemetry-js/pull/2357) fix: headers are appended to existing one (open-telemetry#2335) ([@niko-achilles](https://github.com/niko-achilles)) -* `opentelemetry-exporter-collector-grpc` - * [#2322](https://github.com/open-telemetry/opentelemetry-js/pull/2322) fix(@opentelemetry/exporter-collector-grpc) regression from #2130 when host specified without protocol ([@lizthegrey](https://github.com/lizthegrey)) -* `opentelemetry-exporter-collector-proto` - * [#2331](https://github.com/open-telemetry/opentelemetry-js/pull/2331) Change default HTTP exporter port to 55681 ([@NathanielRN](https://github.com/NathanielRN)) +- `opentelemetry-exporter-collector` + - [#2357](https://github.com/open-telemetry/opentelemetry-js/pull/2357) fix: headers are appended to existing one (open-telemetry#2335) ([@niko-achilles](https://github.com/niko-achilles)) +- `opentelemetry-exporter-collector-grpc` + - [#2322](https://github.com/open-telemetry/opentelemetry-js/pull/2322) fix(@opentelemetry/exporter-collector-grpc) regression from #2130 when host specified without protocol ([@lizthegrey](https://github.com/lizthegrey)) +- `opentelemetry-exporter-collector-proto` + - [#2331](https://github.com/open-telemetry/opentelemetry-js/pull/2331) Change default HTTP exporter port to 55681 ([@NathanielRN](https://github.com/NathanielRN)) ### :books: (Refine Doc) -* Other - * [#2344](https://github.com/open-telemetry/opentelemetry-js/pull/2344) Additional website docs updates ([@svrnm](https://github.com/svrnm)) - * [#2365](https://github.com/open-telemetry/opentelemetry-js/pull/2365) docs: add quickstart code example ([@vreynolds](https://github.com/vreynolds)) - * [#2358](https://github.com/open-telemetry/opentelemetry-js/pull/2358) examples opentelemetry-api version fix ([@CptSchnitz](https://github.com/CptSchnitz)) - * [#2308](https://github.com/open-telemetry/opentelemetry-js/pull/2308) chore: use typedoc to build sdk reference ([@dyladan](https://github.com/dyladan)) - * [#2324](https://github.com/open-telemetry/opentelemetry-js/pull/2324) fix: update and make website docs work ([@svrnm](https://github.com/svrnm)) - * [#2328](https://github.com/open-telemetry/opentelemetry-js/pull/2328) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) - * [#2326](https://github.com/open-telemetry/opentelemetry-js/pull/2326) chore: fix tracer-web example webpack config ([@jonchurch](https://github.com/jonchurch)) -* `opentelemetry-resource-detector-aws` - * [#2379](https://github.com/open-telemetry/opentelemetry-js/pull/2379) fix: fixup aws detector readme ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-propagator-b3` - * [#2342](https://github.com/open-telemetry/opentelemetry-js/pull/2342) docs: updates README.md for @opentelemetry/propagator-b3 ([@OmkarKirpan](https://github.com/OmkarKirpan)) -* `opentelemetry-exporter-collector-grpc` - * [#2266](https://github.com/open-telemetry/opentelemetry-js/pull/2266) fix(exporter-collector-grpc): incorrect URL format on docs after 0.20.0 update ([@brunoluiz](https://github.com/brunoluiz)) +- Other + - [#2344](https://github.com/open-telemetry/opentelemetry-js/pull/2344) Additional website docs updates ([@svrnm](https://github.com/svrnm)) + - [#2365](https://github.com/open-telemetry/opentelemetry-js/pull/2365) docs: add quickstart code example ([@vreynolds](https://github.com/vreynolds)) + - [#2358](https://github.com/open-telemetry/opentelemetry-js/pull/2358) examples opentelemetry-api version fix ([@CptSchnitz](https://github.com/CptSchnitz)) + - [#2308](https://github.com/open-telemetry/opentelemetry-js/pull/2308) chore: use typedoc to build sdk reference ([@dyladan](https://github.com/dyladan)) + - [#2324](https://github.com/open-telemetry/opentelemetry-js/pull/2324) fix: update and make website docs work ([@svrnm](https://github.com/svrnm)) + - [#2328](https://github.com/open-telemetry/opentelemetry-js/pull/2328) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) + - [#2326](https://github.com/open-telemetry/opentelemetry-js/pull/2326) chore: fix tracer-web example webpack config ([@jonchurch](https://github.com/jonchurch)) +- `opentelemetry-resource-detector-aws` + - [#2379](https://github.com/open-telemetry/opentelemetry-js/pull/2379) fix: fixup aws detector readme ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-propagator-b3` + - [#2342](https://github.com/open-telemetry/opentelemetry-js/pull/2342) docs: updates README.md for @opentelemetry/propagator-b3 ([@OmkarKirpan](https://github.com/OmkarKirpan)) +- `opentelemetry-exporter-collector-grpc` + - [#2266](https://github.com/open-telemetry/opentelemetry-js/pull/2266) fix(exporter-collector-grpc): incorrect URL format on docs after 0.20.0 update ([@brunoluiz](https://github.com/brunoluiz)) ### :house: (Internal) -* Other - * [#2366](https://github.com/open-telemetry/opentelemetry-js/pull/2366) chore: adding Rauno56 to js approvers ([@obecny](https://github.com/obecny)) - * [#2350](https://github.com/open-telemetry/opentelemetry-js/pull/2350) chore: ignore backcompat in renovate ([@dyladan](https://github.com/dyladan)) - * [#2352](https://github.com/open-telemetry/opentelemetry-js/pull/2352) replaced word plugin with instrumentation ([@niko-achilles](https://github.com/niko-achilles)) - * [#2311](https://github.com/open-telemetry/opentelemetry-js/pull/2311) chore: ignore @types/node in backcompat ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-jaeger`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2351](https://github.com/open-telemetry/opentelemetry-js/pull/2351) style: use single quotes everywhere and add a rule to eslint ([@blumamir](https://github.com/blumamir)) -* `template` - * [#2319](https://github.com/open-telemetry/opentelemetry-js/pull/2319) chore: update package template engines version ([@jonchurch](https://github.com/jonchurch)) +- Other + - [#2366](https://github.com/open-telemetry/opentelemetry-js/pull/2366) chore: adding Rauno56 to js approvers ([@obecny](https://github.com/obecny)) + - [#2350](https://github.com/open-telemetry/opentelemetry-js/pull/2350) chore: ignore backcompat in renovate ([@dyladan](https://github.com/dyladan)) + - [#2352](https://github.com/open-telemetry/opentelemetry-js/pull/2352) replaced word plugin with instrumentation ([@niko-achilles](https://github.com/niko-achilles)) + - [#2311](https://github.com/open-telemetry/opentelemetry-js/pull/2311) chore: ignore @types/node in backcompat ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-jaeger`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2351](https://github.com/open-telemetry/opentelemetry-js/pull/2351) style: use single quotes everywhere and add a rule to eslint ([@blumamir](https://github.com/blumamir)) +- `template` + - [#2319](https://github.com/open-telemetry/opentelemetry-js/pull/2319) chore: update package template engines version ([@jonchurch](https://github.com/jonchurch)) ### Committers: 18 -* (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) -* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -* Amir Blum ([@blumamir](https://github.com/blumamir)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Bruno Luiz Silva ([@brunoluiz](https://github.com/brunoluiz)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Jonathan Church ([@jonchurch](https://github.com/jonchurch)) -* Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) -* Niko Achilles Kokkinos ([@niko-achilles](https://github.com/niko-achilles)) -* Ofer Adelstein ([@CptSchnitz](https://github.com/CptSchnitz)) -* Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) -* Severin Neumann ([@svrnm](https://github.com/svrnm)) -* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) -* [@echoontheway](https://github.com/echoontheway) -* legendecas ([@legendecas](https://github.com/legendecas)) -* t2t2 ([@t2t2](https://github.com/t2t2)) +- (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) +- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +- Amir Blum ([@blumamir](https://github.com/blumamir)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Bruno Luiz Silva ([@brunoluiz](https://github.com/brunoluiz)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Jonathan Church ([@jonchurch](https://github.com/jonchurch)) +- Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) +- Niko Achilles Kokkinos ([@niko-achilles](https://github.com/niko-achilles)) +- Ofer Adelstein ([@CptSchnitz](https://github.com/CptSchnitz)) +- Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) +- Severin Neumann ([@svrnm](https://github.com/svrnm)) +- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) +- [@echoontheway](https://github.com/echoontheway) +- legendecas ([@legendecas](https://github.com/legendecas)) +- t2t2 ([@t2t2](https://github.com/t2t2)) ## 0.23.0 ### :rocket: (Enhancement) -* `opentelemetry-shim-opentracing` - * [#2282](https://github.com/open-telemetry/opentelemetry-js/pull/2282) feat(shim-opentracing): update logging based on new spec ([@vreynolds](https://github.com/vreynolds)) -* `opentelemetry-exporter-collector-grpc` - * [#2304](https://github.com/open-telemetry/opentelemetry-js/pull/2304) feat: otlp-grpc exporter uses headers environment variables ([@vreynolds](https://github.com/vreynolds)) -* `opentelemetry-propagator-b3` - * [#2285](https://github.com/open-telemetry/opentelemetry-js/pull/2285) fix(propagator-b3): update extract to check for array ([@jordanworner](https://github.com/jordanworner)) -* `opentelemetry-core`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-web` - * [#2226](https://github.com/open-telemetry/opentelemetry-js/pull/2226) fix(xhr): make performance observer work with relative urls ([@mhennoch](https://github.com/mhennoch)) +- `opentelemetry-shim-opentracing` + - [#2282](https://github.com/open-telemetry/opentelemetry-js/pull/2282) feat(shim-opentracing): update logging based on new spec ([@vreynolds](https://github.com/vreynolds)) +- `opentelemetry-exporter-collector-grpc` + - [#2304](https://github.com/open-telemetry/opentelemetry-js/pull/2304) feat: otlp-grpc exporter uses headers environment variables ([@vreynolds](https://github.com/vreynolds)) +- `opentelemetry-propagator-b3` + - [#2285](https://github.com/open-telemetry/opentelemetry-js/pull/2285) fix(propagator-b3): update extract to check for array ([@jordanworner](https://github.com/jordanworner)) +- `opentelemetry-core`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-web` + - [#2226](https://github.com/open-telemetry/opentelemetry-js/pull/2226) fix(xhr): make performance observer work with relative urls ([@mhennoch](https://github.com/mhennoch)) ### :books: (Refine Doc) -* Other - * [#2306](https://github.com/open-telemetry/opentelemetry-js/pull/2306) chore: update the website getting started docs ([@dyladan](https://github.com/dyladan)) - * [#2283](https://github.com/open-telemetry/opentelemetry-js/pull/2283) Module opentelemetry/instrumentation-grpc required ([@pramodsreek](https://github.com/pramodsreek)) -* `opentelemetry-sdk-node` - * [#2300](https://github.com/open-telemetry/opentelemetry-js/pull/2300) chore(README): update link to BatchSpanProcessor in sdk node ([@pragmaticivan](https://github.com/pragmaticivan)) -* `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-node` - * [#2290](https://github.com/open-telemetry/opentelemetry-js/pull/2290) fix: service.name resource attribute ([@OmkarKirpan](https://github.com/OmkarKirpan)) -* `opentelemetry-resources` - * [#2289](https://github.com/open-telemetry/opentelemetry-js/pull/2289) docs(opentelemetry-resources): fix wrong sample code in readme ([@alisabzevari](https://github.com/alisabzevari)) +- Other + - [#2306](https://github.com/open-telemetry/opentelemetry-js/pull/2306) chore: update the website getting started docs ([@dyladan](https://github.com/dyladan)) + - [#2283](https://github.com/open-telemetry/opentelemetry-js/pull/2283) Module opentelemetry/instrumentation-grpc required ([@pramodsreek](https://github.com/pramodsreek)) +- `opentelemetry-sdk-node` + - [#2300](https://github.com/open-telemetry/opentelemetry-js/pull/2300) chore(README): update link to BatchSpanProcessor in sdk node ([@pragmaticivan](https://github.com/pragmaticivan)) +- `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-node` + - [#2290](https://github.com/open-telemetry/opentelemetry-js/pull/2290) fix: service.name resource attribute ([@OmkarKirpan](https://github.com/OmkarKirpan)) +- `opentelemetry-resources` + - [#2289](https://github.com/open-telemetry/opentelemetry-js/pull/2289) docs(opentelemetry-resources): fix wrong sample code in readme ([@alisabzevari](https://github.com/alisabzevari)) ### :house: (Internal) -* `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` - * [#2247](https://github.com/open-telemetry/opentelemetry-js/pull/2247) feat: unify the signatures of bind and with ([@Rauno56](https://github.com/Rauno56)) -* Other - * [#2296](https://github.com/open-telemetry/opentelemetry-js/pull/2296) chore: do not upgrade backwards compatibility ([@dyladan](https://github.com/dyladan)) - * [#2302](https://github.com/open-telemetry/opentelemetry-js/pull/2302) chore: use setup-node ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` + - [#2247](https://github.com/open-telemetry/opentelemetry-js/pull/2247) feat: unify the signatures of bind and with ([@Rauno56](https://github.com/Rauno56)) +- Other + - [#2296](https://github.com/open-telemetry/opentelemetry-js/pull/2296) chore: do not upgrade backwards compatibility ([@dyladan](https://github.com/dyladan)) + - [#2302](https://github.com/open-telemetry/opentelemetry-js/pull/2302) chore: use setup-node ([@dyladan](https://github.com/dyladan)) ### Committers: 9 -* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) -* Jordan Worner ([@jordanworner](https://github.com/jordanworner)) -* MartenH ([@mhennoch](https://github.com/mhennoch)) -* Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) -* Pramod ([@pramodsreek](https://github.com/pramodsreek)) -* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) +- Jordan Worner ([@jordanworner](https://github.com/jordanworner)) +- MartenH ([@mhennoch](https://github.com/mhennoch)) +- Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) +- Pramod ([@pramodsreek](https://github.com/pramodsreek)) +- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) ## 0.22.0 ### :rocket: (Enhancement) -* `opentelemetry-tracing` - * [#2243](https://github.com/open-telemetry/opentelemetry-js/pull/2243) feat(tracing): auto flush BatchSpanProcessor on browser ([@kkruk-sumo](https://github.com/kkruk-sumo)) -* `opentelemetry-resource-detector-aws`, `opentelemetry-semantic-conventions` - * [#2268](https://github.com/open-telemetry/opentelemetry-js/pull/2268) feat(semantic-conventions): upgrade semantic conventions to version 1… ([@weyert](https://github.com/weyert)) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2276](https://github.com/open-telemetry/opentelemetry-js/pull/2276) chore(deps): update dependency @opentelemetry/api to v1 ([@renovate-bot](https://github.com/renovate-bot)) +- `opentelemetry-tracing` + - [#2243](https://github.com/open-telemetry/opentelemetry-js/pull/2243) feat(tracing): auto flush BatchSpanProcessor on browser ([@kkruk-sumo](https://github.com/kkruk-sumo)) +- `opentelemetry-resource-detector-aws`, `opentelemetry-semantic-conventions` + - [#2268](https://github.com/open-telemetry/opentelemetry-js/pull/2268) feat(semantic-conventions): upgrade semantic conventions to version 1… ([@weyert](https://github.com/weyert)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2276](https://github.com/open-telemetry/opentelemetry-js/pull/2276) chore(deps): update dependency @opentelemetry/api to v1 ([@renovate-bot](https://github.com/renovate-bot)) ### :books: (Refine Doc) -* [#2287](https://github.com/open-telemetry/opentelemetry-js/pull/2287) chore(doc): update compatibility matrix ([@vmarchaud](https://github.com/vmarchaud)) +- [#2287](https://github.com/open-telemetry/opentelemetry-js/pull/2287) chore(doc): update compatibility matrix ([@vmarchaud](https://github.com/vmarchaud)) ### Committers: 3 -* Krystian Kruk ([@kkruk-sumo](https://github.com/kkruk-sumo)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) +- Krystian Kruk ([@kkruk-sumo](https://github.com/kkruk-sumo)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) ## 0.21.0 ### :rocket: (Enhancement) -* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation` - * [#2261](https://github.com/open-telemetry/opentelemetry-js/pull/2261) Adding ComponentLogger into instrumentations ([@obecny](https://github.com/obecny)) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2255](https://github.com/open-telemetry/opentelemetry-js/pull/2255) chore: update API to 0.21.0 ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation` + - [#2261](https://github.com/open-telemetry/opentelemetry-js/pull/2261) Adding ComponentLogger into instrumentations ([@obecny](https://github.com/obecny)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2255](https://github.com/open-telemetry/opentelemetry-js/pull/2255) chore: update API to 0.21.0 ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -* [#2263](https://github.com/open-telemetry/opentelemetry-js/pull/2263) docs(README): update link to @opentelemetry/api package ([@nvenegas](https://github.com/nvenegas)) -* [#2254](https://github.com/open-telemetry/opentelemetry-js/pull/2254) chore: update compatibility matrix ([@dyladan](https://github.com/dyladan)) -* [#2253](https://github.com/open-telemetry/opentelemetry-js/pull/2253) chore: add missing changelog entry ([@dyladan](https://github.com/dyladan)) +- [#2263](https://github.com/open-telemetry/opentelemetry-js/pull/2263) docs(README): update link to @opentelemetry/api package ([@nvenegas](https://github.com/nvenegas)) +- [#2254](https://github.com/open-telemetry/opentelemetry-js/pull/2254) chore: update compatibility matrix ([@dyladan](https://github.com/dyladan)) +- [#2253](https://github.com/open-telemetry/opentelemetry-js/pull/2253) chore: add missing changelog entry ([@dyladan](https://github.com/dyladan)) ### :house: (Internal) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` - * [#2244](https://github.com/open-telemetry/opentelemetry-js/pull/2244) chore: add node:16 to the test matrix ([@Rauno56](https://github.com/Rauno56)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` + - [#2244](https://github.com/open-telemetry/opentelemetry-js/pull/2244) chore: add node:16 to the test matrix ([@Rauno56](https://github.com/Rauno56)) ### Committers: 4 -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Nicolas Venegas ([@nvenegas](https://github.com/nvenegas)) -* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Nicolas Venegas ([@nvenegas](https://github.com/nvenegas)) +- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) ## 0.20.0 ### :boom: Breaking Change -* `opentelemetry-sdk-node`, `opentelemetry-tracing` - * [#2190](https://github.com/open-telemetry/opentelemetry-js/pull/2190) feat: apply spec changes for `TraceParams` ([@weyert](https://github.com/weyert)) -* `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-shim-opentracing` - * [#2148](https://github.com/open-telemetry/opentelemetry-js/pull/2148) chore: renaming jaeger http trace propagator to jaeger propagator ([@obecny](https://github.com/obecny)) -* `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - * [#2149](https://github.com/open-telemetry/opentelemetry-js/pull/2149) chore: adding sufix propagator to http baggage and http trace context ([@obecny](https://github.com/obecny)) +- `opentelemetry-sdk-node`, `opentelemetry-tracing` + - [#2190](https://github.com/open-telemetry/opentelemetry-js/pull/2190) feat: apply spec changes for `TraceParams` ([@weyert](https://github.com/weyert)) +- `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-shim-opentracing` + - [#2148](https://github.com/open-telemetry/opentelemetry-js/pull/2148) chore: renaming jaeger http trace propagator to jaeger propagator ([@obecny](https://github.com/obecny)) +- `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + - [#2149](https://github.com/open-telemetry/opentelemetry-js/pull/2149) chore: adding sufix propagator to http baggage and http trace context ([@obecny](https://github.com/obecny)) ### :rocket: (Enhancement) -* `opentelemetry-shim-opentracing` - * [#2194](https://github.com/open-telemetry/opentelemetry-js/pull/2194) feat(shim-opentracing): update setTag based on new spec ([@vreynolds](https://github.com/vreynolds)) -* `opentelemetry-tracing` - * [#2221](https://github.com/open-telemetry/opentelemetry-js/pull/2221) feat: add startActiveSpan method to Tracer ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-tracing` - * [#2227](https://github.com/open-telemetry/opentelemetry-js/pull/2227) chore: set default service name ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2225](https://github.com/open-telemetry/opentelemetry-js/pull/2225) chore: upgrading to api ver. 0.20.0 ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation` - * [#2224](https://github.com/open-telemetry/opentelemetry-js/pull/2224) feat(opentelemetry-instrumentation): getConfig and setConfig ([@mottibec](https://github.com/mottibec)) -* `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing` - * [#2202](https://github.com/open-telemetry/opentelemetry-js/pull/2202) Move suppress tracing context key to SDK ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#2100](https://github.com/open-telemetry/opentelemetry-js/pull/2100) feat(tracing): allow to configure exporter by environment #1676 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#2117](https://github.com/open-telemetry/opentelemetry-js/pull/2117) feat(exporter-collector): support config from env #2099 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-tracing` - * [#2183](https://github.com/open-telemetry/opentelemetry-js/pull/2183) chore: removing usage of timed event from api ([@obecny](https://github.com/obecny)) -* Other - * [#2195](https://github.com/open-telemetry/opentelemetry-js/pull/2195) fix: remove redundant try-catch from http/https server examples ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-exporter-collector-grpc` - * [#2130](https://github.com/open-telemetry/opentelemetry-js/pull/2130) chore: url validation & README to prevent gRPC footguns. ([@lizthegrey](https://github.com/lizthegrey)) -* `opentelemetry-semantic-conventions` - * [#2167](https://github.com/open-telemetry/opentelemetry-js/pull/2167) semantic-conventions: include built esm files in package ([@t2t2](https://github.com/t2t2)) -* `opentelemetry-instrumentation-xml-http-request` - * [#2134](https://github.com/open-telemetry/opentelemetry-js/pull/2134) feat(instrumentation-xhr): add applyCustomAttributesOnSpan hook ([@mhennoch](https://github.com/mhennoch)) -* `opentelemetry-exporter-prometheus` - * [#2122](https://github.com/open-telemetry/opentelemetry-js/pull/2122) feat: add diag warning when metric name is invalid ([@weyert](https://github.com/weyert)) -* `opentelemetry-api-metrics`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` - * [#2118](https://github.com/open-telemetry/opentelemetry-js/pull/2118) chore(deps): support cumulative, delta, and pass-through exporters ([@sergeylanzman](https://github.com/sergeylanzman)) +- `opentelemetry-shim-opentracing` + - [#2194](https://github.com/open-telemetry/opentelemetry-js/pull/2194) feat(shim-opentracing): update setTag based on new spec ([@vreynolds](https://github.com/vreynolds)) +- `opentelemetry-tracing` + - [#2221](https://github.com/open-telemetry/opentelemetry-js/pull/2221) feat: add startActiveSpan method to Tracer ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-tracing` + - [#2227](https://github.com/open-telemetry/opentelemetry-js/pull/2227) chore: set default service name ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2225](https://github.com/open-telemetry/opentelemetry-js/pull/2225) chore: upgrading to api ver. 0.20.0 ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation` + - [#2224](https://github.com/open-telemetry/opentelemetry-js/pull/2224) feat(opentelemetry-instrumentation): getConfig and setConfig ([@mottibec](https://github.com/mottibec)) +- `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing` + - [#2202](https://github.com/open-telemetry/opentelemetry-js/pull/2202) Move suppress tracing context key to SDK ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#2100](https://github.com/open-telemetry/opentelemetry-js/pull/2100) feat(tracing): allow to configure exporter by environment #1676 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#2117](https://github.com/open-telemetry/opentelemetry-js/pull/2117) feat(exporter-collector): support config from env #2099 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-tracing` + - [#2183](https://github.com/open-telemetry/opentelemetry-js/pull/2183) chore: removing usage of timed event from api ([@obecny](https://github.com/obecny)) +- Other + - [#2195](https://github.com/open-telemetry/opentelemetry-js/pull/2195) fix: remove redundant try-catch from http/https server examples ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-exporter-collector-grpc` + - [#2130](https://github.com/open-telemetry/opentelemetry-js/pull/2130) chore: url validation & README to prevent gRPC footguns. ([@lizthegrey](https://github.com/lizthegrey)) +- `opentelemetry-semantic-conventions` + - [#2167](https://github.com/open-telemetry/opentelemetry-js/pull/2167) semantic-conventions: include built esm files in package ([@t2t2](https://github.com/t2t2)) +- `opentelemetry-instrumentation-xml-http-request` + - [#2134](https://github.com/open-telemetry/opentelemetry-js/pull/2134) feat(instrumentation-xhr): add applyCustomAttributesOnSpan hook ([@mhennoch](https://github.com/mhennoch)) +- `opentelemetry-exporter-prometheus` + - [#2122](https://github.com/open-telemetry/opentelemetry-js/pull/2122) feat: add diag warning when metric name is invalid ([@weyert](https://github.com/weyert)) +- `opentelemetry-api-metrics`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` + - [#2118](https://github.com/open-telemetry/opentelemetry-js/pull/2118) chore(deps): support cumulative, delta, and pass-through exporters ([@sergeylanzman](https://github.com/sergeylanzman)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-collector-grpc` - * [#2214](https://github.com/open-telemetry/opentelemetry-js/pull/2214) chore: fixes after last changes to url ([@obecny](https://github.com/obecny)) -* `opentelemetry-tracing` - * [#2185](https://github.com/open-telemetry/opentelemetry-js/pull/2185) fix: use invalid parent for sampler when options.root ([@dyladan](https://github.com/dyladan)) - * [#2171](https://github.com/open-telemetry/opentelemetry-js/pull/2171) fix: move initialization of const above first use #2170 ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-instrumentation-grpc` - * [#2179](https://github.com/open-telemetry/opentelemetry-js/pull/2179) chore(grpc-instrumentation): fix grpc example #2160 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-core` - * [#2165](https://github.com/open-telemetry/opentelemetry-js/pull/2165) [sampler] treat invalid SpanContext as no SpanContext ([@thisthat](https://github.com/thisthat)) +- `opentelemetry-exporter-collector-grpc` + - [#2214](https://github.com/open-telemetry/opentelemetry-js/pull/2214) chore: fixes after last changes to url ([@obecny](https://github.com/obecny)) +- `opentelemetry-tracing` + - [#2185](https://github.com/open-telemetry/opentelemetry-js/pull/2185) fix: use invalid parent for sampler when options.root ([@dyladan](https://github.com/dyladan)) + - [#2171](https://github.com/open-telemetry/opentelemetry-js/pull/2171) fix: move initialization of const above first use #2170 ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation-grpc` + - [#2179](https://github.com/open-telemetry/opentelemetry-js/pull/2179) chore(grpc-instrumentation): fix grpc example #2160 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-core` + - [#2165](https://github.com/open-telemetry/opentelemetry-js/pull/2165) [sampler] treat invalid SpanContext as no SpanContext ([@thisthat](https://github.com/thisthat)) ### :books: (Refine Doc) -* `opentelemetry-node` - * [#2180](https://github.com/open-telemetry/opentelemetry-js/pull/2180) fix docs typo ([@sbrichardson](https://github.com/sbrichardson)) -* Other - * [#2168](https://github.com/open-telemetry/opentelemetry-js/pull/2168) chore: update feature status in readme ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` - * [#2127](https://github.com/open-telemetry/opentelemetry-js/pull/2127) chore: prefer use of global TracerProvider/MeterProvider ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-node` + - [#2180](https://github.com/open-telemetry/opentelemetry-js/pull/2180) fix docs typo ([@sbrichardson](https://github.com/sbrichardson)) +- Other + - [#2168](https://github.com/open-telemetry/opentelemetry-js/pull/2168) chore: update feature status in readme ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` + - [#2127](https://github.com/open-telemetry/opentelemetry-js/pull/2127) chore: prefer use of global TracerProvider/MeterProvider ([@Flarna](https://github.com/Flarna)) ### :house: (Internal) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` - * [#2241](https://github.com/open-telemetry/opentelemetry-js/pull/2241) chore: update typescript to 4.3 and enable noImplicitOverride ([@Flarna](https://github.com/Flarna)) - * [#2204](https://github.com/open-telemetry/opentelemetry-js/pull/2204) Remove GTS and prettier ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation`, `opentelemetry-tracing` - * [#2229](https://github.com/open-telemetry/opentelemetry-js/pull/2229) chore: remove references to NOOP singletons ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` - * [#2230](https://github.com/open-telemetry/opentelemetry-js/pull/2230) chore: remove references to Noop classes from API ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2234](https://github.com/open-telemetry/opentelemetry-js/pull/2234) chore: downgrade karma-webpack ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-sdk-node` - * [#2219](https://github.com/open-telemetry/opentelemetry-js/pull/2219) fix(opentelemetry-sdk-node): move nock to dev dependencies ([@nflaig](https://github.com/nflaig)) -* `opentelemetry-core` - * [#2155](https://github.com/open-telemetry/opentelemetry-js/pull/2155) chore: move tracecontext propagator into trace ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web`, `template` - * [#2112](https://github.com/open-telemetry/opentelemetry-js/pull/2112) feat: add ESM builds for packages used in browser ([@t2t2](https://github.com/t2t2)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` + - [#2241](https://github.com/open-telemetry/opentelemetry-js/pull/2241) chore: update typescript to 4.3 and enable noImplicitOverride ([@Flarna](https://github.com/Flarna)) + - [#2204](https://github.com/open-telemetry/opentelemetry-js/pull/2204) Remove GTS and prettier ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation`, `opentelemetry-tracing` + - [#2229](https://github.com/open-telemetry/opentelemetry-js/pull/2229) chore: remove references to NOOP singletons ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` + - [#2230](https://github.com/open-telemetry/opentelemetry-js/pull/2230) chore: remove references to Noop classes from API ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2234](https://github.com/open-telemetry/opentelemetry-js/pull/2234) chore: downgrade karma-webpack ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-sdk-node` + - [#2219](https://github.com/open-telemetry/opentelemetry-js/pull/2219) fix(opentelemetry-sdk-node): move nock to dev dependencies ([@nflaig](https://github.com/nflaig)) +- `opentelemetry-core` + - [#2155](https://github.com/open-telemetry/opentelemetry-js/pull/2155) chore: move tracecontext propagator into trace ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web`, `template` + - [#2112](https://github.com/open-telemetry/opentelemetry-js/pull/2112) feat: add ESM builds for packages used in browser ([@t2t2](https://github.com/t2t2)) ### Committers: 18 -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Giovanni Liva ([@thisthat](https://github.com/thisthat)) -* Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) -* MartenH ([@mhennoch](https://github.com/mhennoch)) -* Motti Bechhofer ([@mottibec](https://github.com/mottibec)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Nico Flaig ([@nflaig](https://github.com/nflaig)) -* Sergey Lanzman ([@sergeylanzman](https://github.com/sergeylanzman)) -* Severin Neumann ([@svrnm](https://github.com/svrnm)) -* Stephen Richardson ([@sbrichardson](https://github.com/sbrichardson)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) -* andrew quartey ([@drexler](https://github.com/drexler)) -* legendecas ([@legendecas](https://github.com/legendecas)) -* t2t2 ([@t2t2](https://github.com/t2t2)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Giovanni Liva ([@thisthat](https://github.com/thisthat)) +- Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) +- MartenH ([@mhennoch](https://github.com/mhennoch)) +- Motti Bechhofer ([@mottibec](https://github.com/mottibec)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Nico Flaig ([@nflaig](https://github.com/nflaig)) +- Sergey Lanzman ([@sergeylanzman](https://github.com/sergeylanzman)) +- Severin Neumann ([@svrnm](https://github.com/svrnm)) +- Stephen Richardson ([@sbrichardson](https://github.com/sbrichardson)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) +- andrew quartey ([@drexler](https://github.com/drexler)) +- legendecas ([@legendecas](https://github.com/legendecas)) +- t2t2 ([@t2t2](https://github.com/t2t2)) ## 0.19.0 ### :boom: Breaking Change -* `opentelemetry-core`, `opentelemetry-tracing` - * [#2111](https://github.com/open-telemetry/opentelemetry-js/pull/2111) feat: handle OTEL_TRACES_SAMPLER env var ([@jtmalinowski](https://github.com/jtmalinowski)) - * [#2098](https://github.com/open-telemetry/opentelemetry-js/pull/2098) chore(env): update default value for span's attributes/links/events count #1675 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2083](https://github.com/open-telemetry/opentelemetry-js/pull/2083) feat: add semconv generator for `semantic-conventions`-package ([@weyert](https://github.com/weyert)) -* `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-web` - * [#2081](https://github.com/open-telemetry/opentelemetry-js/pull/2081) remove plugins ([@obecny](https://github.com/obecny)) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2074](https://github.com/open-telemetry/opentelemetry-js/pull/2074) chore: peer depend on API ([@dyladan](https://github.com/dyladan)) - * [#2063](https://github.com/open-telemetry/opentelemetry-js/pull/2063) chore: update API dependency to 1.0.0-rc.0 ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core`, `opentelemetry-propagator-b3` - * [#2054](https://github.com/open-telemetry/opentelemetry-js/pull/2054) refactor: simplify b3 options ([@mwear](https://github.com/mwear)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#2111](https://github.com/open-telemetry/opentelemetry-js/pull/2111) feat: handle OTEL_TRACES_SAMPLER env var ([@jtmalinowski](https://github.com/jtmalinowski)) + - [#2098](https://github.com/open-telemetry/opentelemetry-js/pull/2098) chore(env): update default value for span's attributes/links/events count #1675 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2083](https://github.com/open-telemetry/opentelemetry-js/pull/2083) feat: add semconv generator for `semantic-conventions`-package ([@weyert](https://github.com/weyert)) +- `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-web` + - [#2081](https://github.com/open-telemetry/opentelemetry-js/pull/2081) remove plugins ([@obecny](https://github.com/obecny)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2074](https://github.com/open-telemetry/opentelemetry-js/pull/2074) chore: peer depend on API ([@dyladan](https://github.com/dyladan)) + - [#2063](https://github.com/open-telemetry/opentelemetry-js/pull/2063) chore: update API dependency to 1.0.0-rc.0 ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core`, `opentelemetry-propagator-b3` + - [#2054](https://github.com/open-telemetry/opentelemetry-js/pull/2054) refactor: simplify b3 options ([@mwear](https://github.com/mwear)) ### :rocket: (Enhancement) -* `opentelemetry-instrumentation` - * [#2135](https://github.com/open-telemetry/opentelemetry-js/pull/2135) fix: add isEnabled to InstrumentationBase ([@seemk](https://github.com/seemk)) -* `opentelemetry-semantic-conventions` - * [#2115](https://github.com/open-telemetry/opentelemetry-js/pull/2115) feat: upgrade semantic conventions to v1.2.0 of spec ([@weyert](https://github.com/weyert)) -* `opentelemetry-core`, `opentelemetry-exporter-zipkin` - * [#2097](https://github.com/open-telemetry/opentelemetry-js/pull/2097) feat(zipkin): allow to configure url via environment #1675 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-exporter-zipkin` - * [#2050](https://github.com/open-telemetry/opentelemetry-js/pull/2050) chore: adding interceptor for getting headers before each request ([@obecny](https://github.com/obecny)) -* `opentelemetry-exporter-collector-grpc` - * [#2092](https://github.com/open-telemetry/opentelemetry-js/pull/2092) Migrate exporter-collector-grpc to grpc-js ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation-http` - * [#2043](https://github.com/open-telemetry/opentelemetry-js/pull/2043) chore: avoid unneeded context.with in http instrumentation ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request` - * [#2061](https://github.com/open-telemetry/opentelemetry-js/pull/2061) chore: adding info to debug whenever headers are being skipped due to cors policy ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation` + - [#2135](https://github.com/open-telemetry/opentelemetry-js/pull/2135) fix: add isEnabled to InstrumentationBase ([@seemk](https://github.com/seemk)) +- `opentelemetry-semantic-conventions` + - [#2115](https://github.com/open-telemetry/opentelemetry-js/pull/2115) feat: upgrade semantic conventions to v1.2.0 of spec ([@weyert](https://github.com/weyert)) +- `opentelemetry-core`, `opentelemetry-exporter-zipkin` + - [#2097](https://github.com/open-telemetry/opentelemetry-js/pull/2097) feat(zipkin): allow to configure url via environment #1675 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-exporter-zipkin` + - [#2050](https://github.com/open-telemetry/opentelemetry-js/pull/2050) chore: adding interceptor for getting headers before each request ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector-grpc` + - [#2092](https://github.com/open-telemetry/opentelemetry-js/pull/2092) Migrate exporter-collector-grpc to grpc-js ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation-http` + - [#2043](https://github.com/open-telemetry/opentelemetry-js/pull/2043) chore: avoid unneeded context.with in http instrumentation ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request` + - [#2061](https://github.com/open-telemetry/opentelemetry-js/pull/2061) chore: adding info to debug whenever headers are being skipped due to cors policy ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-prometheus` - * [#2121](https://github.com/open-telemetry/opentelemetry-js/pull/2121) fix: ensure the label names are sanitised ([@weyert](https://github.com/weyert)) -* `opentelemetry-instrumentation` - * [#2120](https://github.com/open-telemetry/opentelemetry-js/pull/2120) fix(instrumentation): support multiple module definitions with different versions ([@seemk](https://github.com/seemk)) -* `opentelemetry-instrumentation-http`, `opentelemetry-tracing` - * [#2105](https://github.com/open-telemetry/opentelemetry-js/pull/2105) fix: don't use spanId from invalid parent ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-context-async-hooks` - * [#2088](https://github.com/open-telemetry/opentelemetry-js/pull/2088) fix: correct removeAllListeners in case no event is passed ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-resource-detector-aws` - * [#2076](https://github.com/open-telemetry/opentelemetry-js/pull/2076) fix: await http response in AWS EKS detector ([@vreynolds](https://github.com/vreynolds)) -* `opentelemetry-core`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger` - * [#2082](https://github.com/open-telemetry/opentelemetry-js/pull/2082) chore: do not inject span context when instrumentation is suppressed ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core` - * [#2080](https://github.com/open-telemetry/opentelemetry-js/pull/2080) fix: do not inject invalid span context ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-tracing` - * [#2086](https://github.com/open-telemetry/opentelemetry-js/pull/2086) fix: exception.type should always be a string ([@YanivD](https://github.com/YanivD)) -* `opentelemetry-propagator-jaeger` - * [#1986](https://github.com/open-telemetry/opentelemetry-js/pull/1986) fix(propagator-jaeger): zero pad extracted trace id to 32 characters ([@sid-maddy](https://github.com/sid-maddy)) +- `opentelemetry-exporter-prometheus` + - [#2121](https://github.com/open-telemetry/opentelemetry-js/pull/2121) fix: ensure the label names are sanitised ([@weyert](https://github.com/weyert)) +- `opentelemetry-instrumentation` + - [#2120](https://github.com/open-telemetry/opentelemetry-js/pull/2120) fix(instrumentation): support multiple module definitions with different versions ([@seemk](https://github.com/seemk)) +- `opentelemetry-instrumentation-http`, `opentelemetry-tracing` + - [#2105](https://github.com/open-telemetry/opentelemetry-js/pull/2105) fix: don't use spanId from invalid parent ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-context-async-hooks` + - [#2088](https://github.com/open-telemetry/opentelemetry-js/pull/2088) fix: correct removeAllListeners in case no event is passed ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-resource-detector-aws` + - [#2076](https://github.com/open-telemetry/opentelemetry-js/pull/2076) fix: await http response in AWS EKS detector ([@vreynolds](https://github.com/vreynolds)) +- `opentelemetry-core`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger` + - [#2082](https://github.com/open-telemetry/opentelemetry-js/pull/2082) chore: do not inject span context when instrumentation is suppressed ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core` + - [#2080](https://github.com/open-telemetry/opentelemetry-js/pull/2080) fix: do not inject invalid span context ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-tracing` + - [#2086](https://github.com/open-telemetry/opentelemetry-js/pull/2086) fix: exception.type should always be a string ([@YanivD](https://github.com/YanivD)) +- `opentelemetry-propagator-jaeger` + - [#1986](https://github.com/open-telemetry/opentelemetry-js/pull/1986) fix(propagator-jaeger): zero pad extracted trace id to 32 characters ([@sid-maddy](https://github.com/sid-maddy)) ### :books: (Refine Doc) -* [#2094](https://github.com/open-telemetry/opentelemetry-js/pull/2094) chore: fixing readme info ([@obecny](https://github.com/obecny)) -* [#2051](https://github.com/open-telemetry/opentelemetry-js/pull/2051) Add opentelemetry.io docs ([@austinlparker](https://github.com/austinlparker)) +- [#2094](https://github.com/open-telemetry/opentelemetry-js/pull/2094) chore: fixing readme info ([@obecny](https://github.com/obecny)) +- [#2051](https://github.com/open-telemetry/opentelemetry-js/pull/2051) Add opentelemetry.io docs ([@austinlparker](https://github.com/austinlparker)) ### :house: (Internal) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-metrics`, `opentelemetry-tracing` - * [#1780](https://github.com/open-telemetry/opentelemetry-js/pull/1780) chore: no-floating-promises ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2073](https://github.com/open-telemetry/opentelemetry-js/pull/2073) chore: pin own deps ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-metrics`, `opentelemetry-tracing` + - [#1780](https://github.com/open-telemetry/opentelemetry-js/pull/1780) chore: no-floating-promises ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2073](https://github.com/open-telemetry/opentelemetry-js/pull/2073) chore: pin own deps ([@dyladan](https://github.com/dyladan)) ### Committers: 15 -* Anuraag Agrawal ([@anuraaga](https://github.com/anuraaga)) -* Austin Parker ([@austinlparker](https://github.com/austinlparker)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Niek Kruse ([@niekert](https://github.com/niekert)) -* Siddhesh Mhadnak ([@sid-maddy](https://github.com/sid-maddy)) -* Siim Kallas ([@seemk](https://github.com/seemk)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) -* Yaniv Davidi ([@YanivD](https://github.com/YanivD)) +- Anuraag Agrawal ([@anuraaga](https://github.com/anuraaga)) +- Austin Parker ([@austinlparker](https://github.com/austinlparker)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Niek Kruse ([@niekert](https://github.com/niekert)) +- Siddhesh Mhadnak ([@sid-maddy](https://github.com/sid-maddy)) +- Siim Kallas ([@seemk](https://github.com/seemk)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) +- Yaniv Davidi ([@YanivD](https://github.com/YanivD)) ## 0.18.2 ### :bug: (Bug Fix) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2056](https://github.com/open-telemetry/opentelemetry-js/pull/2056) chore: downgrade API for patch release ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2056](https://github.com/open-telemetry/opentelemetry-js/pull/2056) chore: downgrade API for patch release ([@dyladan](https://github.com/dyladan)) ### Committers: 1 -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) ## 0.18.1 ### :rocket: (Enhancement) -* `opentelemetry-instrumentation-fetch`, `opentelemetry-web` - * [#2010](https://github.com/open-telemetry/opentelemetry-js/pull/2010) Server side rendering support ([@ryhinchey](https://github.com/ryhinchey)) -* `opentelemetry-semantic-conventions` - * [#2026](https://github.com/open-telemetry/opentelemetry-js/pull/2026) feat: add NET_TRANSPORT IPC attributes ([@seemk](https://github.com/seemk)) -* `opentelemetry-instrumentation` - * [#1999](https://github.com/open-telemetry/opentelemetry-js/pull/1999) chore: fixing path of instrumentation file for different systems ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation-grpc` - * [#2005](https://github.com/open-telemetry/opentelemetry-js/pull/2005) chore: exporting grpc instrumentation config ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation-fetch`, `opentelemetry-web` + - [#2010](https://github.com/open-telemetry/opentelemetry-js/pull/2010) Server side rendering support ([@ryhinchey](https://github.com/ryhinchey)) +- `opentelemetry-semantic-conventions` + - [#2026](https://github.com/open-telemetry/opentelemetry-js/pull/2026) feat: add NET_TRANSPORT IPC attributes ([@seemk](https://github.com/seemk)) +- `opentelemetry-instrumentation` + - [#1999](https://github.com/open-telemetry/opentelemetry-js/pull/1999) chore: fixing path of instrumentation file for different systems ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation-grpc` + - [#2005](https://github.com/open-telemetry/opentelemetry-js/pull/2005) chore: exporting grpc instrumentation config ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-sdk-node` - * [#2006](https://github.com/open-telemetry/opentelemetry-js/pull/2006) chore: replacing console with diag ([@obecny](https://github.com/obecny)) +- `opentelemetry-sdk-node` + - [#2006](https://github.com/open-telemetry/opentelemetry-js/pull/2006) chore: replacing console with diag ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -* `opentelemetry-resource-detector-gcp` - * [#2002](https://github.com/open-telemetry/opentelemetry-js/pull/2002) doc: add usage to README.md of gcp detector ([@weyert](https://github.com/weyert)) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2040](https://github.com/open-telemetry/opentelemetry-js/pull/2040) chore: fixing broken links, updating to correct base url ([@obecny](https://github.com/obecny)) -* `opentelemetry-resources` - * [#2031](https://github.com/open-telemetry/opentelemetry-js/pull/2031) chore: add resource example ([@vknelluri](https://github.com/vknelluri)) -* Other - * [#2021](https://github.com/open-telemetry/opentelemetry-js/pull/2021) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) -* `opentelemetry-core` - * [#2011](https://github.com/open-telemetry/opentelemetry-js/pull/2011) docs: fix links & headings about built-in samplers ([@pokutuna](https://github.com/pokutuna)) +- `opentelemetry-resource-detector-gcp` + - [#2002](https://github.com/open-telemetry/opentelemetry-js/pull/2002) doc: add usage to README.md of gcp detector ([@weyert](https://github.com/weyert)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2040](https://github.com/open-telemetry/opentelemetry-js/pull/2040) chore: fixing broken links, updating to correct base url ([@obecny](https://github.com/obecny)) +- `opentelemetry-resources` + - [#2031](https://github.com/open-telemetry/opentelemetry-js/pull/2031) chore: add resource example ([@vknelluri](https://github.com/vknelluri)) +- Other + - [#2021](https://github.com/open-telemetry/opentelemetry-js/pull/2021) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) +- `opentelemetry-core` + - [#2011](https://github.com/open-telemetry/opentelemetry-js/pull/2011) docs: fix links & headings about built-in samplers ([@pokutuna](https://github.com/pokutuna)) ### :house: (Internal) -* Other - * [#2028](https://github.com/open-telemetry/opentelemetry-js/pull/2028) chore: removing examples of packages that are part of contrib repo ([@obecny](https://github.com/obecny)) - * [#2033](https://github.com/open-telemetry/opentelemetry-js/pull/2033) chore: add husky to renovate ignore ([@dyladan](https://github.com/dyladan)) - * [#1985](https://github.com/open-telemetry/opentelemetry-js/pull/1985) chore: fix renovate config ([@dyladan](https://github.com/dyladan)) - * [#1992](https://github.com/open-telemetry/opentelemetry-js/pull/1992) chore: update eslint ([@Flarna](https://github.com/Flarna)) - * [#1981](https://github.com/open-telemetry/opentelemetry-js/pull/1981) chore: do not pin the api package ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#2038](https://github.com/open-telemetry/opentelemetry-js/pull/2038) chore: use api release candidate ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-zipkin` - * [#2039](https://github.com/open-telemetry/opentelemetry-js/pull/2039) Check type of navigator.sendBeacon ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-fetch`, `opentelemetry-metrics`, `opentelemetry-propagator-b3` - * [#1978](https://github.com/open-telemetry/opentelemetry-js/pull/1978) chore: don't disable rule eqeqeq ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-propagator-jaeger` - * [#1931](https://github.com/open-telemetry/opentelemetry-js/pull/1931) adopt opentelemetry-propagator-jaeger ([@jtmalinowski](https://github.com/jtmalinowski)) +- Other + - [#2028](https://github.com/open-telemetry/opentelemetry-js/pull/2028) chore: removing examples of packages that are part of contrib repo ([@obecny](https://github.com/obecny)) + - [#2033](https://github.com/open-telemetry/opentelemetry-js/pull/2033) chore: add husky to renovate ignore ([@dyladan](https://github.com/dyladan)) + - [#1985](https://github.com/open-telemetry/opentelemetry-js/pull/1985) chore: fix renovate config ([@dyladan](https://github.com/dyladan)) + - [#1992](https://github.com/open-telemetry/opentelemetry-js/pull/1992) chore: update eslint ([@Flarna](https://github.com/Flarna)) + - [#1981](https://github.com/open-telemetry/opentelemetry-js/pull/1981) chore: do not pin the api package ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#2038](https://github.com/open-telemetry/opentelemetry-js/pull/2038) chore: use api release candidate ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-zipkin` + - [#2039](https://github.com/open-telemetry/opentelemetry-js/pull/2039) Check type of navigator.sendBeacon ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-fetch`, `opentelemetry-metrics`, `opentelemetry-propagator-b3` + - [#1978](https://github.com/open-telemetry/opentelemetry-js/pull/1978) chore: don't disable rule eqeqeq ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-propagator-jaeger` + - [#1931](https://github.com/open-telemetry/opentelemetry-js/pull/1931) adopt opentelemetry-propagator-jaeger ([@jtmalinowski](https://github.com/jtmalinowski)) ### Committers: 12 -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -* Neil Fordyce ([@neilfordyce](https://github.com/neilfordyce)) -* Nir Hadassi ([@nirsky](https://github.com/nirsky)) -* Ryan Hinchey ([@ryhinchey](https://github.com/ryhinchey)) -* SJ ([@skjindal93](https://github.com/skjindal93)) -* Siim Kallas ([@seemk](https://github.com/seemk)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) -* [@vknelluri](https://github.com/vknelluri) -* pokutuna ([@pokutuna](https://github.com/pokutuna)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +- Neil Fordyce ([@neilfordyce](https://github.com/neilfordyce)) +- Nir Hadassi ([@nirsky](https://github.com/nirsky)) +- Ryan Hinchey ([@ryhinchey](https://github.com/ryhinchey)) +- SJ ([@skjindal93](https://github.com/skjindal93)) +- Siim Kallas ([@seemk](https://github.com/seemk)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) +- [@vknelluri](https://github.com/vknelluri) +- pokutuna ([@pokutuna](https://github.com/pokutuna)) ## 0.18.0 ### :boom: Breaking Change -* `opentelemetry-resources` - * [#1975](https://github.com/open-telemetry/opentelemetry-js/pull/1975) fix: specification compliant resource collision precedence ([@lonewolf3739](https://github.com/lonewolf3739)) +- `opentelemetry-resources` + - [#1975](https://github.com/open-telemetry/opentelemetry-js/pull/1975) fix: specification compliant resource collision precedence ([@lonewolf3739](https://github.com/lonewolf3739)) ### :rocket: (Enhancement) -* `opentelemetry-semantic-conventions` - * [#1976](https://github.com/open-telemetry/opentelemetry-js/pull/1976) feat(semantic-conventions): add missing RpcAttributes from spec ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-semantic-conventions` + - [#1976](https://github.com/open-telemetry/opentelemetry-js/pull/1976) feat(semantic-conventions): add missing RpcAttributes from spec ([@blumamir](https://github.com/blumamir)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector` - * [#1938](https://github.com/open-telemetry/opentelemetry-js/pull/1938) fix(exporter-collector): wrong data type for numbers ([@kudlatyamroth](https://github.com/kudlatyamroth)) -* `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` - * [#1939](https://github.com/open-telemetry/opentelemetry-js/pull/1939) fix: use socket from the request ([@mzahor](https://github.com/mzahor)) -* `opentelemetry-context-async-hooks` - * [#1937](https://github.com/open-telemetry/opentelemetry-js/pull/1937) fix: isolate binding EventEmitter ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector` + - [#1938](https://github.com/open-telemetry/opentelemetry-js/pull/1938) fix(exporter-collector): wrong data type for numbers ([@kudlatyamroth](https://github.com/kudlatyamroth)) +- `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` + - [#1939](https://github.com/open-telemetry/opentelemetry-js/pull/1939) fix: use socket from the request ([@mzahor](https://github.com/mzahor)) +- `opentelemetry-context-async-hooks` + - [#1937](https://github.com/open-telemetry/opentelemetry-js/pull/1937) fix: isolate binding EventEmitter ([@Flarna](https://github.com/Flarna)) ### :books: (Refine Doc) -* [#1973](https://github.com/open-telemetry/opentelemetry-js/pull/1973) docs(readme): fix @opentelemetry/instrumentation-http link ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -* [#1941](https://github.com/open-telemetry/opentelemetry-js/pull/1941) fix: update readme upgrade guidelines version setting ([@MSNev](https://github.com/MSNev)) +- [#1973](https://github.com/open-telemetry/opentelemetry-js/pull/1973) docs(readme): fix @opentelemetry/instrumentation-http link ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +- [#1941](https://github.com/open-telemetry/opentelemetry-js/pull/1941) fix: update readme upgrade guidelines version setting ([@MSNev](https://github.com/MSNev)) ### :house: (Internal) -* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1977](https://github.com/open-telemetry/opentelemetry-js/pull/1977) chore: update API to 0.18.0 ([@Flarna](https://github.com/Flarna)) -* Other - * [#1960](https://github.com/open-telemetry/opentelemetry-js/pull/1960) chore: updating current state of compatibility matrix ([@obecny](https://github.com/obecny)) -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1942](https://github.com/open-telemetry/opentelemetry-js/pull/1942) chore: remove API and context-base ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-plugin-http` - * [#1922](https://github.com/open-telemetry/opentelemetry-js/pull/1922) chore: lint on shadowing in non-test sources, fix a few of them ([@johnbley](https://github.com/johnbley)) +- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1977](https://github.com/open-telemetry/opentelemetry-js/pull/1977) chore: update API to 0.18.0 ([@Flarna](https://github.com/Flarna)) +- Other + - [#1960](https://github.com/open-telemetry/opentelemetry-js/pull/1960) chore: updating current state of compatibility matrix ([@obecny](https://github.com/obecny)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1942](https://github.com/open-telemetry/opentelemetry-js/pull/1942) chore: remove API and context-base ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-plugin-http` + - [#1922](https://github.com/open-telemetry/opentelemetry-js/pull/1922) chore: lint on shadowing in non-test sources, fix a few of them ([@johnbley](https://github.com/johnbley)) ### Committers: 10 -* Amir Blum ([@blumamir](https://github.com/blumamir)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -* John Bley ([@johnbley](https://github.com/johnbley)) -* Karol Fuksiewicz ([@kudlatyamroth](https://github.com/kudlatyamroth)) -* Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) -* Nev ([@MSNev](https://github.com/MSNev)) -* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +- Amir Blum ([@blumamir](https://github.com/blumamir)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +- John Bley ([@johnbley](https://github.com/johnbley)) +- Karol Fuksiewicz ([@kudlatyamroth](https://github.com/kudlatyamroth)) +- Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) +- Nev ([@MSNev](https://github.com/MSNev)) +- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) ## 0.17.0 ### :boom: Breaking Change -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1925](https://github.com/open-telemetry/opentelemetry-js/pull/1925) feat(diag-logger): replace logger with diag logger ([@MSNev](https://github.com/MSNev)) -* `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - * [#1899](https://github.com/open-telemetry/opentelemetry-js/pull/1899) chore: create NoopSpan instead reusing NOOP_SPAN ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-tracing` - * [#1908](https://github.com/open-telemetry/opentelemetry-js/pull/1908) chore: remove config from BasicTracerProvider#getTracer ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - * [#1900](https://github.com/open-telemetry/opentelemetry-js/pull/1900) chore: remove NoRecordingSpan ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` - * [#1855](https://github.com/open-telemetry/opentelemetry-js/pull/1855) Use instrumentation loader to load plugins and instrumentations ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` - * [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1874](https://github.com/open-telemetry/opentelemetry-js/pull/1874) More specific api type names ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1925](https://github.com/open-telemetry/opentelemetry-js/pull/1925) feat(diag-logger): replace logger with diag logger ([@MSNev](https://github.com/MSNev)) +- `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + - [#1899](https://github.com/open-telemetry/opentelemetry-js/pull/1899) chore: create NoopSpan instead reusing NOOP_SPAN ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-tracing` + - [#1908](https://github.com/open-telemetry/opentelemetry-js/pull/1908) chore: remove config from BasicTracerProvider#getTracer ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + - [#1900](https://github.com/open-telemetry/opentelemetry-js/pull/1900) chore: remove NoRecordingSpan ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` + - [#1855](https://github.com/open-telemetry/opentelemetry-js/pull/1855) Use instrumentation loader to load plugins and instrumentations ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` + - [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1874](https://github.com/open-telemetry/opentelemetry-js/pull/1874) More specific api type names ([@dyladan](https://github.com/dyladan)) ### :rocket: (Enhancement) -* `opentelemetry-exporter-prometheus` - * [#1857](https://github.com/open-telemetry/opentelemetry-js/pull/1857) feat: add prometheus exporter host and port env vars ([@naseemkullah](https://github.com/naseemkullah)) - * [#1879](https://github.com/open-telemetry/opentelemetry-js/pull/1879) feat(prometheus): add `getMetricsRequestHandler`-method to Prometheus ([@weyert](https://github.com/weyert)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1918](https://github.com/open-telemetry/opentelemetry-js/pull/1918) chore: batch processor, aligning with latest spec changes for environments variables ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation-grpc` - * [#1806](https://github.com/open-telemetry/opentelemetry-js/pull/1806) feat: merge grpc-js into grpc instrumentation #1657 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-api`, `opentelemetry-core` - * [#1880](https://github.com/open-telemetry/opentelemetry-js/pull/1880) feat(diag-logger): introduce a new global level api.diag for internal diagnostic logging ([@MSNev](https://github.com/MSNev)) -* Other - * [#1920](https://github.com/open-telemetry/opentelemetry-js/pull/1920) chore: adding compatibility matrix for core and contrib versions ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1883](https://github.com/open-telemetry/opentelemetry-js/pull/1883) feat: add support to forward args in context.with ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` - * [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-prometheus` + - [#1857](https://github.com/open-telemetry/opentelemetry-js/pull/1857) feat: add prometheus exporter host and port env vars ([@naseemkullah](https://github.com/naseemkullah)) + - [#1879](https://github.com/open-telemetry/opentelemetry-js/pull/1879) feat(prometheus): add `getMetricsRequestHandler`-method to Prometheus ([@weyert](https://github.com/weyert)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1918](https://github.com/open-telemetry/opentelemetry-js/pull/1918) chore: batch processor, aligning with latest spec changes for environments variables ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation-grpc` + - [#1806](https://github.com/open-telemetry/opentelemetry-js/pull/1806) feat: merge grpc-js into grpc instrumentation #1657 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-api`, `opentelemetry-core` + - [#1880](https://github.com/open-telemetry/opentelemetry-js/pull/1880) feat(diag-logger): introduce a new global level api.diag for internal diagnostic logging ([@MSNev](https://github.com/MSNev)) +- Other + - [#1920](https://github.com/open-telemetry/opentelemetry-js/pull/1920) chore: adding compatibility matrix for core and contrib versions ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1883](https://github.com/open-telemetry/opentelemetry-js/pull/1883) feat: add support to forward args in context.with ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` + - [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -* Other - * [#1904](https://github.com/open-telemetry/opentelemetry-js/pull/1904) chore: fix upgrade guideline ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api` - * [#1901](https://github.com/open-telemetry/opentelemetry-js/pull/1901) doc: correct tracer docs ([@Flarna](https://github.com/Flarna)) +- Other + - [#1904](https://github.com/open-telemetry/opentelemetry-js/pull/1904) chore: fix upgrade guideline ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api` + - [#1901](https://github.com/open-telemetry/opentelemetry-js/pull/1901) doc: correct tracer docs ([@Flarna](https://github.com/Flarna)) ### Committers: 8 -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Nev ([@MSNev](https://github.com/MSNev)) -* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Weyert de Boer ([@weyert](https://github.com/weyert)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Nev ([@MSNev](https://github.com/MSNev)) +- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Weyert de Boer ([@weyert](https://github.com/weyert)) ## 0.16.0 ### :boom: Breaking Change -* `opentelemetry-exporter-collector` - * [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) -* `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` - * [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector` + - [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` + - [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) ### :rocket: (Enhancement) -* `opentelemetry-core` - * [#1837](https://github.com/open-telemetry/opentelemetry-js/pull/1837) chore(http-propagation): reduce complexity of traceparent parsing ([@marcbachmann](https://github.com/marcbachmann)) -* `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` - * [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) +- `opentelemetry-core` + - [#1837](https://github.com/open-telemetry/opentelemetry-js/pull/1837) chore(http-propagation): reduce complexity of traceparent parsing ([@marcbachmann](https://github.com/marcbachmann)) +- `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` + - [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-collector` - * [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-exporter-collector` + - [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) ### :books: (Refine Doc) -* `opentelemetry-api` - * [#1864](https://github.com/open-telemetry/opentelemetry-js/pull/1864) chore: export API singleton types ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1866](https://github.com/open-telemetry/opentelemetry-js/pull/1866) chore: remove all gitter links and replace with dicussions ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-jaeger` - * [#1869](https://github.com/open-telemetry/opentelemetry-js/pull/1869) Add info that the project only works with Node.js ([@JapuDCret](https://github.com/JapuDCret)) -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1865](https://github.com/open-telemetry/opentelemetry-js/pull/1865) Fix all links to point to main ([@dyladan](https://github.com/dyladan)) -* Other - * [#1858](https://github.com/open-telemetry/opentelemetry-js/pull/1858) docs: update contribution documentation ([@drexler](https://github.com/drexler)) +- `opentelemetry-api` + - [#1864](https://github.com/open-telemetry/opentelemetry-js/pull/1864) chore: export API singleton types ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1866](https://github.com/open-telemetry/opentelemetry-js/pull/1866) chore: remove all gitter links and replace with dicussions ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-jaeger` + - [#1869](https://github.com/open-telemetry/opentelemetry-js/pull/1869) Add info that the project only works with Node.js ([@JapuDCret](https://github.com/JapuDCret)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1865](https://github.com/open-telemetry/opentelemetry-js/pull/1865) Fix all links to point to main ([@dyladan](https://github.com/dyladan)) +- Other + - [#1858](https://github.com/open-telemetry/opentelemetry-js/pull/1858) docs: update contribution documentation ([@drexler](https://github.com/drexler)) ### Committers: 6 -* Amir Blum ([@blumamir](https://github.com/blumamir)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Marc Bachmann ([@marcbachmann](https://github.com/marcbachmann)) -* [@JapuDCret](https://github.com/JapuDCret) -* andrew quartey ([@drexler](https://github.com/drexler)) +- Amir Blum ([@blumamir](https://github.com/blumamir)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Marc Bachmann ([@marcbachmann](https://github.com/marcbachmann)) +- [@JapuDCret](https://github.com/JapuDCret) +- andrew quartey ([@drexler](https://github.com/drexler)) ## 0.15.0 ### :boom: Breaking Change -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - * [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1764](https://github.com/open-telemetry/opentelemetry-js/pull/1764) chore: remove tracer apis not part of spec ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` - * [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - * [#1749](https://github.com/open-telemetry/opentelemetry-js/pull/1749) chore: improve naming of span related context APIs ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + - [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1764](https://github.com/open-telemetry/opentelemetry-js/pull/1764) chore: remove tracer apis not part of spec ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` + - [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + - [#1749](https://github.com/open-telemetry/opentelemetry-js/pull/1749) chore: improve naming of span related context APIs ([@Flarna](https://github.com/Flarna)) ### :rocket: (Enhancement) -* `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - * [#1838](https://github.com/open-telemetry/opentelemetry-js/pull/1838) improv(instrumentation-http): supressInstrumentation when we get a request on ignoredPath [#1831] ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-web` - * [#1769](https://github.com/open-telemetry/opentelemetry-js/pull/1769) Allow zero/negative performance timings ([@johnbley](https://github.com/johnbley)) -* `opentelemetry-instrumentation-fetch` - * [#1662](https://github.com/open-telemetry/opentelemetry-js/pull/1662) fix(plugin-fetch): check if PerformanceObserver exists ([@mhennoch](https://github.com/mhennoch)) - * [#1796](https://github.com/open-telemetry/opentelemetry-js/pull/1796) Convert fetch plugin to instrumentation ([@obecny](https://github.com/obecny)) -* `opentelemetry-exporter-zipkin` - * [#1789](https://github.com/open-telemetry/opentelemetry-js/pull/1789) feat(exporter-zipkin): per-span service name ([@sfishel-splunk](https://github.com/sfishel-splunk)) -* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - * [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-collector` - * [#1822](https://github.com/open-telemetry/opentelemetry-js/pull/1822) chore: remove unused dependency ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api` - * [#1815](https://github.com/open-telemetry/opentelemetry-js/pull/1815) chore: change SpanOptions startTime to TimeInput ([@dyladan](https://github.com/dyladan)) - * [#1813](https://github.com/open-telemetry/opentelemetry-js/pull/1813) fix(api): add public 'fields' function to api.propagator ([@blumamir](https://github.com/blumamir)) -* `opentelemetry-instrumentation` - * [#1803](https://github.com/open-telemetry/opentelemetry-js/pull/1803) chore: adding async function for safe execute in instrumentation ([@obecny](https://github.com/obecny)) - * [#1731](https://github.com/open-telemetry/opentelemetry-js/pull/1731) feat: creating one auto loader for instrumentation and old plugins ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation`, `opentelemetry-node` - * [#1807](https://github.com/open-telemetry/opentelemetry-js/pull/1807) perf(opentelemetry-node): plugin loader search required cache ([@blumamir](https://github.com/blumamir)) -* Other - * [#1785](https://github.com/open-telemetry/opentelemetry-js/pull/1785) Add CodeQL security scans ([@amanbrar1999](https://github.com/amanbrar1999)) -* `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation` - * [#1744](https://github.com/open-telemetry/opentelemetry-js/pull/1744) feat(grpc-instrumentation): migrate grpc to instrumentation #1656 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1755](https://github.com/open-telemetry/opentelemetry-js/pull/1755) feat: batch span processor environment config ([@mwear](https://github.com/mwear)) -* `opentelemetry-instrumentation-http` - * [#1771](https://github.com/open-telemetry/opentelemetry-js/pull/1771) feat(http-instrumentation): add content size attributes to spans ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1746](https://github.com/open-telemetry/opentelemetry-js/pull/1746) chore: remove NoopLogger from sdk and use from api ([@lonewolf3739](https://github.com/lonewolf3739)) +- `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + - [#1838](https://github.com/open-telemetry/opentelemetry-js/pull/1838) improv(instrumentation-http): supressInstrumentation when we get a request on ignoredPath [#1831] ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-web` + - [#1769](https://github.com/open-telemetry/opentelemetry-js/pull/1769) Allow zero/negative performance timings ([@johnbley](https://github.com/johnbley)) +- `opentelemetry-instrumentation-fetch` + - [#1662](https://github.com/open-telemetry/opentelemetry-js/pull/1662) fix(plugin-fetch): check if PerformanceObserver exists ([@mhennoch](https://github.com/mhennoch)) + - [#1796](https://github.com/open-telemetry/opentelemetry-js/pull/1796) Convert fetch plugin to instrumentation ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-zipkin` + - [#1789](https://github.com/open-telemetry/opentelemetry-js/pull/1789) feat(exporter-zipkin): per-span service name ([@sfishel-splunk](https://github.com/sfishel-splunk)) +- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + - [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-collector` + - [#1822](https://github.com/open-telemetry/opentelemetry-js/pull/1822) chore: remove unused dependency ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api` + - [#1815](https://github.com/open-telemetry/opentelemetry-js/pull/1815) chore: change SpanOptions startTime to TimeInput ([@dyladan](https://github.com/dyladan)) + - [#1813](https://github.com/open-telemetry/opentelemetry-js/pull/1813) fix(api): add public 'fields' function to api.propagator ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-instrumentation` + - [#1803](https://github.com/open-telemetry/opentelemetry-js/pull/1803) chore: adding async function for safe execute in instrumentation ([@obecny](https://github.com/obecny)) + - [#1731](https://github.com/open-telemetry/opentelemetry-js/pull/1731) feat: creating one auto loader for instrumentation and old plugins ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation`, `opentelemetry-node` + - [#1807](https://github.com/open-telemetry/opentelemetry-js/pull/1807) perf(opentelemetry-node): plugin loader search required cache ([@blumamir](https://github.com/blumamir)) +- Other + - [#1785](https://github.com/open-telemetry/opentelemetry-js/pull/1785) Add CodeQL security scans ([@amanbrar1999](https://github.com/amanbrar1999)) +- `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation` + - [#1744](https://github.com/open-telemetry/opentelemetry-js/pull/1744) feat(grpc-instrumentation): migrate grpc to instrumentation #1656 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1755](https://github.com/open-telemetry/opentelemetry-js/pull/1755) feat: batch span processor environment config ([@mwear](https://github.com/mwear)) +- `opentelemetry-instrumentation-http` + - [#1771](https://github.com/open-telemetry/opentelemetry-js/pull/1771) feat(http-instrumentation): add content size attributes to spans ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1746](https://github.com/open-telemetry/opentelemetry-js/pull/1746) chore: remove NoopLogger from sdk and use from api ([@lonewolf3739](https://github.com/lonewolf3739)) ### :bug: (Bug Fix) -* `opentelemetry-core` - * [#1784](https://github.com/open-telemetry/opentelemetry-js/pull/1784) fix(opentelemetry-core): fixed timeInputToHrTime when time is Date type ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` - * [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) +- `opentelemetry-core` + - [#1784](https://github.com/open-telemetry/opentelemetry-js/pull/1784) fix(opentelemetry-core): fixed timeInputToHrTime when time is Date type ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` + - [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) ### :books: (Refine Doc) -* `opentelemetry-exporter-collector` - * [#1791](https://github.com/open-telemetry/opentelemetry-js/pull/1791) docs: fix readme MetricProvider -> MeterProvider ([@aabmass](https://github.com/aabmass)) +- `opentelemetry-exporter-collector` + - [#1791](https://github.com/open-telemetry/opentelemetry-js/pull/1791) docs: fix readme MetricProvider -> MeterProvider ([@aabmass](https://github.com/aabmass)) ### Committers: 17 -* Aaron Abbott ([@aabmass](https://github.com/aabmass)) -* Aman Brar ([@amanbrar1999](https://github.com/amanbrar1999)) -* Amir Blum ([@blumamir](https://github.com/blumamir)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -* John Bley ([@johnbley](https://github.com/johnbley)) -* Julien Fabre ([@jufab](https://github.com/jufab)) -* MartenH ([@mhennoch](https://github.com/mhennoch)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Paul Draper ([@pauldraper](https://github.com/pauldraper)) -* Simon Fishel ([@sfishel-splunk](https://github.com/sfishel-splunk)) -* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Zoom Chan ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) +- Aaron Abbott ([@aabmass](https://github.com/aabmass)) +- Aman Brar ([@amanbrar1999](https://github.com/amanbrar1999)) +- Amir Blum ([@blumamir](https://github.com/blumamir)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +- John Bley ([@johnbley](https://github.com/johnbley)) +- Julien Fabre ([@jufab](https://github.com/jufab)) +- MartenH ([@mhennoch](https://github.com/mhennoch)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Paul Draper ([@pauldraper](https://github.com/pauldraper)) +- Simon Fishel ([@sfishel-splunk](https://github.com/sfishel-splunk)) +- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Zoom Chan ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) ## 0.14.0 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-metrics` - * [#1709](https://github.com/open-telemetry/opentelemetry-js/pull/1709) refactor: batch observer to be independent from metric types ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-shim-opentracing` - * [#1734](https://github.com/open-telemetry/opentelemetry-js/pull/1734) chore: requires user to pass context to propagation APIs ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` - * [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#1709](https://github.com/open-telemetry/opentelemetry-js/pull/1709) refactor: batch observer to be independent from metric types ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-shim-opentracing` + - [#1734](https://github.com/open-telemetry/opentelemetry-js/pull/1734) chore: requires user to pass context to propagation APIs ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` + - [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) ### :rocket: (Enhancement) -* `opentelemetry-semantic-conventions` - * [#1684](https://github.com/open-telemetry/opentelemetry-js/pull/1684) feat(semantic-conventions): messaging specifications ([@nirsky](https://github.com/nirsky)) -* `opentelemetry-tracing` - * [#1685](https://github.com/open-telemetry/opentelemetry-js/pull/1685) chore: remove ordered attribute dropping ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - * [#1687](https://github.com/open-telemetry/opentelemetry-js/pull/1687) chore: rename CorrelationContext to Baggage ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-prometheus` - * [#1697](https://github.com/open-telemetry/opentelemetry-js/pull/1697) fix(exporter-prometheus): add appendTimestamp option to ExporterConfig ([@antoniomrfranco](https://github.com/antoniomrfranco)) -* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#1661](https://github.com/open-telemetry/opentelemetry-js/pull/1661) Use http keep-alive in collector exporter ([@lonewolf3739](https://github.com/lonewolf3739)) -* `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions` - * [#1625](https://github.com/open-telemetry/opentelemetry-js/pull/1625) feat(opentelemetry-js): add content size attributes to HTTP spans ([@nijotz](https://github.com/nijotz)) -* `opentelemetry-exporter-collector` - * [#1708](https://github.com/open-telemetry/opentelemetry-js/pull/1708) feat(exporter-collector): implement concurrencyLimit option ([@dobesv](https://github.com/dobesv)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` - * [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) +- `opentelemetry-semantic-conventions` + - [#1684](https://github.com/open-telemetry/opentelemetry-js/pull/1684) feat(semantic-conventions): messaging specifications ([@nirsky](https://github.com/nirsky)) +- `opentelemetry-tracing` + - [#1685](https://github.com/open-telemetry/opentelemetry-js/pull/1685) chore: remove ordered attribute dropping ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + - [#1687](https://github.com/open-telemetry/opentelemetry-js/pull/1687) chore: rename CorrelationContext to Baggage ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-prometheus` + - [#1697](https://github.com/open-telemetry/opentelemetry-js/pull/1697) fix(exporter-prometheus): add appendTimestamp option to ExporterConfig ([@antoniomrfranco](https://github.com/antoniomrfranco)) +- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#1661](https://github.com/open-telemetry/opentelemetry-js/pull/1661) Use http keep-alive in collector exporter ([@lonewolf3739](https://github.com/lonewolf3739)) +- `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions` + - [#1625](https://github.com/open-telemetry/opentelemetry-js/pull/1625) feat(opentelemetry-js): add content size attributes to HTTP spans ([@nijotz](https://github.com/nijotz)) +- `opentelemetry-exporter-collector` + - [#1708](https://github.com/open-telemetry/opentelemetry-js/pull/1708) feat(exporter-collector): implement concurrencyLimit option ([@dobesv](https://github.com/dobesv)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` + - [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-jaeger` - * [#1758](https://github.com/open-telemetry/opentelemetry-js/pull/1758) fix(@opentelemetry/exporter-jaeger): fixed issue #1757 ([@debagger](https://github.com/debagger)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#1751](https://github.com/open-telemetry/opentelemetry-js/pull/1751) Fixing Span status when exporting span ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` - * [#1747](https://github.com/open-telemetry/opentelemetry-js/pull/1747) feat: fixing failing test ([@obecny](https://github.com/obecny)) -* `opentelemetry-instrumentation-xml-http-request` - * [#1720](https://github.com/open-telemetry/opentelemetry-js/pull/1720) fix(xhr): check for resource timing support ([@bradfrosty](https://github.com/bradfrosty)) +- `opentelemetry-exporter-jaeger` + - [#1758](https://github.com/open-telemetry/opentelemetry-js/pull/1758) fix(@opentelemetry/exporter-jaeger): fixed issue #1757 ([@debagger](https://github.com/debagger)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#1751](https://github.com/open-telemetry/opentelemetry-js/pull/1751) Fixing Span status when exporting span ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` + - [#1747](https://github.com/open-telemetry/opentelemetry-js/pull/1747) feat: fixing failing test ([@obecny](https://github.com/obecny)) +- `opentelemetry-instrumentation-xml-http-request` + - [#1720](https://github.com/open-telemetry/opentelemetry-js/pull/1720) fix(xhr): check for resource timing support ([@bradfrosty](https://github.com/bradfrosty)) ### Committers: 13 -* Antônio Franco ([@antoniomrfranco](https://github.com/antoniomrfranco)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Dobes Vandermeer ([@dobesv](https://github.com/dobesv)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Mikhail Sokolov ([@debagger](https://github.com/debagger)) -* Nik Zap ([@nijotz](https://github.com/nijotz)) -* Nir Hadassi ([@nirsky](https://github.com/nirsky)) -* Shovnik Bhattacharya ([@shovnik](https://github.com/shovnik)) -* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Antônio Franco ([@antoniomrfranco](https://github.com/antoniomrfranco)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Dobes Vandermeer ([@dobesv](https://github.com/dobesv)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Mikhail Sokolov ([@debagger](https://github.com/debagger)) +- Nik Zap ([@nijotz](https://github.com/nijotz)) +- Nir Hadassi ([@nirsky](https://github.com/nirsky)) +- Shovnik Bhattacharya ([@shovnik](https://github.com/shovnik)) +- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 0.13.0 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - * [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - * [#1644](https://github.com/open-telemetry/opentelemetry-js/pull/1644) fix!: change status codes from grpc status codes ([@lonewolf3739](https://github.com/lonewolf3739)) -* `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` - * [#1643](https://github.com/open-telemetry/opentelemetry-js/pull/1643) refactor: new interface for ExportResult #1569 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-web` - * [#1595](https://github.com/open-telemetry/opentelemetry-js/pull/1595) chore!: move b3 into its own package ([@mwear](https://github.com/mwear)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-shim-opentracing` - * [#1576](https://github.com/open-telemetry/opentelemetry-js/pull/1576) feat: add keys operation to getter ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + - [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + - [#1644](https://github.com/open-telemetry/opentelemetry-js/pull/1644) fix!: change status codes from grpc status codes ([@lonewolf3739](https://github.com/lonewolf3739)) +- `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` + - [#1643](https://github.com/open-telemetry/opentelemetry-js/pull/1643) refactor: new interface for ExportResult #1569 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-web` + - [#1595](https://github.com/open-telemetry/opentelemetry-js/pull/1595) chore!: move b3 into its own package ([@mwear](https://github.com/mwear)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-shim-opentracing` + - [#1576](https://github.com/open-telemetry/opentelemetry-js/pull/1576) feat: add keys operation to getter ([@dyladan](https://github.com/dyladan)) ### :rocket: (Enhancement) -* `opentelemetry-resource-detector-aws` - * [#1669](https://github.com/open-telemetry/opentelemetry-js/pull/1669) Feat: Added Amazon EKS Resource Detector ([@KKelvinLo](https://github.com/KKelvinLo)) -* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - * [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) -* `opentelemetry-tracing` - * [#1692](https://github.com/open-telemetry/opentelemetry-js/pull/1692) chore: remove unused tracer config gracefulShutdown ([@Flarna](https://github.com/Flarna)) - * [#1622](https://github.com/open-telemetry/opentelemetry-js/pull/1622) fix(tracing): use globalErrorHandler when flushing fails ([@johanneswuerbach](https://github.com/johanneswuerbach)) -* `opentelemetry-semantic-conventions` - * [#1670](https://github.com/open-telemetry/opentelemetry-js/pull/1670) feat(semantic-conventions): FaaS specifications ([@nirsky](https://github.com/nirsky)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1628](https://github.com/open-telemetry/opentelemetry-js/pull/1628) fix: boundaries option propagation in ValueRecorder Metric ([@AndrewGrachov](https://github.com/AndrewGrachov)) -* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#1607](https://github.com/open-telemetry/opentelemetry-js/pull/1607) feat(exporter-collector): log upstream error #1459 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-instrumentation-xml-http-request` - * [#1651](https://github.com/open-telemetry/opentelemetry-js/pull/1651) chore: use performance directly in xhr plugin ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-web` - * [#1659](https://github.com/open-telemetry/opentelemetry-js/pull/1659) feat: replacing base plugin with instrumentation for xml-http-request ([@obecny](https://github.com/obecny)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1653](https://github.com/open-telemetry/opentelemetry-js/pull/1653) chore: env vars for span limit as per specification ([@jtmalinowski](https://github.com/jtmalinowski)) -* `opentelemetry-exporter-zipkin` - * [#1474](https://github.com/open-telemetry/opentelemetry-js/pull/1474) chore(zipkin): export ExporterConfig ([@shivkanya9146](https://github.com/shivkanya9146)) -* `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-tracing` - * [#1612](https://github.com/open-telemetry/opentelemetry-js/pull/1612) chore: remove explicit parent option ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - * [#1632](https://github.com/open-telemetry/opentelemetry-js/pull/1632) feat: span processor onstart recieves context ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` - * [#1631](https://github.com/open-telemetry/opentelemetry-js/pull/1631) chore: sampler gets a full context ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3` - * [#1615](https://github.com/open-telemetry/opentelemetry-js/pull/1615) chore: add fields operation to TextMapPropagator ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` - * [#1621](https://github.com/open-telemetry/opentelemetry-js/pull/1621) chore: ensure onStart is called with a writeable span ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-core` - * [#1597](https://github.com/open-telemetry/opentelemetry-js/pull/1597) fix: make TraceState immutable ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-resource-detector-aws` + - [#1669](https://github.com/open-telemetry/opentelemetry-js/pull/1669) Feat: Added Amazon EKS Resource Detector ([@KKelvinLo](https://github.com/KKelvinLo)) +- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + - [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) +- `opentelemetry-tracing` + - [#1692](https://github.com/open-telemetry/opentelemetry-js/pull/1692) chore: remove unused tracer config gracefulShutdown ([@Flarna](https://github.com/Flarna)) + - [#1622](https://github.com/open-telemetry/opentelemetry-js/pull/1622) fix(tracing): use globalErrorHandler when flushing fails ([@johanneswuerbach](https://github.com/johanneswuerbach)) +- `opentelemetry-semantic-conventions` + - [#1670](https://github.com/open-telemetry/opentelemetry-js/pull/1670) feat(semantic-conventions): FaaS specifications ([@nirsky](https://github.com/nirsky)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1628](https://github.com/open-telemetry/opentelemetry-js/pull/1628) fix: boundaries option propagation in ValueRecorder Metric ([@AndrewGrachov](https://github.com/AndrewGrachov)) +- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#1607](https://github.com/open-telemetry/opentelemetry-js/pull/1607) feat(exporter-collector): log upstream error #1459 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-instrumentation-xml-http-request` + - [#1651](https://github.com/open-telemetry/opentelemetry-js/pull/1651) chore: use performance directly in xhr plugin ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-web` + - [#1659](https://github.com/open-telemetry/opentelemetry-js/pull/1659) feat: replacing base plugin with instrumentation for xml-http-request ([@obecny](https://github.com/obecny)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1653](https://github.com/open-telemetry/opentelemetry-js/pull/1653) chore: env vars for span limit as per specification ([@jtmalinowski](https://github.com/jtmalinowski)) +- `opentelemetry-exporter-zipkin` + - [#1474](https://github.com/open-telemetry/opentelemetry-js/pull/1474) chore(zipkin): export ExporterConfig ([@shivkanya9146](https://github.com/shivkanya9146)) +- `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-tracing` + - [#1612](https://github.com/open-telemetry/opentelemetry-js/pull/1612) chore: remove explicit parent option ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + - [#1632](https://github.com/open-telemetry/opentelemetry-js/pull/1632) feat: span processor onstart recieves context ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` + - [#1631](https://github.com/open-telemetry/opentelemetry-js/pull/1631) chore: sampler gets a full context ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3` + - [#1615](https://github.com/open-telemetry/opentelemetry-js/pull/1615) chore: add fields operation to TextMapPropagator ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` + - [#1621](https://github.com/open-telemetry/opentelemetry-js/pull/1621) chore: ensure onStart is called with a writeable span ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-core` + - [#1597](https://github.com/open-telemetry/opentelemetry-js/pull/1597) fix: make TraceState immutable ([@Flarna](https://github.com/Flarna)) ### :bug: (Bug Fix) -* `opentelemetry-tracing` - * [#1666](https://github.com/open-telemetry/opentelemetry-js/pull/1666) fix: clear BatchSpanProcessor internal spans buffer before exporting ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#1641](https://github.com/open-telemetry/opentelemetry-js/pull/1641) fix: do not access promise before resolve ([@obecny](https://github.com/obecny)) - * [#1627](https://github.com/open-telemetry/opentelemetry-js/pull/1627) chore: fixing conversion of id to hex and base64 ([@obecny](https://github.com/obecny)) +- `opentelemetry-tracing` + - [#1666](https://github.com/open-telemetry/opentelemetry-js/pull/1666) fix: clear BatchSpanProcessor internal spans buffer before exporting ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#1641](https://github.com/open-telemetry/opentelemetry-js/pull/1641) fix: do not access promise before resolve ([@obecny](https://github.com/obecny)) + - [#1627](https://github.com/open-telemetry/opentelemetry-js/pull/1627) chore: fixing conversion of id to hex and base64 ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -* `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-instrumentation-xml-http-request` - * [#1696](https://github.com/open-telemetry/opentelemetry-js/pull/1696) chore: use WebTracerProvider instead of WebTracer in docs ([@bradfrosty](https://github.com/bradfrosty)) -* `opentelemetry-api` - * [#1650](https://github.com/open-telemetry/opentelemetry-js/pull/1650) docs: document null and undefined attribute values undefined behavior ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` - * [#1616](https://github.com/open-telemetry/opentelemetry-js/pull/1616) docs: zone ctx manager can only be used with es2015 ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-instrumentation-xml-http-request` + - [#1696](https://github.com/open-telemetry/opentelemetry-js/pull/1696) chore: use WebTracerProvider instead of WebTracer in docs ([@bradfrosty](https://github.com/bradfrosty)) +- `opentelemetry-api` + - [#1650](https://github.com/open-telemetry/opentelemetry-js/pull/1650) docs: document null and undefined attribute values undefined behavior ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` + - [#1616](https://github.com/open-telemetry/opentelemetry-js/pull/1616) docs: zone ctx manager can only be used with es2015 ([@dyladan](https://github.com/dyladan)) ### Committers: 16 -* Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -* Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) -* Kelvin Lo ([@KKelvinLo](https://github.com/KKelvinLo)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Naga ([@tannaga](https://github.com/tannaga)) -* Nir Hadassi ([@nirsky](https://github.com/nirsky)) -* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) -* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -* Tsvetan Milanov ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* [@snyder114](https://github.com/snyder114) +- Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +- Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) +- Kelvin Lo ([@KKelvinLo](https://github.com/KKelvinLo)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Naga ([@tannaga](https://github.com/tannaga)) +- Nir Hadassi ([@nirsky](https://github.com/nirsky)) +- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +- Tsvetan Milanov ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- [@snyder114](https://github.com/snyder114) ## 0.12.0 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing` - * [#1589](https://github.com/open-telemetry/opentelemetry-js/pull/1589) feat: simplify active span logic ([@mwear](https://github.com/mwear)) -* `opentelemetry-resource-detector-aws`, `opentelemetry-resources` - * [#1581](https://github.com/open-telemetry/opentelemetry-js/pull/1581) chore: remove duplicate hostname resource attribute ([@mwear](https://github.com/mwear)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request` - * [#1560](https://github.com/open-telemetry/opentelemetry-js/pull/1560) feat: b3 single header support ([@mwear](https://github.com/mwear)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1562](https://github.com/open-telemetry/opentelemetry-js/pull/1562) feat(core): rename ProbabilitySampler to TraceIdRatioBasedSampler ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-exporter-prometheus` - * [#1375](https://github.com/open-telemetry/opentelemetry-js/pull/1375) feat: make prometheus config preventServerStart optional ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-core`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node`, `opentelemetry-tracing` - * [#1522](https://github.com/open-telemetry/opentelemetry-js/pull/1522) Remove process listener ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing` + - [#1589](https://github.com/open-telemetry/opentelemetry-js/pull/1589) feat: simplify active span logic ([@mwear](https://github.com/mwear)) +- `opentelemetry-resource-detector-aws`, `opentelemetry-resources` + - [#1581](https://github.com/open-telemetry/opentelemetry-js/pull/1581) chore: remove duplicate hostname resource attribute ([@mwear](https://github.com/mwear)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request` + - [#1560](https://github.com/open-telemetry/opentelemetry-js/pull/1560) feat: b3 single header support ([@mwear](https://github.com/mwear)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1562](https://github.com/open-telemetry/opentelemetry-js/pull/1562) feat(core): rename ProbabilitySampler to TraceIdRatioBasedSampler ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-exporter-prometheus` + - [#1375](https://github.com/open-telemetry/opentelemetry-js/pull/1375) feat: make prometheus config preventServerStart optional ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-core`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node`, `opentelemetry-tracing` + - [#1522](https://github.com/open-telemetry/opentelemetry-js/pull/1522) Remove process listener ([@dyladan](https://github.com/dyladan)) ### :rocket: (Enhancement) -* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1577](https://github.com/open-telemetry/opentelemetry-js/pull/1577) feat: implement parent based sampler ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-instrumentation` - * [#1572](https://github.com/open-telemetry/opentelemetry-js/pull/1572) feat: adding function for checking wrapped into instrumentation ([@obecny](https://github.com/obecny)) -* `opentelemetry-core` - * [#1579](https://github.com/open-telemetry/opentelemetry-js/pull/1579) fix: correlation-context header ([@Asafb26](https://github.com/Asafb26)) - * [#1503](https://github.com/open-telemetry/opentelemetry-js/pull/1503) feat: add deep-merge util ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-exporter-prometheus` - * [#1570](https://github.com/open-telemetry/opentelemetry-js/pull/1570) fix: make prometheus histogram export cumulative ([@AndrewGrachov](https://github.com/AndrewGrachov)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` - * [#1514](https://github.com/open-telemetry/opentelemetry-js/pull/1514) feat: add global error handler ([@mwear](https://github.com/mwear)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - * [#1527](https://github.com/open-telemetry/opentelemetry-js/pull/1527) feat(api): propagate spanContext only using API #1456 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-node`, `opentelemetry-sdk-node` - * [#1525](https://github.com/open-telemetry/opentelemetry-js/pull/1525) feat(node-tracer): use AsyncLocalStorageContextManager by default starting Node 14.8 #1511 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - * [#1548](https://github.com/open-telemetry/opentelemetry-js/pull/1548) chore(http): remove `x-opentelemetry-outgoing-request` header #1547 ([@vmarchaud](https://github.com/vmarchaud)) -* Other - * [#1553](https://github.com/open-telemetry/opentelemetry-js/pull/1553) docs: fix and update getting-started ([@svrnm](https://github.com/svrnm)) - * [#1550](https://github.com/open-telemetry/opentelemetry-js/pull/1550) EOL semantics by adding .gitattributes and changing tsconfig.json ([@MarkSeufert](https://github.com/MarkSeufert)) -* `opentelemetry-api`, `opentelemetry-instrumentation`, `opentelemetry-node` - * [#1540](https://github.com/open-telemetry/opentelemetry-js/pull/1540) Plugins refactoring - new instrumentation package for plugins ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-tracing` - * [#1555](https://github.com/open-telemetry/opentelemetry-js/pull/1555) chore: disallow null attribute values ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-resource-detector-aws`, `opentelemetry-resources` - * [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) -* `opentelemetry-node` - * [#1543](https://github.com/open-telemetry/opentelemetry-js/pull/1543) feat: enable dns instrumentation by default ([@naseemkullah](https://github.com/naseemkullah)) - * [#1532](https://github.com/open-telemetry/opentelemetry-js/pull/1532) fix: decrease level of unsupported-version logs to warn ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-resources`, `opentelemetry-sdk-node` - * [#1531](https://github.com/open-telemetry/opentelemetry-js/pull/1531) feat: process resource detector ([@mihirsoni](https://github.com/mihirsoni)) -* `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1515](https://github.com/open-telemetry/opentelemetry-js/pull/1515) chore: use interface for context types ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-zipkin` - * [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` - * [#1439](https://github.com/open-telemetry/opentelemetry-js/pull/1439) unifying shutdown across code base ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1577](https://github.com/open-telemetry/opentelemetry-js/pull/1577) feat: implement parent based sampler ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-instrumentation` + - [#1572](https://github.com/open-telemetry/opentelemetry-js/pull/1572) feat: adding function for checking wrapped into instrumentation ([@obecny](https://github.com/obecny)) +- `opentelemetry-core` + - [#1579](https://github.com/open-telemetry/opentelemetry-js/pull/1579) fix: correlation-context header ([@Asafb26](https://github.com/Asafb26)) + - [#1503](https://github.com/open-telemetry/opentelemetry-js/pull/1503) feat: add deep-merge util ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-exporter-prometheus` + - [#1570](https://github.com/open-telemetry/opentelemetry-js/pull/1570) fix: make prometheus histogram export cumulative ([@AndrewGrachov](https://github.com/AndrewGrachov)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` + - [#1514](https://github.com/open-telemetry/opentelemetry-js/pull/1514) feat: add global error handler ([@mwear](https://github.com/mwear)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + - [#1527](https://github.com/open-telemetry/opentelemetry-js/pull/1527) feat(api): propagate spanContext only using API #1456 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-node`, `opentelemetry-sdk-node` + - [#1525](https://github.com/open-telemetry/opentelemetry-js/pull/1525) feat(node-tracer): use AsyncLocalStorageContextManager by default starting Node 14.8 #1511 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + - [#1548](https://github.com/open-telemetry/opentelemetry-js/pull/1548) chore(http): remove `x-opentelemetry-outgoing-request` header #1547 ([@vmarchaud](https://github.com/vmarchaud)) +- Other + - [#1553](https://github.com/open-telemetry/opentelemetry-js/pull/1553) docs: fix and update getting-started ([@svrnm](https://github.com/svrnm)) + - [#1550](https://github.com/open-telemetry/opentelemetry-js/pull/1550) EOL semantics by adding .gitattributes and changing tsconfig.json ([@MarkSeufert](https://github.com/MarkSeufert)) +- `opentelemetry-api`, `opentelemetry-instrumentation`, `opentelemetry-node` + - [#1540](https://github.com/open-telemetry/opentelemetry-js/pull/1540) Plugins refactoring - new instrumentation package for plugins ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-tracing` + - [#1555](https://github.com/open-telemetry/opentelemetry-js/pull/1555) chore: disallow null attribute values ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-resource-detector-aws`, `opentelemetry-resources` + - [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) +- `opentelemetry-node` + - [#1543](https://github.com/open-telemetry/opentelemetry-js/pull/1543) feat: enable dns instrumentation by default ([@naseemkullah](https://github.com/naseemkullah)) + - [#1532](https://github.com/open-telemetry/opentelemetry-js/pull/1532) fix: decrease level of unsupported-version logs to warn ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-resources`, `opentelemetry-sdk-node` + - [#1531](https://github.com/open-telemetry/opentelemetry-js/pull/1531) feat: process resource detector ([@mihirsoni](https://github.com/mihirsoni)) +- `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1515](https://github.com/open-telemetry/opentelemetry-js/pull/1515) chore: use interface for context types ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-zipkin` + - [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` + - [#1439](https://github.com/open-telemetry/opentelemetry-js/pull/1439) unifying shutdown across code base ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-plugin-http` - * [#1546](https://github.com/open-telemetry/opentelemetry-js/pull/1546) fix(http): do not set outgoing http span as active in the context #1479 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-metrics` - * [#1567](https://github.com/open-telemetry/opentelemetry-js/pull/1567) fix: histogram aggregator lastUpdateTime ([@AndrewGrachov](https://github.com/AndrewGrachov)) - * [#1470](https://github.com/open-telemetry/opentelemetry-js/pull/1470) IMPORTANT - Fixing collecting data from observers when using batch observer in first run ([@obecny](https://github.com/obecny)) -* `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - * [#1551](https://github.com/open-telemetry/opentelemetry-js/pull/1551) fix: avoid circular require in plugins ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-context-async-hooks` - * [#1530](https://github.com/open-telemetry/opentelemetry-js/pull/1530) fix: ignore TIMERWRAP in AsyncHooksContextManager ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` - * [#1539](https://github.com/open-telemetry/opentelemetry-js/pull/1539) fix: include missing proto files in npm distribution ([@blumamir](https://github.com/blumamir)) +- `opentelemetry-plugin-http` + - [#1546](https://github.com/open-telemetry/opentelemetry-js/pull/1546) fix(http): do not set outgoing http span as active in the context #1479 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-metrics` + - [#1567](https://github.com/open-telemetry/opentelemetry-js/pull/1567) fix: histogram aggregator lastUpdateTime ([@AndrewGrachov](https://github.com/AndrewGrachov)) + - [#1470](https://github.com/open-telemetry/opentelemetry-js/pull/1470) IMPORTANT - Fixing collecting data from observers when using batch observer in first run ([@obecny](https://github.com/obecny)) +- `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + - [#1551](https://github.com/open-telemetry/opentelemetry-js/pull/1551) fix: avoid circular require in plugins ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-async-hooks` + - [#1530](https://github.com/open-telemetry/opentelemetry-js/pull/1530) fix: ignore TIMERWRAP in AsyncHooksContextManager ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` + - [#1539](https://github.com/open-telemetry/opentelemetry-js/pull/1539) fix: include missing proto files in npm distribution ([@blumamir](https://github.com/blumamir)) ### :books: (Refine Doc) -* Other - * [#1536](https://github.com/open-telemetry/opentelemetry-js/pull/1536) chore: variable names cleanup ([@DarkPurple141](https://github.com/DarkPurple141)) -* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - * [#1483](https://github.com/open-telemetry/opentelemetry-js/pull/1483) docs: change CollectorExporter to CollectorTraceExporter ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +- Other + - [#1536](https://github.com/open-telemetry/opentelemetry-js/pull/1536) chore: variable names cleanup ([@DarkPurple141](https://github.com/DarkPurple141)) +- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + - [#1483](https://github.com/open-telemetry/opentelemetry-js/pull/1483) docs: change CollectorExporter to CollectorTraceExporter ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) ### :sparkles: (Feature) -* `opentelemetry-resource-detector-aws`, `opentelemetry-resources` - * [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) -* `opentelemetry-exporter-zipkin` - * [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) +- `opentelemetry-resource-detector-aws`, `opentelemetry-resources` + - [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) +- `opentelemetry-exporter-zipkin` + - [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) ### Committers: 19 -* Alex Hinds ([@DarkPurple141](https://github.com/DarkPurple141)) -* Amir Blum ([@blumamir](https://github.com/blumamir)) -* Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) -* Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Cong Zou ([@EdZou](https://github.com/EdZou)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -* Igor Morozov ([@morigs](https://github.com/morigs)) -* Justin Walz ([@justinwalz](https://github.com/justinwalz)) -* Mark ([@MarkSeufert](https://github.com/MarkSeufert)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Mihir Soni ([@mihirsoni](https://github.com/mihirsoni)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Severin Neumann ([@svrnm](https://github.com/svrnm)) -* Steve Flanders ([@flands](https://github.com/flands)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Alex Hinds ([@DarkPurple141](https://github.com/DarkPurple141)) +- Amir Blum ([@blumamir](https://github.com/blumamir)) +- Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) +- Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Cong Zou ([@EdZou](https://github.com/EdZou)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +- Igor Morozov ([@morigs](https://github.com/morigs)) +- Justin Walz ([@justinwalz](https://github.com/justinwalz)) +- Mark ([@MarkSeufert](https://github.com/MarkSeufert)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Mihir Soni ([@mihirsoni](https://github.com/mihirsoni)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Severin Neumann ([@svrnm](https://github.com/svrnm)) +- Steve Flanders ([@flands](https://github.com/flands)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 0.11.0 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1458](https://github.com/open-telemetry/opentelemetry-js/pull/1458) refactor: rename HttpText to TextMap propagator ([@dengliming](https://github.com/dengliming)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` - * [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) -* `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resources`, `opentelemetry-web` - * [#1419](https://github.com/open-telemetry/opentelemetry-js/pull/1419) chore!: refer to resource labels as attributes ([@mwear](https://github.com/mwear)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1458](https://github.com/open-telemetry/opentelemetry-js/pull/1458) refactor: rename HttpText to TextMap propagator ([@dengliming](https://github.com/dengliming)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` + - [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resources`, `opentelemetry-web` + - [#1419](https://github.com/open-telemetry/opentelemetry-js/pull/1419) chore!: refer to resource labels as attributes ([@mwear](https://github.com/mwear)) ### :rocket: (Enhancement) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - * [#1447](https://github.com/open-telemetry/opentelemetry-js/pull/1447) Move SpanContext isValid to the API ([@srjames90](https://github.com/srjames90)) -* `opentelemetry-plugin-xml-http-request` - * [#1476](https://github.com/open-telemetry/opentelemetry-js/pull/1476) Align xhr span name with spec ([@johnbley](https://github.com/johnbley)) -* `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` - * [#1469](https://github.com/open-telemetry/opentelemetry-js/pull/1469) chore: bump gcp-metadata ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-prometheus` - * [#1310](https://github.com/open-telemetry/opentelemetry-js/pull/1310) feat: prometheus serializer ([@legendecas](https://github.com/legendecas)) - * [#1428](https://github.com/open-telemetry/opentelemetry-js/pull/1428) feat: Add missing prometheus exports for ValueRecorder, SumObserver & UpDownSumObserver ([@paulfairless](https://github.com/paulfairless)) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1344](https://github.com/open-telemetry/opentelemetry-js/pull/1344) feat: introduces ability to suppress tracing via context ([@michaelgoin](https://github.com/michaelgoin)) -* `opentelemetry-api`, `opentelemetry-exporter-collector-proto`, `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing` - * [#1372](https://github.com/open-telemetry/opentelemetry-js/pull/1372) feat: adding possibility of recording exception ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` - * [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) -* `opentelemetry-metrics` - * [#1366](https://github.com/open-telemetry/opentelemetry-js/pull/1366) fix: ignore non-number value on BaseBoundInstrument.update ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-node` - * [#1440](https://github.com/open-telemetry/opentelemetry-js/pull/1440) fix: add Hapi and Koa to default supported plugins ([@carolinee21](https://github.com/carolinee21)) -* `opentelemetry-resources` - * [#1408](https://github.com/open-telemetry/opentelemetry-js/pull/1408) Feat: Migrate EC2 Plugin Resource Detector from IMDSv1 to IMDSv2 ([@EdZou](https://github.com/EdZou)) -* `opentelemetry-core` - * [#1349](https://github.com/open-telemetry/opentelemetry-js/pull/1349) feat: faster span and trace id generation ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-context-async-hooks` - * [#1356](https://github.com/open-telemetry/opentelemetry-js/pull/1356) feat: use a symbol to store patched listeners ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-semantic-conventions` - * [#1407](https://github.com/open-telemetry/opentelemetry-js/pull/1407) semantic conventions for operating system ([@obecny](https://github.com/obecny)) - * [#1409](https://github.com/open-telemetry/opentelemetry-js/pull/1409) removing semantic conventions from code coverage ([@obecny](https://github.com/obecny)) - * [#1388](https://github.com/open-telemetry/opentelemetry-js/pull/1388) chore: transpile semantic conventions to es5 ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + - [#1447](https://github.com/open-telemetry/opentelemetry-js/pull/1447) Move SpanContext isValid to the API ([@srjames90](https://github.com/srjames90)) +- `opentelemetry-plugin-xml-http-request` + - [#1476](https://github.com/open-telemetry/opentelemetry-js/pull/1476) Align xhr span name with spec ([@johnbley](https://github.com/johnbley)) +- `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` + - [#1469](https://github.com/open-telemetry/opentelemetry-js/pull/1469) chore: bump gcp-metadata ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-prometheus` + - [#1310](https://github.com/open-telemetry/opentelemetry-js/pull/1310) feat: prometheus serializer ([@legendecas](https://github.com/legendecas)) + - [#1428](https://github.com/open-telemetry/opentelemetry-js/pull/1428) feat: Add missing prometheus exports for ValueRecorder, SumObserver & UpDownSumObserver ([@paulfairless](https://github.com/paulfairless)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1344](https://github.com/open-telemetry/opentelemetry-js/pull/1344) feat: introduces ability to suppress tracing via context ([@michaelgoin](https://github.com/michaelgoin)) +- `opentelemetry-api`, `opentelemetry-exporter-collector-proto`, `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing` + - [#1372](https://github.com/open-telemetry/opentelemetry-js/pull/1372) feat: adding possibility of recording exception ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` + - [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) +- `opentelemetry-metrics` + - [#1366](https://github.com/open-telemetry/opentelemetry-js/pull/1366) fix: ignore non-number value on BaseBoundInstrument.update ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-node` + - [#1440](https://github.com/open-telemetry/opentelemetry-js/pull/1440) fix: add Hapi and Koa to default supported plugins ([@carolinee21](https://github.com/carolinee21)) +- `opentelemetry-resources` + - [#1408](https://github.com/open-telemetry/opentelemetry-js/pull/1408) Feat: Migrate EC2 Plugin Resource Detector from IMDSv1 to IMDSv2 ([@EdZou](https://github.com/EdZou)) +- `opentelemetry-core` + - [#1349](https://github.com/open-telemetry/opentelemetry-js/pull/1349) feat: faster span and trace id generation ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-async-hooks` + - [#1356](https://github.com/open-telemetry/opentelemetry-js/pull/1356) feat: use a symbol to store patched listeners ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-semantic-conventions` + - [#1407](https://github.com/open-telemetry/opentelemetry-js/pull/1407) semantic conventions for operating system ([@obecny](https://github.com/obecny)) + - [#1409](https://github.com/open-telemetry/opentelemetry-js/pull/1409) removing semantic conventions from code coverage ([@obecny](https://github.com/obecny)) + - [#1388](https://github.com/open-telemetry/opentelemetry-js/pull/1388) chore: transpile semantic conventions to es5 ([@dyladan](https://github.com/dyladan)) ### :bug: (Bug Fix) -* `opentelemetry-api`, `opentelemetry-metrics` - * [#1373](https://github.com/open-telemetry/opentelemetry-js/pull/1373) fix: updates ValueRecorder to allow negative values ([@michaelgoin](https://github.com/michaelgoin)) -* `opentelemetry-metrics` - * [#1475](https://github.com/open-telemetry/opentelemetry-js/pull/1475) fix: proper histogram boundaries sort ([@AndrewGrachov](https://github.com/AndrewGrachov)) -* `opentelemetry-core` - * [#1336](https://github.com/open-telemetry/opentelemetry-js/pull/1336) fix: correlation context propagation extract for a single entry ([@rubenvp8510](https://github.com/rubenvp8510)) - * [#1406](https://github.com/open-telemetry/opentelemetry-js/pull/1406) Pass W3C Trace Context test suite at strictness 1 ([@michaelgoin](https://github.com/michaelgoin)) -* `opentelemetry-context-base` - * [#1387](https://github.com/open-telemetry/opentelemetry-js/pull/1387) fix: allow multiple instances of core to interact with context ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#1373](https://github.com/open-telemetry/opentelemetry-js/pull/1373) fix: updates ValueRecorder to allow negative values ([@michaelgoin](https://github.com/michaelgoin)) +- `opentelemetry-metrics` + - [#1475](https://github.com/open-telemetry/opentelemetry-js/pull/1475) fix: proper histogram boundaries sort ([@AndrewGrachov](https://github.com/AndrewGrachov)) +- `opentelemetry-core` + - [#1336](https://github.com/open-telemetry/opentelemetry-js/pull/1336) fix: correlation context propagation extract for a single entry ([@rubenvp8510](https://github.com/rubenvp8510)) + - [#1406](https://github.com/open-telemetry/opentelemetry-js/pull/1406) Pass W3C Trace Context test suite at strictness 1 ([@michaelgoin](https://github.com/michaelgoin)) +- `opentelemetry-context-base` + - [#1387](https://github.com/open-telemetry/opentelemetry-js/pull/1387) fix: allow multiple instances of core to interact with context ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -* `opentelemetry-exporter-collector` - * [#1432](https://github.com/open-telemetry/opentelemetry-js/pull/1432) docs(exporter-collector): CollectorTransportNode should be CollectorProtocolNode ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) - * [#1361](https://github.com/open-telemetry/opentelemetry-js/pull/1361) chore: adding info about collector compatible version, removing duplicated doc after merge ([@obecny](https://github.com/obecny)) -* `opentelemetry-metrics` - * [#1427](https://github.com/open-telemetry/opentelemetry-js/pull/1427) chore: fix histogram type documentation ([@TigerHe7](https://github.com/TigerHe7)) -* Other - * [#1431](https://github.com/open-telemetry/opentelemetry-js/pull/1431) Fix typo in document. ([@dengliming](https://github.com/dengliming)) +- `opentelemetry-exporter-collector` + - [#1432](https://github.com/open-telemetry/opentelemetry-js/pull/1432) docs(exporter-collector): CollectorTransportNode should be CollectorProtocolNode ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) + - [#1361](https://github.com/open-telemetry/opentelemetry-js/pull/1361) chore: adding info about collector compatible version, removing duplicated doc after merge ([@obecny](https://github.com/obecny)) +- `opentelemetry-metrics` + - [#1427](https://github.com/open-telemetry/opentelemetry-js/pull/1427) chore: fix histogram type documentation ([@TigerHe7](https://github.com/TigerHe7)) +- Other + - [#1431](https://github.com/open-telemetry/opentelemetry-js/pull/1431) Fix typo in document. ([@dengliming](https://github.com/dengliming)) ### Committers: 21 -* Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Cong Zou ([@EdZou](https://github.com/EdZou)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -* Igor Konforti ([@confiq](https://github.com/confiq)) -* John Bley ([@johnbley](https://github.com/johnbley)) -* Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) -* Mark Wolff ([@markwolff](https://github.com/markwolff)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Michael Goin ([@michaelgoin](https://github.com/michaelgoin)) -* Paul Fairless ([@paulfairless](https://github.com/paulfairless)) -* Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) -* Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) -* Sergio Regueira ([@sergioregueira](https://github.com/sergioregueira)) -* Tiger He ([@TigerHe7](https://github.com/TigerHe7)) -* [@carolinee21](https://github.com/carolinee21) -* [@dengliming](https://github.com/dengliming) -* [@srjames90](https://github.com/srjames90) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Cong Zou ([@EdZou](https://github.com/EdZou)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +- Igor Konforti ([@confiq](https://github.com/confiq)) +- John Bley ([@johnbley](https://github.com/johnbley)) +- Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) +- Mark Wolff ([@markwolff](https://github.com/markwolff)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Michael Goin ([@michaelgoin](https://github.com/michaelgoin)) +- Paul Fairless ([@paulfairless](https://github.com/paulfairless)) +- Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) +- Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) +- Sergio Regueira ([@sergioregueira](https://github.com/sergioregueira)) +- Tiger He ([@TigerHe7](https://github.com/TigerHe7)) +- [@carolinee21](https://github.com/carolinee21) +- [@dengliming](https://github.com/dengliming) +- [@srjames90](https://github.com/srjames90) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 0.10.2 ### :rocket: (Enhancement) -* `opentelemetry-core`, `opentelemetry-tracing` - * [#1331](https://github.com/open-telemetry/opentelemetry-js/pull/1331) Feat: Make ID generator configurable ([@EdZou](https://github.com/EdZou)) -* `opentelemetry-api`, `opentelemetry-context-base` - * [#1368](https://github.com/open-telemetry/opentelemetry-js/pull/1368) feat(api/context-base): change compile target to es5 ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-core`, `opentelemetry-tracing` + - [#1331](https://github.com/open-telemetry/opentelemetry-js/pull/1331) Feat: Make ID generator configurable ([@EdZou](https://github.com/EdZou)) +- `opentelemetry-api`, `opentelemetry-context-base` + - [#1368](https://github.com/open-telemetry/opentelemetry-js/pull/1368) feat(api/context-base): change compile target to es5 ([@markwolff](https://github.com/markwolff)) ### Committers: 3 -* Cong Zou ([@EdZou](https://github.com/EdZou)) -* Mark Wolff ([@markwolff](https://github.com/markwolff)) -* Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) +- Cong Zou ([@EdZou](https://github.com/EdZou)) +- Mark Wolff ([@markwolff](https://github.com/markwolff)) +- Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) ## 0.10.1 ### :bug: (Bug Fix) -* `opentelemetry-plugin-grpc-js` - * [#1358](https://github.com/open-telemetry/opentelemetry-js/pull/1358) fix: add missing grpc-js index ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-grpc-js` + - [#1358](https://github.com/open-telemetry/opentelemetry-js/pull/1358) fix: add missing grpc-js index ([@dyladan](https://github.com/dyladan)) ### Committers: 1 -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) ## 0.10.0 ### :boom: Breaking Change -* `opentelemetry-exporter-collector`, `opentelemetry-metrics` - * [#1292](https://github.com/open-telemetry/opentelemetry-js/pull/1292) feat: remove HistogramAggregator.reset ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) -* `opentelemetry-exporter-collector` - * [#1256](https://github.com/open-telemetry/opentelemetry-js/pull/1256) feat: [Collector Metric Exporter][1/x] Rename CollectorExporter to CollectorTraceExporter ([@davidwitten](https://github.com/davidwitten)) +- `opentelemetry-exporter-collector`, `opentelemetry-metrics` + - [#1292](https://github.com/open-telemetry/opentelemetry-js/pull/1292) feat: remove HistogramAggregator.reset ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector` + - [#1256](https://github.com/open-telemetry/opentelemetry-js/pull/1256) feat: [Collector Metric Exporter][1/x] Rename CollectorExporter to CollectorTraceExporter ([@davidwitten](https://github.com/davidwitten)) ### :rocket: (Enhancement) -* `opentelemetry-exporter-collector` - * [#1339](https://github.com/open-telemetry/opentelemetry-js/pull/1339) Proto update to latest to support arrays and maps ([@obecny](https://github.com/obecny)) - * [#1302](https://github.com/open-telemetry/opentelemetry-js/pull/1302) feat: adding proto over http for collector exporter ([@obecny](https://github.com/obecny)) - * [#1247](https://github.com/open-telemetry/opentelemetry-js/pull/1247) feat: adding json over http for collector exporter ([@obecny](https://github.com/obecny)) -* `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-tracing` - * [#974](https://github.com/open-telemetry/opentelemetry-js/pull/974) feat: add OTEL_LOG_LEVEL env var ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-sdk-node` - * [#1187](https://github.com/open-telemetry/opentelemetry-js/pull/1187) Add nodejs sdk package ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-shim-opentracing` - * [#918](https://github.com/open-telemetry/opentelemetry-js/pull/918) feat: add baggage support to the opentracing shim ([@rubenvp8510](https://github.com/rubenvp8510)) -* `opentelemetry-tracing` - * [#1069](https://github.com/open-telemetry/opentelemetry-js/pull/1069) feat: add OTEL_SAMPLING_PROBABILITY env var ([@naseemkullah](https://github.com/naseemkullah)) - * [#1296](https://github.com/open-telemetry/opentelemetry-js/pull/1296) feat: force flush and shutdown callback for span exporters ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-node` - * [#1343](https://github.com/open-telemetry/opentelemetry-js/pull/1343) feat(grpc-js): enable autoinstrumentation by default ([@markwolff](https://github.com/markwolff)) -* `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1276](https://github.com/open-telemetry/opentelemetry-js/pull/1276) chore: updating aggregator MinMaxLastSumCount and use it for value observer and value recorder ([@obecny](https://github.com/obecny)) -* `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-web` - * [#1262](https://github.com/open-telemetry/opentelemetry-js/pull/1262) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length ([@johnbley](https://github.com/johnbley)) -* `opentelemetry-resources` - * [#1211](https://github.com/open-telemetry/opentelemetry-js/pull/1211) Resource auto detection logging ([@adamegyed](https://github.com/adamegyed)) -* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) -* `opentelemetry-core` - * [#1191](https://github.com/open-telemetry/opentelemetry-js/pull/1191) Add platform agnostic way to read environment variables ([@obecny](https://github.com/obecny)) -* `opentelemetry-context-async-hooks` - * [#1210](https://github.com/open-telemetry/opentelemetry-js/pull/1210) AsyncLocalStorage based ContextManager ([@johanneswuerbach](https://github.com/johanneswuerbach)) -* `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1237](https://github.com/open-telemetry/opentelemetry-js/pull/1237) fix(package.json): publish source maps ([@markwolff](https://github.com/markwolff)) -* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` - * [#1171](https://github.com/open-telemetry/opentelemetry-js/pull/1171) feat: add instrumentation library and update collector exporter ([@mwear](https://github.com/mwear)) -* `opentelemetry-plugin-xml-http-request` - * [#1216](https://github.com/open-telemetry/opentelemetry-js/pull/1216) Increase Test Coverage for XML Http Plugin ([@thgao](https://github.com/thgao)) -* `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-web` - * [#1218](https://github.com/open-telemetry/opentelemetry-js/pull/1218) fix: change default propagator to match spec ([@jonahrosenblum](https://github.com/jonahrosenblum)) +- `opentelemetry-exporter-collector` + - [#1339](https://github.com/open-telemetry/opentelemetry-js/pull/1339) Proto update to latest to support arrays and maps ([@obecny](https://github.com/obecny)) + - [#1302](https://github.com/open-telemetry/opentelemetry-js/pull/1302) feat: adding proto over http for collector exporter ([@obecny](https://github.com/obecny)) + - [#1247](https://github.com/open-telemetry/opentelemetry-js/pull/1247) feat: adding json over http for collector exporter ([@obecny](https://github.com/obecny)) +- `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-tracing` + - [#974](https://github.com/open-telemetry/opentelemetry-js/pull/974) feat: add OTEL_LOG_LEVEL env var ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-sdk-node` + - [#1187](https://github.com/open-telemetry/opentelemetry-js/pull/1187) Add nodejs sdk package ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-shim-opentracing` + - [#918](https://github.com/open-telemetry/opentelemetry-js/pull/918) feat: add baggage support to the opentracing shim ([@rubenvp8510](https://github.com/rubenvp8510)) +- `opentelemetry-tracing` + - [#1069](https://github.com/open-telemetry/opentelemetry-js/pull/1069) feat: add OTEL_SAMPLING_PROBABILITY env var ([@naseemkullah](https://github.com/naseemkullah)) + - [#1296](https://github.com/open-telemetry/opentelemetry-js/pull/1296) feat: force flush and shutdown callback for span exporters ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-node` + - [#1343](https://github.com/open-telemetry/opentelemetry-js/pull/1343) feat(grpc-js): enable autoinstrumentation by default ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1276](https://github.com/open-telemetry/opentelemetry-js/pull/1276) chore: updating aggregator MinMaxLastSumCount and use it for value observer and value recorder ([@obecny](https://github.com/obecny)) +- `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-web` + - [#1262](https://github.com/open-telemetry/opentelemetry-js/pull/1262) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length ([@johnbley](https://github.com/johnbley)) +- `opentelemetry-resources` + - [#1211](https://github.com/open-telemetry/opentelemetry-js/pull/1211) Resource auto detection logging ([@adamegyed](https://github.com/adamegyed)) +- `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) +- `opentelemetry-core` + - [#1191](https://github.com/open-telemetry/opentelemetry-js/pull/1191) Add platform agnostic way to read environment variables ([@obecny](https://github.com/obecny)) +- `opentelemetry-context-async-hooks` + - [#1210](https://github.com/open-telemetry/opentelemetry-js/pull/1210) AsyncLocalStorage based ContextManager ([@johanneswuerbach](https://github.com/johanneswuerbach)) +- `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1237](https://github.com/open-telemetry/opentelemetry-js/pull/1237) fix(package.json): publish source maps ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` + - [#1171](https://github.com/open-telemetry/opentelemetry-js/pull/1171) feat: add instrumentation library and update collector exporter ([@mwear](https://github.com/mwear)) +- `opentelemetry-plugin-xml-http-request` + - [#1216](https://github.com/open-telemetry/opentelemetry-js/pull/1216) Increase Test Coverage for XML Http Plugin ([@thgao](https://github.com/thgao)) +- `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-web` + - [#1218](https://github.com/open-telemetry/opentelemetry-js/pull/1218) fix: change default propagator to match spec ([@jonahrosenblum](https://github.com/jonahrosenblum)) ### :bug: (Bug Fix) -* `opentelemetry-plugin-grpc` - * [#1289](https://github.com/open-telemetry/opentelemetry-js/pull/1289) fix(grpc): camelCase methods can be double patched ([@markwolff](https://github.com/markwolff)) -* `opentelemetry-plugin-fetch` - * [#1274](https://github.com/open-telemetry/opentelemetry-js/pull/1274) fix: do not crash on fetch(new Request(url)) ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-core` - * [#1269](https://github.com/open-telemetry/opentelemetry-js/pull/1269) fix(opentelemetry-core): modify regex to allow future versions ([@srjames90](https://github.com/srjames90)) -* `opentelemetry-exporter-collector` - * [#1254](https://github.com/open-telemetry/opentelemetry-js/pull/1254) fix: default url for otelcol ([@jufab](https://github.com/jufab)) +- `opentelemetry-plugin-grpc` + - [#1289](https://github.com/open-telemetry/opentelemetry-js/pull/1289) fix(grpc): camelCase methods can be double patched ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-plugin-fetch` + - [#1274](https://github.com/open-telemetry/opentelemetry-js/pull/1274) fix: do not crash on fetch(new Request(url)) ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-core` + - [#1269](https://github.com/open-telemetry/opentelemetry-js/pull/1269) fix(opentelemetry-core): modify regex to allow future versions ([@srjames90](https://github.com/srjames90)) +- `opentelemetry-exporter-collector` + - [#1254](https://github.com/open-telemetry/opentelemetry-js/pull/1254) fix: default url for otelcol ([@jufab](https://github.com/jufab)) ### :books: (Refine Doc) -* `opentelemetry-metrics` - * [#1239](https://github.com/open-telemetry/opentelemetry-js/pull/1239) chore: update metrics example with UpDownCounter ([@mayurkale22](https://github.com/mayurkale22)) -* `opentelemetry-exporter-jaeger` - * [#1234](https://github.com/open-telemetry/opentelemetry-js/pull/1234) docs: add note about endpoint config option ([@danielmbarlow](https://github.com/danielmbarlow)) -* `opentelemetry-api` - * [#1231](https://github.com/open-telemetry/opentelemetry-js/pull/1231) fix(jsdoc): change null to undefined ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-metrics` + - [#1239](https://github.com/open-telemetry/opentelemetry-js/pull/1239) chore: update metrics example with UpDownCounter ([@mayurkale22](https://github.com/mayurkale22)) +- `opentelemetry-exporter-jaeger` + - [#1234](https://github.com/open-telemetry/opentelemetry-js/pull/1234) docs: add note about endpoint config option ([@danielmbarlow](https://github.com/danielmbarlow)) +- `opentelemetry-api` + - [#1231](https://github.com/open-telemetry/opentelemetry-js/pull/1231) fix(jsdoc): change null to undefined ([@markwolff](https://github.com/markwolff)) ### :sparkles: (Feature) -* `opentelemetry-api`, `opentelemetry-metrics` - * [#1272](https://github.com/open-telemetry/opentelemetry-js/pull/1272) feat: adding new metric: up down sum observer ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#1272](https://github.com/open-telemetry/opentelemetry-js/pull/1272) feat: adding new metric: up down sum observer ([@obecny](https://github.com/obecny)) ### Committers: 21 -* Adam Egyed ([@adamegyed](https://github.com/adamegyed)) -* Aravin ([@aravinsiva](https://github.com/aravinsiva)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Bryan Clement ([@lykkin](https://github.com/lykkin)) -* Connor Lindsey ([@connorlindsey](https://github.com/connorlindsey)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Daniel M Barlow ([@danielmbarlow](https://github.com/danielmbarlow)) -* David W. ([@davidwitten](https://github.com/davidwitten)) -* Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) -* John Bley ([@johnbley](https://github.com/johnbley)) -* Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) -* Julien FABRE ([@jufab](https://github.com/jufab)) -* Mark Wolff ([@markwolff](https://github.com/markwolff)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) -* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) -* Tina Gao ([@thgao](https://github.com/thgao)) -* [@srjames90](https://github.com/srjames90) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Adam Egyed ([@adamegyed](https://github.com/adamegyed)) +- Aravin ([@aravinsiva](https://github.com/aravinsiva)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Bryan Clement ([@lykkin](https://github.com/lykkin)) +- Connor Lindsey ([@connorlindsey](https://github.com/connorlindsey)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Daniel M Barlow ([@danielmbarlow](https://github.com/danielmbarlow)) +- David W. ([@davidwitten](https://github.com/davidwitten)) +- Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) +- John Bley ([@johnbley](https://github.com/johnbley)) +- Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) +- Julien FABRE ([@jufab](https://github.com/jufab)) +- Mark Wolff ([@markwolff](https://github.com/markwolff)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) +- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +- Tina Gao ([@thgao](https://github.com/thgao)) +- [@srjames90](https://github.com/srjames90) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 0.9.0 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#1120](https://github.com/open-telemetry/opentelemetry-js/pull/1120) feat: add the UpDownCounter instrument ([@mayurkale22](https://github.com/mayurkale22)) - * [#1126](https://github.com/open-telemetry/opentelemetry-js/pull/1126) feat!: remove label keys as they are no longer part of the spec ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-api`, `opentelemetry-metrics` - * [#1117](https://github.com/open-telemetry/opentelemetry-js/pull/1117) chore: rename meaure to value recorder ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` - * [#1058](https://github.com/open-telemetry/opentelemetry-js/pull/1058) feat: spec compliant sampling result support ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#1120](https://github.com/open-telemetry/opentelemetry-js/pull/1120) feat: add the UpDownCounter instrument ([@mayurkale22](https://github.com/mayurkale22)) + - [#1126](https://github.com/open-telemetry/opentelemetry-js/pull/1126) feat!: remove label keys as they are no longer part of the spec ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#1117](https://github.com/open-telemetry/opentelemetry-js/pull/1117) chore: rename meaure to value recorder ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` + - [#1058](https://github.com/open-telemetry/opentelemetry-js/pull/1058) feat: spec compliant sampling result support ([@legendecas](https://github.com/legendecas)) ### :rocket: (Enhancement) -* Other - * [#1181](https://github.com/open-telemetry/opentelemetry-js/pull/1181) feat: add node-plugins-all package ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-web` - * [#1121](https://github.com/open-telemetry/opentelemetry-js/pull/1121) chore: adding plugin-fetch and example ([@obecny](https://github.com/obecny)) -* `opentelemetry-node` - * [#1153](https://github.com/open-telemetry/opentelemetry-js/pull/1153) feat: add OPENTELEMETRY_NO_PATCH_MODULES ([@markwolff](https://github.com/markwolff)) - * [#1151](https://github.com/open-telemetry/opentelemetry-js/pull/1151) chore(todo): add missing span sampling test ([@markwolff](https://github.com/markwolff)) -* `opentelemetry-exporter-jaeger` - * [#965](https://github.com/open-telemetry/opentelemetry-js/pull/965) feat(opentelemetry-exporter-jaeger): http sender ([@leonardodalcin](https://github.com/leonardodalcin)) -* `opentelemetry-exporter-zipkin` - * [#1138](https://github.com/open-telemetry/opentelemetry-js/pull/1138) feat(opentelemetry-js): infer zipkin service name from resource ([@rezakrimi](https://github.com/rezakrimi)) -* `opentelemetry-plugin-xml-http-request` - * [#1133](https://github.com/open-telemetry/opentelemetry-js/pull/1133) fix(plugin-xml-http-request): support sync requests ([@johnbley](https://github.com/johnbley)) -* `opentelemetry-metrics` - * [#1145](https://github.com/open-telemetry/opentelemetry-js/pull/1145) chore: creating new metric kind ([@obecny](https://github.com/obecny)) -* `opentelemetry-exporter-collector` - * [#1204](https://github.com/open-telemetry/opentelemetry-js/pull/1204) feat: collector exporter custom headers and metadata ([@mwear](https://github.com/mwear)) -* `opentelemetry-exporter-zipkin` - * [#1202](https://github.com/open-telemetry/opentelemetry-js/pull/1202) Adds possibility to set headers to zipkin exporter ([@obecny](https://github.com/obecny)) +- Other + - [#1181](https://github.com/open-telemetry/opentelemetry-js/pull/1181) feat: add node-plugins-all package ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-web` + - [#1121](https://github.com/open-telemetry/opentelemetry-js/pull/1121) chore: adding plugin-fetch and example ([@obecny](https://github.com/obecny)) +- `opentelemetry-node` + - [#1153](https://github.com/open-telemetry/opentelemetry-js/pull/1153) feat: add OPENTELEMETRY_NO_PATCH_MODULES ([@markwolff](https://github.com/markwolff)) + - [#1151](https://github.com/open-telemetry/opentelemetry-js/pull/1151) chore(todo): add missing span sampling test ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-exporter-jaeger` + - [#965](https://github.com/open-telemetry/opentelemetry-js/pull/965) feat(opentelemetry-exporter-jaeger): http sender ([@leonardodalcin](https://github.com/leonardodalcin)) +- `opentelemetry-exporter-zipkin` + - [#1138](https://github.com/open-telemetry/opentelemetry-js/pull/1138) feat(opentelemetry-js): infer zipkin service name from resource ([@rezakrimi](https://github.com/rezakrimi)) +- `opentelemetry-plugin-xml-http-request` + - [#1133](https://github.com/open-telemetry/opentelemetry-js/pull/1133) fix(plugin-xml-http-request): support sync requests ([@johnbley](https://github.com/johnbley)) +- `opentelemetry-metrics` + - [#1145](https://github.com/open-telemetry/opentelemetry-js/pull/1145) chore: creating new metric kind ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector` + - [#1204](https://github.com/open-telemetry/opentelemetry-js/pull/1204) feat: collector exporter custom headers and metadata ([@mwear](https://github.com/mwear)) +- `opentelemetry-exporter-zipkin` + - [#1202](https://github.com/open-telemetry/opentelemetry-js/pull/1202) Adds possibility to set headers to zipkin exporter ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-exporter-collector` - * [#1197](https://github.com/open-telemetry/opentelemetry-js/pull/1197) fix(exporter-collector): default endpoint for node and browser ([@davidwitten](https://github.com/davidwitten)) -* `opentelemetry-context-zone-peer-dep` - * [#1209](https://github.com/open-telemetry/opentelemetry-js/pull/1209) chore: fixing zone from which to fork a new zone ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector` + - [#1197](https://github.com/open-telemetry/opentelemetry-js/pull/1197) fix(exporter-collector): default endpoint for node and browser ([@davidwitten](https://github.com/davidwitten)) +- `opentelemetry-context-zone-peer-dep` + - [#1209](https://github.com/open-telemetry/opentelemetry-js/pull/1209) chore: fixing zone from which to fork a new zone ([@obecny](https://github.com/obecny)) ### :sparkles: (Feature) -* `opentelemetry-semantic-conventions` - * [#1160](https://github.com/open-telemetry/opentelemetry-js/pull/1160) refactor(attributes): move enums to @opentelemetry/semantic-conventions ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-semantic-conventions` + - [#1160](https://github.com/open-telemetry/opentelemetry-js/pull/1160) refactor(attributes): move enums to @opentelemetry/semantic-conventions ([@markwolff](https://github.com/markwolff)) ### :books: (Refine Doc) -* Other - * [#1192](https://github.com/open-telemetry/opentelemetry-js/pull/1192) Fix_typo ([@shivkanya9146](https://github.com/shivkanya9146)) - * [#1147](https://github.com/open-telemetry/opentelemetry-js/pull/1147) ci: lint markdown files ([@naseemkullah](https://github.com/naseemkullah)) - * [#1142](https://github.com/open-telemetry/opentelemetry-js/pull/1142) chore: template prometheus endpoint in examples rather than hardcode ([@naseemkullah](https://github.com/naseemkullah)) - * [#1217](https://github.com/open-telemetry/opentelemetry-js/pull/1217) chore: fix markdown linting and add npm script ([@dyladan](https://github.com/dyladan)) +- Other + - [#1192](https://github.com/open-telemetry/opentelemetry-js/pull/1192) Fix_typo ([@shivkanya9146](https://github.com/shivkanya9146)) + - [#1147](https://github.com/open-telemetry/opentelemetry-js/pull/1147) ci: lint markdown files ([@naseemkullah](https://github.com/naseemkullah)) + - [#1142](https://github.com/open-telemetry/opentelemetry-js/pull/1142) chore: template prometheus endpoint in examples rather than hardcode ([@naseemkullah](https://github.com/naseemkullah)) + - [#1217](https://github.com/open-telemetry/opentelemetry-js/pull/1217) chore: fix markdown linting and add npm script ([@dyladan](https://github.com/dyladan)) ### Committers: 13 -* David W. ([@davidwitten](https://github.com/davidwitten)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Mark Wolff ([@markwolff](https://github.com/markwolff)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* legendecas ([@legendecas](https://github.com/legendecas)) -* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) -* Leonardo Dalcin ([@leonardodalcin](https://github.com/leonardodalcin)) -* [@rezakrimi](https://github.com/rezakrimi) -* John Bley ([@johnbley](https://github.com/johnbley)) -* Matthew Wear ([@mwear](https://github.com/mwear)) +- David W. ([@davidwitten](https://github.com/davidwitten)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Mark Wolff ([@markwolff](https://github.com/markwolff)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- legendecas ([@legendecas](https://github.com/legendecas)) +- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +- Leonardo Dalcin ([@leonardodalcin](https://github.com/leonardodalcin)) +- [@rezakrimi](https://github.com/rezakrimi) +- John Bley ([@johnbley](https://github.com/johnbley)) +- Matthew Wear ([@mwear](https://github.com/mwear)) ## 0.8.3 ### :rocket: (Enhancement) -* `opentelemetry-node` - * [#980](https://github.com/open-telemetry/opentelemetry-js/pull/980) feat: merge user supplied and default plugin configs ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-node` + - [#980](https://github.com/open-telemetry/opentelemetry-js/pull/980) feat: merge user supplied and default plugin configs ([@naseemkullah](https://github.com/naseemkullah)) ### :bug: (Bug Fix) -* `opentelemetry-context-async-hooks` - * [#1099](https://github.com/open-telemetry/opentelemetry-js/pull/1099) fix(asynchooks-scope): fix context loss using .with() #1101 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-context-async-hooks` + - [#1099](https://github.com/open-telemetry/opentelemetry-js/pull/1099) fix(asynchooks-scope): fix context loss using .with() #1101 ([@vmarchaud](https://github.com/vmarchaud)) ### :books: (Refine Doc) -* Other - * [#1100](https://github.com/open-telemetry/opentelemetry-js/pull/1100) docs(batcher): document how to configure custom aggregators #989 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-api` - * [#1106](https://github.com/open-telemetry/opentelemetry-js/pull/1106) chore: improve API documentation ([@mayurkale22](https://github.com/mayurkale22)) +- Other + - [#1100](https://github.com/open-telemetry/opentelemetry-js/pull/1100) docs(batcher): document how to configure custom aggregators #989 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-api` + - [#1106](https://github.com/open-telemetry/opentelemetry-js/pull/1106) chore: improve API documentation ([@mayurkale22](https://github.com/mayurkale22)) ### Committers: 7 -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Kanika Shah ([@kanikashah90](https://github.com/kanikashah90)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* [@shivkanya9146](https://github.com/shivkanya9146) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Kanika Shah ([@kanikashah90](https://github.com/kanikashah90)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- [@shivkanya9146](https://github.com/shivkanya9146) ## 0.8.2 ### :rocket: (Enhancement) -* `opentelemetry-exporter-collector` - * [#1063](https://github.com/open-telemetry/opentelemetry-js/pull/1063) feat: exporter collector TLS option ([@mzahor](https://github.com/mzahor)) -* `opentelemetry-core` - * [#838](https://github.com/open-telemetry/opentelemetry-js/pull/838) feat: implement W3C Correlation Context propagator ([@rubenvp8510](https://github.com/rubenvp8510)) +- `opentelemetry-exporter-collector` + - [#1063](https://github.com/open-telemetry/opentelemetry-js/pull/1063) feat: exporter collector TLS option ([@mzahor](https://github.com/mzahor)) +- `opentelemetry-core` + - [#838](https://github.com/open-telemetry/opentelemetry-js/pull/838) feat: implement W3C Correlation Context propagator ([@rubenvp8510](https://github.com/rubenvp8510)) ### :bug: (Bug Fix) -* `opentelemetry-api` - * [#1067](https://github.com/open-telemetry/opentelemetry-js/pull/1067) fix: missing `global` in browser environments ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-api` + - [#1067](https://github.com/open-telemetry/opentelemetry-js/pull/1067) fix: missing `global` in browser environments ([@legendecas](https://github.com/legendecas)) ### :books: (Refine Doc) -* Other - * [#1057](https://github.com/open-telemetry/opentelemetry-js/pull/1057) chore: add examples README.md ([@mayurkale22](https://github.com/mayurkale22)) -* `opentelemetry-core` - * [#1080](https://github.com/open-telemetry/opentelemetry-js/pull/1080) docs: document CorrelationContext propagator under Built-in Implement… ([@rubenvp8510](https://github.com/rubenvp8510)) +- Other + - [#1057](https://github.com/open-telemetry/opentelemetry-js/pull/1057) chore: add examples README.md ([@mayurkale22](https://github.com/mayurkale22)) +- `opentelemetry-core` + - [#1080](https://github.com/open-telemetry/opentelemetry-js/pull/1080) docs: document CorrelationContext propagator under Built-in Implement… ([@rubenvp8510](https://github.com/rubenvp8510)) ### Committers: 5 -* Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) -* Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) -* legendecas ([@legendecas](https://github.com/legendecas)) +- Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) +- Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) +- legendecas ([@legendecas](https://github.com/legendecas)) ## 0.8.1 ### :rocket: (Enhancement) -* Other - * [#1050](https://github.com/open-telemetry/opentelemetry-js/pull/1050) feat: add plugin metapackages ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-resources` - * [#1055](https://github.com/open-telemetry/opentelemetry-js/pull/1055) chore(opentelemetry-resources): add instance type and az to aws detector ([@justinwalz](https://github.com/justinwalz)) -* `opentelemetry-plugin-http` - * [#963](https://github.com/open-telemetry/opentelemetry-js/pull/963) feat(plugin-http): add plugin hooks before processing req and res ([@BlumAmir](https://github.com/BlumAmir)) -* `opentelemetry-metrics` - * [#1049](https://github.com/open-telemetry/opentelemetry-js/pull/1049) chore: pipe resource through to MetricRecord ([@mwear](https://github.com/mwear)) -* `opentelemetry-api`, `opentelemetry-metrics` - * [#1032](https://github.com/open-telemetry/opentelemetry-js/pull/1032) Make Labels Optional for CounterMetric::add ([@astorm](https://github.com/astorm)) +- Other + - [#1050](https://github.com/open-telemetry/opentelemetry-js/pull/1050) feat: add plugin metapackages ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-resources` + - [#1055](https://github.com/open-telemetry/opentelemetry-js/pull/1055) chore(opentelemetry-resources): add instance type and az to aws detector ([@justinwalz](https://github.com/justinwalz)) +- `opentelemetry-plugin-http` + - [#963](https://github.com/open-telemetry/opentelemetry-js/pull/963) feat(plugin-http): add plugin hooks before processing req and res ([@BlumAmir](https://github.com/BlumAmir)) +- `opentelemetry-metrics` + - [#1049](https://github.com/open-telemetry/opentelemetry-js/pull/1049) chore: pipe resource through to MetricRecord ([@mwear](https://github.com/mwear)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#1032](https://github.com/open-telemetry/opentelemetry-js/pull/1032) Make Labels Optional for CounterMetric::add ([@astorm](https://github.com/astorm)) ### :bug: (Bug Fix) -* `opentelemetry-plugin-http` - * [#1060](https://github.com/open-telemetry/opentelemetry-js/pull/1060) fix(http-plugin): don't modify user's headers object in plugin ([@BlumAmir](https://github.com/BlumAmir)) -* `opentelemetry-exporter-collector` - * [#1053](https://github.com/open-telemetry/opentelemetry-js/pull/1053) fix: include proto files in deployment package ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-http` + - [#1060](https://github.com/open-telemetry/opentelemetry-js/pull/1060) fix(http-plugin): don't modify user's headers object in plugin ([@BlumAmir](https://github.com/BlumAmir)) +- `opentelemetry-exporter-collector` + - [#1053](https://github.com/open-telemetry/opentelemetry-js/pull/1053) fix: include proto files in deployment package ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -* Other - * [#1065](https://github.com/open-telemetry/opentelemetry-js/pull/1065) style: format README ([@naseemkullah](https://github.com/naseemkullah)) - * [#1064](https://github.com/open-telemetry/opentelemetry-js/pull/1064) chore: update README ([@mayurkale22](https://github.com/mayurkale22)) - * [#1051](https://github.com/open-telemetry/opentelemetry-js/pull/1051) chore: deploy docs using github action ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-prometheus` - * [#1056](https://github.com/open-telemetry/opentelemetry-js/pull/1056) fix readme: setting labelKeys when creating the counter ([@luebken](https://github.com/luebken)) +- Other + - [#1065](https://github.com/open-telemetry/opentelemetry-js/pull/1065) style: format README ([@naseemkullah](https://github.com/naseemkullah)) + - [#1064](https://github.com/open-telemetry/opentelemetry-js/pull/1064) chore: update README ([@mayurkale22](https://github.com/mayurkale22)) + - [#1051](https://github.com/open-telemetry/opentelemetry-js/pull/1051) chore: deploy docs using github action ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-prometheus` + - [#1056](https://github.com/open-telemetry/opentelemetry-js/pull/1056) fix readme: setting labelKeys when creating the counter ([@luebken](https://github.com/luebken)) ### Committers: 9 -* Alan Storm ([@astorm](https://github.com/astorm)) -* Amir Blum ([@BlumAmir](https://github.com/BlumAmir)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Justin Walz ([@justinwalz](https://github.com/justinwalz)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Matthias Lübken ([@luebken](https://github.com/luebken)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* [@shivkanya9146](https://github.com/shivkanya9146) +- Alan Storm ([@astorm](https://github.com/astorm)) +- Amir Blum ([@BlumAmir](https://github.com/BlumAmir)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Justin Walz ([@justinwalz](https://github.com/justinwalz)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Matthias Lübken ([@luebken](https://github.com/luebken)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- [@shivkanya9146](https://github.com/shivkanya9146) ## 0.8.0 @@ -1917,58 +1918,58 @@ Released 2020-05-12 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-metrics` - * [#1001](https://github.com/open-telemetry/opentelemetry-js/pull/1001) fix: observers should not expose bind/unbind method ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#1001](https://github.com/open-telemetry/opentelemetry-js/pull/1001) fix: observers should not expose bind/unbind method ([@legendecas](https://github.com/legendecas)) ### :bug: (Bug Fix) -* `opentelemetry-plugin-http` - * [#984](https://github.com/open-telemetry/opentelemetry-js/pull/984) fix(http-plugin): strip otel custom http header #983 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-core` - * [#1021](https://github.com/open-telemetry/opentelemetry-js/pull/1021) fix: left pad short b3 trace identifiers ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-plugin-xml-http-reques` - * [#1002](https://github.com/open-telemetry/opentelemetry-js/pull/1002) fix(opentelemetry-plugin-xml-http-request): define span kind as CLIENT for xmlhttprequests ([@ivansenic](https://github.com/ivansenic)) -* `opentelemetry-plugin-grpc` - * [#1005](https://github.com/open-telemetry/opentelemetry-js/pull/1005) fix: add missing error status handler ([@markwolff](https://github.com/markwolff)) -* `opentelemetry-exporter-collector` - * [#1008](https://github.com/open-telemetry/opentelemetry-js/pull/1008) fix: permission denied error when cloning submodules ([@sleighzy](https://github.com/sleighzy)) +- `opentelemetry-plugin-http` + - [#984](https://github.com/open-telemetry/opentelemetry-js/pull/984) fix(http-plugin): strip otel custom http header #983 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-core` + - [#1021](https://github.com/open-telemetry/opentelemetry-js/pull/1021) fix: left pad short b3 trace identifiers ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-xml-http-reques` + - [#1002](https://github.com/open-telemetry/opentelemetry-js/pull/1002) fix(opentelemetry-plugin-xml-http-request): define span kind as CLIENT for xmlhttprequests ([@ivansenic](https://github.com/ivansenic)) +- `opentelemetry-plugin-grpc` + - [#1005](https://github.com/open-telemetry/opentelemetry-js/pull/1005) fix: add missing error status handler ([@markwolff](https://github.com/markwolff)) +- `opentelemetry-exporter-collector` + - [#1008](https://github.com/open-telemetry/opentelemetry-js/pull/1008) fix: permission denied error when cloning submodules ([@sleighzy](https://github.com/sleighzy)) ### :rocket: (Enhancement) -* `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - * [#1037](https://github.com/open-telemetry/opentelemetry-js/pull/1037) fix(tracing): span processor should receive a readable span as parameters ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-tracing` - * [#1024](https://github.com/open-telemetry/opentelemetry-js/pull/1024) fix: multi span processor should flush child span processors ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-metrics`, `opentelemetry-tracing` - * [#1015](https://github.com/open-telemetry/opentelemetry-js/pull/1015) fix: prevent duplicated resource creation ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-metrics` - * [#1014](https://github.com/open-telemetry/opentelemetry-js/pull/1014) feat(metrics): use MetricDescriptor to determine aggregator #989 ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-plugin-http` - * [#948](https://github.com/open-telemetry/opentelemetry-js/pull/948) feat(http-plugin): add options to disable new spans if no parent ([@vmarchaud](https://github.com/vmarchaud)) -* `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing`, `opentelemetry-web` - * [#943](https://github.com/open-telemetry/opentelemetry-js/pull/943) Use global API instances ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api` - * [#1016](https://github.com/open-telemetry/opentelemetry-js/pull/1016) refactor: normalize namespace import name for @opentelemetry/api ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-core`, `opentelemetry-base` - * [#991](https://github.com/open-telemetry/opentelemetry-js/pull/991) refactor: merge opentelemetry-base to opentelemetry-core ([@legendecas](https://github.com/legendecas)) -* `opentelemetry-core` - * [#981](https://github.com/open-telemetry/opentelemetry-js/pull/981) chore: splitting BasePlugin into browser and node ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + - [#1037](https://github.com/open-telemetry/opentelemetry-js/pull/1037) fix(tracing): span processor should receive a readable span as parameters ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-tracing` + - [#1024](https://github.com/open-telemetry/opentelemetry-js/pull/1024) fix: multi span processor should flush child span processors ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-metrics`, `opentelemetry-tracing` + - [#1015](https://github.com/open-telemetry/opentelemetry-js/pull/1015) fix: prevent duplicated resource creation ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-metrics` + - [#1014](https://github.com/open-telemetry/opentelemetry-js/pull/1014) feat(metrics): use MetricDescriptor to determine aggregator #989 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-plugin-http` + - [#948](https://github.com/open-telemetry/opentelemetry-js/pull/948) feat(http-plugin): add options to disable new spans if no parent ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing`, `opentelemetry-web` + - [#943](https://github.com/open-telemetry/opentelemetry-js/pull/943) Use global API instances ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api` + - [#1016](https://github.com/open-telemetry/opentelemetry-js/pull/1016) refactor: normalize namespace import name for @opentelemetry/api ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-core`, `opentelemetry-base` + - [#991](https://github.com/open-telemetry/opentelemetry-js/pull/991) refactor: merge opentelemetry-base to opentelemetry-core ([@legendecas](https://github.com/legendecas)) +- `opentelemetry-core` + - [#981](https://github.com/open-telemetry/opentelemetry-js/pull/981) chore: splitting BasePlugin into browser and node ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -* Other - * [#1003](https://github.com/open-telemetry/opentelemetry-js/pull/1003) chore: test on node 14 ([@dyladan](https://github.com/dyladan)) - * [#990](https://github.com/open-telemetry/opentelemetry-js/pull/990) fix(opentracing-shim): update opentracing shim example ([@sleighzy](https://github.com/sleighzy)) +- Other + - [#1003](https://github.com/open-telemetry/opentelemetry-js/pull/1003) chore: test on node 14 ([@dyladan](https://github.com/dyladan)) + - [#990](https://github.com/open-telemetry/opentelemetry-js/pull/990) fix(opentracing-shim): update opentracing shim example ([@sleighzy](https://github.com/sleighzy)) ### Committers: 7 -* legendecas ([@legendecas](https://github.com/legendecas)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Ivan Senic ([@ivansenic](https://github.com/ivansenic)) -* Mark Wolff ([@markwolff](https://github.com/markwolff)) -* Simon Leigh ([@sleighzy](https://github.com/sleighzy)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- legendecas ([@legendecas](https://github.com/legendecas)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Ivan Senic ([@ivansenic](https://github.com/ivansenic)) +- Mark Wolff ([@markwolff](https://github.com/markwolff)) +- Simon Leigh ([@sleighzy](https://github.com/sleighzy)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) ## 0.7.0 @@ -1976,32 +1977,32 @@ Released 2020-04-23 ### :boom: Breaking Change -* `opentelemetry-exporter-collector` - * [#901](https://github.com/open-telemetry/opentelemetry-js/pull/901) grpc for node and support for new proto format for node and browser ([@obecny](https://github.com/obecny)) -* `opentelemetry-api`, `opentelemetry-metrics` - * [#964](https://github.com/open-telemetry/opentelemetry-js/pull/964) chore: adding metric observable to be able to support async update ([@obecny](https://github.com/obecny)) +- `opentelemetry-exporter-collector` + - [#901](https://github.com/open-telemetry/opentelemetry-js/pull/901) grpc for node and support for new proto format for node and browser ([@obecny](https://github.com/obecny)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#964](https://github.com/open-telemetry/opentelemetry-js/pull/964) chore: adding metric observable to be able to support async update ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -* `opentelemetry-plugin-http` - * [#960](https://github.com/open-telemetry/opentelemetry-js/pull/960) [http] fix: use url.URL ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-core` - * [#977](https://github.com/open-telemetry/opentelemetry-js/pull/977) fix(B3Propagator): B3 sampled causing gRPC error ([@mayurkale22](https://github.com/mayurkale22)) +- `opentelemetry-plugin-http` + - [#960](https://github.com/open-telemetry/opentelemetry-js/pull/960) [http] fix: use url.URL ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-core` + - [#977](https://github.com/open-telemetry/opentelemetry-js/pull/977) fix(B3Propagator): B3 sampled causing gRPC error ([@mayurkale22](https://github.com/mayurkale22)) ### :rocket: (Enhancement) -* `opentelemetry-resources` - * [#899](https://github.com/open-telemetry/opentelemetry-js/pull/899) feat: resource auto-detection ([@mwear](https://github.com/mwear)) -* `opentelemetry-metrics` - * [#930](https://github.com/open-telemetry/opentelemetry-js/pull/930) feat(aggregators): implement histogram aggregator ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-resources` + - [#899](https://github.com/open-telemetry/opentelemetry-js/pull/899) feat: resource auto-detection ([@mwear](https://github.com/mwear)) +- `opentelemetry-metrics` + - [#930](https://github.com/open-telemetry/opentelemetry-js/pull/930) feat(aggregators): implement histogram aggregator ([@vmarchaud](https://github.com/vmarchaud)) ### Committers: 5 -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Matthew Wear ([@mwear](https://github.com/mwear)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Matthew Wear ([@mwear](https://github.com/mwear)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) ## 0.6.1 @@ -2009,29 +2010,29 @@ Released 2020-04-08 ### :rocket: (Enhancement) -* `opentelemetry-exporter-jaeger` - * [#924](https://github.com/open-telemetry/opentelemetry-js/pull/924) [Jaeger-Exporter] host default env var ([@naseemkullah](https://github.com/naseemkullah)) -* `opentelemetry-metrics` - * [#933](https://github.com/open-telemetry/opentelemetry-js/pull/933) feat(meter): allow custom batcher #932 ([@vmarchaud](https://github.com/vmarchaud)) +- `opentelemetry-exporter-jaeger` + - [#924](https://github.com/open-telemetry/opentelemetry-js/pull/924) [Jaeger-Exporter] host default env var ([@naseemkullah](https://github.com/naseemkullah)) +- `opentelemetry-metrics` + - [#933](https://github.com/open-telemetry/opentelemetry-js/pull/933) feat(meter): allow custom batcher #932 ([@vmarchaud](https://github.com/vmarchaud)) ### :bug: (Bug Fix) -* `opentelemetry-plugin-http` - * [#946](https://github.com/open-telemetry/opentelemetry-js/pull/946) Remove bad null check ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#941](https://github.com/open-telemetry/opentelemetry-js/pull/941) fix: do not clear other labelsets when updating metrics ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-http` + - [#946](https://github.com/open-telemetry/opentelemetry-js/pull/946) Remove bad null check ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#941](https://github.com/open-telemetry/opentelemetry-js/pull/941) fix: do not clear other labelsets when updating metrics ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -* `opentelemetry-propagator-jaeger` - * [#937](https://github.com/open-telemetry/opentelemetry-js/pull/937) fix: Jaeger propagator example of usage" ([@shivkanya9146](https://github.com/shivkanya9146)) +- `opentelemetry-propagator-jaeger` + - [#937](https://github.com/open-telemetry/opentelemetry-js/pull/937) fix: Jaeger propagator example of usage" ([@shivkanya9146](https://github.com/shivkanya9146)) ### Committers: 4 -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Naseem ([@naseemkullah](https://github.com/naseemkullah)) -* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -* [@shivkanya9146](https://github.com/shivkanya9146) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Naseem ([@naseemkullah](https://github.com/naseemkullah)) +- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +- [@shivkanya9146](https://github.com/shivkanya9146) ## 0.6.0 @@ -2039,27 +2040,27 @@ Released 2020-04-01 ### :boom: Breaking Change -* `opentelemetry-api`, `opentelemetry-metrics` - * [#915](https://github.com/open-telemetry/opentelemetry-js/pull/915) Remove label set from metrics API ([@mayurkale22](https://github.com/mayurkale22)) +- `opentelemetry-api`, `opentelemetry-metrics` + - [#915](https://github.com/open-telemetry/opentelemetry-js/pull/915) Remove label set from metrics API ([@mayurkale22](https://github.com/mayurkale22)) ### :rocket: (Enhancement) -* `opentelemetry-tracing` - * [#913](https://github.com/open-telemetry/opentelemetry-js/pull/913) chore: remove unused default argument in Tracer ([@Flarna](https://github.com/Flarna)) -* `opentelemetry-exporter-jaeger` - * [#916](https://github.com/open-telemetry/opentelemetry-js/pull/916) chore: removing force flush ([@obecny](https://github.com/obecny)) +- `opentelemetry-tracing` + - [#913](https://github.com/open-telemetry/opentelemetry-js/pull/913) chore: remove unused default argument in Tracer ([@Flarna](https://github.com/Flarna)) +- `opentelemetry-exporter-jaeger` + - [#916](https://github.com/open-telemetry/opentelemetry-js/pull/916) chore: removing force flush ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -* `opentelemetry-node` - * [#921](https://github.com/open-telemetry/opentelemetry-js/pull/921) chore: fix Require Path in README [@shivkanya9146](https://github.com/shivkanya9146)) +- `opentelemetry-node` + - [#921](https://github.com/open-telemetry/opentelemetry-js/pull/921) chore: fix Require Path in README [@shivkanya9146](https://github.com/shivkanya9146)) ### Committers: 4 -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) ## 0.5.2 @@ -2067,33 +2068,33 @@ Released 2020-03-27 ### :rocket: (Enhancement) -* `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - * [#893](https://github.com/open-telemetry/opentelemetry-js/pull/893) Metrics: Add lastUpdateTimestamp associated with point ([@mayurkale22](https://github.com/mayurkale22)) -* `opentelemetry-tracing` - * [#896](https://github.com/open-telemetry/opentelemetry-js/pull/896) Do not export empty span lists ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-api`, `opentelemetry-tracing` - * [#889](https://github.com/open-telemetry/opentelemetry-js/pull/889) feat: start a root span with spanOptions.parent = null ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + - [#893](https://github.com/open-telemetry/opentelemetry-js/pull/893) Metrics: Add lastUpdateTimestamp associated with point ([@mayurkale22](https://github.com/mayurkale22)) +- `opentelemetry-tracing` + - [#896](https://github.com/open-telemetry/opentelemetry-js/pull/896) Do not export empty span lists ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-api`, `opentelemetry-tracing` + - [#889](https://github.com/open-telemetry/opentelemetry-js/pull/889) feat: start a root span with spanOptions.parent = null ([@dyladan](https://github.com/dyladan)) ### :bug: (Bug Fix) -* `opentelemetry-core`, `opentelemetry-propagator-jaeger` - * [#904](https://github.com/open-telemetry/opentelemetry-js/pull/904) fix: add type checking in propagators ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` - * [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) -* Other - * [#884](https://github.com/open-telemetry/opentelemetry-js/pull/884) chore: fixing main package.json version ([@obecny](https://github.com/obecny)) +- `opentelemetry-core`, `opentelemetry-propagator-jaeger` + - [#904](https://github.com/open-telemetry/opentelemetry-js/pull/904) fix: add type checking in propagators ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` + - [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) +- Other + - [#884](https://github.com/open-telemetry/opentelemetry-js/pull/884) chore: fixing main package.json version ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -* `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` - * [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) +- `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` + - [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) ### Committers: 4 -* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Mark Robert Henderson ([@aphelionz](https://github.com/aphelionz)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Mark Robert Henderson ([@aphelionz](https://github.com/aphelionz)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) ## 0.5.1 @@ -2101,17 +2102,17 @@ Released 2020-03-19 ### :bug: (Bug Fix) -* `opentelemetry-web` - * [#873](https://github.com/open-telemetry/opentelemetry-js/pull/873) Remove unnecessary `this` overwrite in stack context manager ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-plugin-mysql` - * [#880](https://github.com/open-telemetry/opentelemetry-js/pull/880) Do not multiwrap pool queries ([@dyladan](https://github.com/dyladan)) -* `opentelemetry-metrics` - * [#881](https://github.com/open-telemetry/opentelemetry-js/pull/881) fix: @opentelemetry/metrics fails to run due to bad import ([@mayurkale22](https://github.com/mayurkale22)) +- `opentelemetry-web` + - [#873](https://github.com/open-telemetry/opentelemetry-js/pull/873) Remove unnecessary `this` overwrite in stack context manager ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-plugin-mysql` + - [#880](https://github.com/open-telemetry/opentelemetry-js/pull/880) Do not multiwrap pool queries ([@dyladan](https://github.com/dyladan)) +- `opentelemetry-metrics` + - [#881](https://github.com/open-telemetry/opentelemetry-js/pull/881) fix: @opentelemetry/metrics fails to run due to bad import ([@mayurkale22](https://github.com/mayurkale22)) ### Committers: 2 -* Daniel Dyla ([@dyladan](https://github.com/dyladan)) -* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) ## 0.5.0 @@ -2121,42 +2122,42 @@ Released 2020-03-16 ### :boom: Breaking Change -* [#853](https://github.com/open-telemetry/opentelemetry-js/pull/853) Rename scope to context -* [#851](https://github.com/open-telemetry/opentelemetry-js/pull/851) Rename formatter to propagator +- [#853](https://github.com/open-telemetry/opentelemetry-js/pull/853) Rename scope to context +- [#851](https://github.com/open-telemetry/opentelemetry-js/pull/851) Rename formatter to propagator ### :rocket: (Enhancement) -* [#828](https://github.com/open-telemetry/opentelemetry-js/pull/828) feat: metric observer -* [#858](https://github.com/open-telemetry/opentelemetry-js/pull/858) chore: update out-of-date dependencies -* [#856](https://github.com/open-telemetry/opentelemetry-js/pull/856) fix: change loglevel for beta -* [#843](https://github.com/open-telemetry/opentelemetry-js/pull/843) export resource to exporters -* [#846](https://github.com/open-telemetry/opentelemetry-js/pull/846) SDK Resource -* [#625](https://github.com/open-telemetry/opentelemetry-js/pull/625) feat: introduce ended property on Span -* [#837](https://github.com/open-telemetry/opentelemetry-js/pull/837) Simplify SDK registration -* [#818](https://github.com/open-telemetry/opentelemetry-js/pull/818) fix: change SpanContext.traceFlags to mandatory -* [#827](https://github.com/open-telemetry/opentelemetry-js/pull/827) Add getter and setter arguments to propagation API -* [#821](https://github.com/open-telemetry/opentelemetry-js/pull/821) feat: add composite propagator -* [#824](https://github.com/open-telemetry/opentelemetry-js/pull/824) Faster trace id generation -* [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing -* [#802](https://github.com/open-telemetry/opentelemetry-js/pull/802) chore: adding force flush to span processors -* [#816](https://github.com/open-telemetry/opentelemetry-js/pull/816) feat: use context-based tracing -* [#815](https://github.com/open-telemetry/opentelemetry-js/pull/815) Resources API: package, semantic conventions, and test utils -* [#797](https://github.com/open-telemetry/opentelemetry-js/pull/797) Add propagation API -* [#792](https://github.com/open-telemetry/opentelemetry-js/pull/792) Add context API -* [#685](https://github.com/open-telemetry/opentelemetry-js/pull/685) feat: add express plugin #666 -* [#769](https://github.com/open-telemetry/opentelemetry-js/pull/769) Separate context propagation (OTEP 66) -* [#653](https://github.com/open-telemetry/opentelemetry-js/pull/653) Prevent loading plugins for incorrect module #626 -* [#654](https://github.com/open-telemetry/opentelemetry-js/pull/654) feat: warn user when a instrumented package was already required #636 -* [#772](https://github.com/open-telemetry/opentelemetry-js/pull/772) chore: add typing to propagator carrier -* [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header -* [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode -* [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) feat: add jaeger http trace format (#696) +- [#828](https://github.com/open-telemetry/opentelemetry-js/pull/828) feat: metric observer +- [#858](https://github.com/open-telemetry/opentelemetry-js/pull/858) chore: update out-of-date dependencies +- [#856](https://github.com/open-telemetry/opentelemetry-js/pull/856) fix: change loglevel for beta +- [#843](https://github.com/open-telemetry/opentelemetry-js/pull/843) export resource to exporters +- [#846](https://github.com/open-telemetry/opentelemetry-js/pull/846) SDK Resource +- [#625](https://github.com/open-telemetry/opentelemetry-js/pull/625) feat: introduce ended property on Span +- [#837](https://github.com/open-telemetry/opentelemetry-js/pull/837) Simplify SDK registration +- [#818](https://github.com/open-telemetry/opentelemetry-js/pull/818) fix: change SpanContext.traceFlags to mandatory +- [#827](https://github.com/open-telemetry/opentelemetry-js/pull/827) Add getter and setter arguments to propagation API +- [#821](https://github.com/open-telemetry/opentelemetry-js/pull/821) feat: add composite propagator +- [#824](https://github.com/open-telemetry/opentelemetry-js/pull/824) Faster trace id generation +- [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing +- [#802](https://github.com/open-telemetry/opentelemetry-js/pull/802) chore: adding force flush to span processors +- [#816](https://github.com/open-telemetry/opentelemetry-js/pull/816) feat: use context-based tracing +- [#815](https://github.com/open-telemetry/opentelemetry-js/pull/815) Resources API: package, semantic conventions, and test utils +- [#797](https://github.com/open-telemetry/opentelemetry-js/pull/797) Add propagation API +- [#792](https://github.com/open-telemetry/opentelemetry-js/pull/792) Add context API +- [#685](https://github.com/open-telemetry/opentelemetry-js/pull/685) feat: add express plugin #666 +- [#769](https://github.com/open-telemetry/opentelemetry-js/pull/769) Separate context propagation (OTEP 66) +- [#653](https://github.com/open-telemetry/opentelemetry-js/pull/653) Prevent loading plugins for incorrect module #626 +- [#654](https://github.com/open-telemetry/opentelemetry-js/pull/654) feat: warn user when a instrumented package was already required #636 +- [#772](https://github.com/open-telemetry/opentelemetry-js/pull/772) chore: add typing to propagator carrier +- [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header +- [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode +- [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) feat: add jaeger http trace format (#696) ### :bug: (Bug Fix) -* [#798](https://github.com/open-telemetry/opentelemetry-js/pull/798) Respect sampled bit in probability sampler -* [#743](https://github.com/open-telemetry/opentelemetry-js/pull/743) fix: left pad jaeger trace ids -* [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely +- [#798](https://github.com/open-telemetry/opentelemetry-js/pull/798) Respect sampled bit in probability sampler +- [#743](https://github.com/open-telemetry/opentelemetry-js/pull/743) fix: left pad jaeger trace ids +- [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely ## 0.4.0 @@ -2164,32 +2165,32 @@ Released 2020-02-05 ### :rocket: (Enhancement) -* `opentelemetry-api` - * [#727](https://github.com/open-telemetry/opentelemetry-js/pull/727) Api separation (deprecate `opentelemetry-types`) - * [#749](https://github.com/open-telemetry/opentelemetry-js/pull/749) chore: rename registry to provider +- `opentelemetry-api` + - [#727](https://github.com/open-telemetry/opentelemetry-js/pull/727) Api separation (deprecate `opentelemetry-types`) + - [#749](https://github.com/open-telemetry/opentelemetry-js/pull/749) chore: rename registry to provider ### :sparkles: (Feature) -* `opentelemetry-plugin-http` - * [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode -* `opentelemetry-exporter-jaeger` - * [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header -* `opentelemetry-plugin-user-interaction` - * [#658](https://github.com/open-telemetry/opentelemetry-js/pull/658) feat: plugin user interaction for web +- `opentelemetry-plugin-http` + - [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode +- `opentelemetry-exporter-jaeger` + - [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header +- `opentelemetry-plugin-user-interaction` + - [#658](https://github.com/open-telemetry/opentelemetry-js/pull/658) feat: plugin user interaction for web ### :books: (Refine Doc) -* [#689](https://github.com/open-telemetry/opentelemetry-js/pull/689) Add benchmark README and latest numbers -* [#733](https://github.com/open-telemetry/opentelemetry-js/pull/733) chore: add instruction for pg-pool plugin -* [#665](https://github.com/open-telemetry/opentelemetry-js/pull/665) docs: add ioredis example -* [#731](https://github.com/open-telemetry/opentelemetry-js/pull/731) Update Stackdriver exporter example +- [#689](https://github.com/open-telemetry/opentelemetry-js/pull/689) Add benchmark README and latest numbers +- [#733](https://github.com/open-telemetry/opentelemetry-js/pull/733) chore: add instruction for pg-pool plugin +- [#665](https://github.com/open-telemetry/opentelemetry-js/pull/665) docs: add ioredis example +- [#731](https://github.com/open-telemetry/opentelemetry-js/pull/731) Update Stackdriver exporter example ### :bug: (Bug Fix) -* `opentelemetry-exporter-jaeger` - * [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely -* `opentelemetry-plugin-ioredis` - * [#671](https://github.com/open-telemetry/opentelemetry-js/pull/671) [ioredis plugin] fix: change supportedVersions to >1 <5 +- `opentelemetry-exporter-jaeger` + - [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely +- `opentelemetry-plugin-ioredis` + - [#671](https://github.com/open-telemetry/opentelemetry-js/pull/671) [ioredis plugin] fix: change supportedVersions to >1 <5 ## 0.3.3 @@ -2197,29 +2198,29 @@ Released 2020-01-22 ### :rocket: (Enhancement) -* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-ioredis`, `opentelemetry-plugin-mongodb`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` - * [#582](https://github.com/open-telemetry/opentelemetry-js/pull/582) Named Tracers / Tracer Registry -* `opentelemetry-node`, `opentelemetry-plugin-postgres` - * [#662](https://github.com/open-telemetry/opentelemetry-js/pull/662) feat: add pg-pool to default list of instrumented plugins - * [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing -* `opentelemetry-metrics` - * [#700](https://github.com/open-telemetry/opentelemetry-js/pull/700) implement named meter +- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-ioredis`, `opentelemetry-plugin-mongodb`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` + - [#582](https://github.com/open-telemetry/opentelemetry-js/pull/582) Named Tracers / Tracer Registry +- `opentelemetry-node`, `opentelemetry-plugin-postgres` + - [#662](https://github.com/open-telemetry/opentelemetry-js/pull/662) feat: add pg-pool to default list of instrumented plugins + - [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing +- `opentelemetry-metrics` + - [#700](https://github.com/open-telemetry/opentelemetry-js/pull/700) implement named meter ### :sparkles: (Feature) -* `opentelemetry-propagator-jaeger` - * [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) add jaeger http trace format -* `opentelemetry-exporter-stackdriver-trace` - * [#648](https://github.com/open-telemetry/opentelemetry-js/pull/648) Stackdriver Trace exporter +- `opentelemetry-propagator-jaeger` + - [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) add jaeger http trace format +- `opentelemetry-exporter-stackdriver-trace` + - [#648](https://github.com/open-telemetry/opentelemetry-js/pull/648) Stackdriver Trace exporter ### :books: (Refine Doc) -* [#673](https://github.com/open-telemetry/opentelemetry-js/pull/673) chore(getting-started): Added a TypeScript version for Getting Started Guide +- [#673](https://github.com/open-telemetry/opentelemetry-js/pull/673) chore(getting-started): Added a TypeScript version for Getting Started Guide ### :bug: (Bug Fix) -* `opentelemetry-plugin-ioredis` - * [#714](https://github.com/open-telemetry/opentelemetry-js/pull/714) fix: return module exports from ioredis +- `opentelemetry-plugin-ioredis` + - [#714](https://github.com/open-telemetry/opentelemetry-js/pull/714) fix: return module exports from ioredis ## 0.3.2 @@ -2227,31 +2228,31 @@ Released 2020-01-03 ### :rocket: (Enhancement) -* `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - * [#643](https://github.com/open-telemetry/opentelemetry-js/pull/643) feat(plugin-http): add/modify attributes - * [#651](https://github.com/open-telemetry/opentelemetry-js/pull/651) chore: add version script to all packages -* `opentelemetry-plugin-mongodb` - * [#652](https://github.com/open-telemetry/opentelemetry-js/pull/652) feat: port mongodb-core plugin to mongodb -* `opentelemetry-metrics` - * [#634](https://github.com/open-telemetry/opentelemetry-js/pull/634) Rename metric handle to bound instrument -* `opentelemetry-test-utils` - * [#644](https://github.com/open-telemetry/opentelemetry-js/pull/644) feat: test-utils +- `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + - [#643](https://github.com/open-telemetry/opentelemetry-js/pull/643) feat(plugin-http): add/modify attributes + - [#651](https://github.com/open-telemetry/opentelemetry-js/pull/651) chore: add version script to all packages +- `opentelemetry-plugin-mongodb` + - [#652](https://github.com/open-telemetry/opentelemetry-js/pull/652) feat: port mongodb-core plugin to mongodb +- `opentelemetry-metrics` + - [#634](https://github.com/open-telemetry/opentelemetry-js/pull/634) Rename metric handle to bound instrument +- `opentelemetry-test-utils` + - [#644](https://github.com/open-telemetry/opentelemetry-js/pull/644) feat: test-utils ### :sparkles: (Feature) -* `opentelemetry-plugin-ioredis` - * [#558](https://github.com/open-telemetry/opentelemetry-js/pull/558) feat(plugin): add ioredis plugin +- `opentelemetry-plugin-ioredis` + - [#558](https://github.com/open-telemetry/opentelemetry-js/pull/558) feat(plugin): add ioredis plugin ### :books: (Refine Doc) -* `opentelemetry-node`, `opentelemetry-plugin-xml-http-request` - * [#646](https://github.com/open-telemetry/opentelemetry-js/pull/646) chore: update default plugins list and fix npm badge -* `opentelemetry-plugin-document-load`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing` - * [#647](https://github.com/open-telemetry/opentelemetry-js/pull/647) chore: update plugin readme with example links -* `opentelemetry-plugin-postgres` - * [#539](https://github.com/open-telemetry/opentelemetry-js/pull/539) chore(docs:postgres): add usage instructions -* Other - * [#645](https://github.com/open-telemetry/opentelemetry-js/pull/645) chore(plugin-pg): move dev dependencies out of `dependencies` in package.json +- `opentelemetry-node`, `opentelemetry-plugin-xml-http-request` + - [#646](https://github.com/open-telemetry/opentelemetry-js/pull/646) chore: update default plugins list and fix npm badge +- `opentelemetry-plugin-document-load`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing` + - [#647](https://github.com/open-telemetry/opentelemetry-js/pull/647) chore: update plugin readme with example links +- `opentelemetry-plugin-postgres` + - [#539](https://github.com/open-telemetry/opentelemetry-js/pull/539) chore(docs:postgres): add usage instructions +- Other + - [#645](https://github.com/open-telemetry/opentelemetry-js/pull/645) chore(plugin-pg): move dev dependencies out of `dependencies` in package.json ## 0.3.1 @@ -2259,24 +2260,24 @@ Released 2019-12-20 ### :bug: (Bug Fix) -* `opentelemetry-plugin-grpc` - * [#631](https://github.com/open-telemetry/opentelemetry-js/pull/631) fix(grpc): patch original client methods - * [#593](https://github.com/open-telemetry/opentelemetry-js/pull/593) fix: transpile to es2017 as esnext may result in unsupported JS code +- `opentelemetry-plugin-grpc` + - [#631](https://github.com/open-telemetry/opentelemetry-js/pull/631) fix(grpc): patch original client methods + - [#593](https://github.com/open-telemetry/opentelemetry-js/pull/593) fix: transpile to es2017 as esnext may result in unsupported JS code ### :books: (Refine Doc) -* Other - * [#629](https://github.com/open-telemetry/opentelemetry-js/pull/629) ci: deploy documentation on releases - * [#581](https://github.com/open-telemetry/opentelemetry-js/pull/581) feat: add OpenTracing example +- Other + - [#629](https://github.com/open-telemetry/opentelemetry-js/pull/629) ci: deploy documentation on releases + - [#581](https://github.com/open-telemetry/opentelemetry-js/pull/581) feat: add OpenTracing example ### :rocket: (Enhancement) -* [#633](https://github.com/open-telemetry/opentelemetry-js/pull/633) chore: enable incremental builds +- [#633](https://github.com/open-telemetry/opentelemetry-js/pull/633) chore: enable incremental builds ### :sparkles: (Feature) -* `opentelemetry-plugin-xml-http-request` - * [#595](https://github.com/open-telemetry/opentelemetry-js/pull/595) feat: implement XMLHttpRequest plugin +- `opentelemetry-plugin-xml-http-request` + - [#595](https://github.com/open-telemetry/opentelemetry-js/pull/595) feat: implement XMLHttpRequest plugin ## 0.3.0 @@ -2284,89 +2285,89 @@ Released 2019-12-13 ### :rocket: (Enhancement) -* `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-tracing`, `opentelemetry-types` - * [#569](https://github.com/open-telemetry/opentelemetry-js/pull/569) chore: allow parent span to be null -* `opentelemetry-plugin-document-load` - * [#546](https://github.com/open-telemetry/opentelemetry-js/pull/546) chore: fixing issue when metric time is 0 in document-load plugin - * [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend -* `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - * [#548](https://github.com/open-telemetry/opentelemetry-js/pull/548) fix(plugin-http): adapt to current @types/node -* Other - * [#510](https://github.com/open-telemetry/opentelemetry-js/pull/510) chore(circleci): remove duplicate compile step - * [#514](https://github.com/open-telemetry/opentelemetry-js/pull/514) ci: enumerate caching paths manually - * [#470](https://github.com/open-telemetry/opentelemetry-js/pull/470) chore: remove examples from lerna packages -* `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` - * [#507](https://github.com/open-telemetry/opentelemetry-js/pull/507) feat: direct calling of metric instruments - * [#517](https://github.com/open-telemetry/opentelemetry-js/pull/517) chore: update dependencies gts and codecov - * [#497](https://github.com/open-telemetry/opentelemetry-js/pull/497) chore: bump typescript version to ^3.7.2 -* `opentelemetry-metrics` - * [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface -* `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` - * [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul +- `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-tracing`, `opentelemetry-types` + - [#569](https://github.com/open-telemetry/opentelemetry-js/pull/569) chore: allow parent span to be null +- `opentelemetry-plugin-document-load` + - [#546](https://github.com/open-telemetry/opentelemetry-js/pull/546) chore: fixing issue when metric time is 0 in document-load plugin + - [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend +- `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + - [#548](https://github.com/open-telemetry/opentelemetry-js/pull/548) fix(plugin-http): adapt to current @types/node +- Other + - [#510](https://github.com/open-telemetry/opentelemetry-js/pull/510) chore(circleci): remove duplicate compile step + - [#514](https://github.com/open-telemetry/opentelemetry-js/pull/514) ci: enumerate caching paths manually + - [#470](https://github.com/open-telemetry/opentelemetry-js/pull/470) chore: remove examples from lerna packages +- `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` + - [#507](https://github.com/open-telemetry/opentelemetry-js/pull/507) feat: direct calling of metric instruments + - [#517](https://github.com/open-telemetry/opentelemetry-js/pull/517) chore: update dependencies gts and codecov + - [#497](https://github.com/open-telemetry/opentelemetry-js/pull/497) chore: bump typescript version to ^3.7.2 +- `opentelemetry-metrics` + - [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface +- `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` + - [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul ### :bug: (Bug Fix) -* `opentelemetry-exporter-jaeger` - * [#609](https://github.com/open-telemetry/opentelemetry-js/pull/609) Jaeger no flush interval -* `opentelemetry-plugin-dns` - * [#613](https://github.com/open-telemetry/opentelemetry-js/pull/613) fix(plugin-dns): remove from default plugin list -* `opentelemetry-plugin-http` - * [#589](https://github.com/open-telemetry/opentelemetry-js/pull/589) fix(plugin-http): correct handling of WHATWG urls - * [#580](https://github.com/open-telemetry/opentelemetry-js/pull/580) fix(plugin-http): http.url attribute -* `opentelemetry-shim-opentracing` - * [#577](https://github.com/open-telemetry/opentelemetry-js/pull/577) fix: add missing `main` in package.json -* `opentelemetry-exporter-zipkin` - * [#526](https://github.com/open-telemetry/opentelemetry-js/pull/526) fix: zipkin-exporter: don't export after shutdown -* `opentelemetry-plugin-grpc` - * [#487](https://github.com/open-telemetry/opentelemetry-js/pull/487) fix(grpc): use correct supportedVersions -* `opentelemetry-core` - * [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency +- `opentelemetry-exporter-jaeger` + - [#609](https://github.com/open-telemetry/opentelemetry-js/pull/609) Jaeger no flush interval +- `opentelemetry-plugin-dns` + - [#613](https://github.com/open-telemetry/opentelemetry-js/pull/613) fix(plugin-dns): remove from default plugin list +- `opentelemetry-plugin-http` + - [#589](https://github.com/open-telemetry/opentelemetry-js/pull/589) fix(plugin-http): correct handling of WHATWG urls + - [#580](https://github.com/open-telemetry/opentelemetry-js/pull/580) fix(plugin-http): http.url attribute +- `opentelemetry-shim-opentracing` + - [#577](https://github.com/open-telemetry/opentelemetry-js/pull/577) fix: add missing `main` in package.json +- `opentelemetry-exporter-zipkin` + - [#526](https://github.com/open-telemetry/opentelemetry-js/pull/526) fix: zipkin-exporter: don't export after shutdown +- `opentelemetry-plugin-grpc` + - [#487](https://github.com/open-telemetry/opentelemetry-js/pull/487) fix(grpc): use correct supportedVersions +- `opentelemetry-core` + - [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency ### :books: (Refine Doc) -* Other - * [#574](https://github.com/open-telemetry/opentelemetry-js/pull/574) chore: add CHANGELOG.md - * [#575](https://github.com/open-telemetry/opentelemetry-js/pull/575) Add exporter guide - * [#534](https://github.com/open-telemetry/opentelemetry-js/pull/534) feat: add redis plugin example - * [#562](https://github.com/open-telemetry/opentelemetry-js/pull/562) chore(web-example): Added a README for the existing example - * [#537](https://github.com/open-telemetry/opentelemetry-js/pull/537) examples(tracing): add multi exporter example - * [#484](https://github.com/open-telemetry/opentelemetry-js/pull/484) chore: update README for new milestones -* `opentelemetry-plugin-mongodb-core` - * [#564](https://github.com/open-telemetry/opentelemetry-js/pull/564) docs: add usage for mongodb-core plugin #543) -* `opentelemetry-metrics` - * [#490](https://github.com/open-telemetry/opentelemetry-js/pull/490) chore: update metrics README -* `opentelemetry-plugin-redis` - * [#551](https://github.com/open-telemetry/opentelemetry-js/pull/551) chore: fix minor typo -* `opentelemetry-exporter-prometheus` - * [#521](https://github.com/open-telemetry/opentelemetry-js/pull/521) chore: update prometheus exporter readme with usage and links -* `opentelemetry-types` - * [#512](https://github.com/open-telemetry/opentelemetry-js/pull/512) chore: minor name change -* `opentelemetry-plugin-postgres` - * [#473](https://github.com/open-telemetry/opentelemetry-js/pull/473) chore(plugin): postgres-pool plugin skeleton +- Other + - [#574](https://github.com/open-telemetry/opentelemetry-js/pull/574) chore: add CHANGELOG.md + - [#575](https://github.com/open-telemetry/opentelemetry-js/pull/575) Add exporter guide + - [#534](https://github.com/open-telemetry/opentelemetry-js/pull/534) feat: add redis plugin example + - [#562](https://github.com/open-telemetry/opentelemetry-js/pull/562) chore(web-example): Added a README for the existing example + - [#537](https://github.com/open-telemetry/opentelemetry-js/pull/537) examples(tracing): add multi exporter example + - [#484](https://github.com/open-telemetry/opentelemetry-js/pull/484) chore: update README for new milestones +- `opentelemetry-plugin-mongodb-core` + - [#564](https://github.com/open-telemetry/opentelemetry-js/pull/564) docs: add usage for mongodb-core plugin #543) +- `opentelemetry-metrics` + - [#490](https://github.com/open-telemetry/opentelemetry-js/pull/490) chore: update metrics README +- `opentelemetry-plugin-redis` + - [#551](https://github.com/open-telemetry/opentelemetry-js/pull/551) chore: fix minor typo +- `opentelemetry-exporter-prometheus` + - [#521](https://github.com/open-telemetry/opentelemetry-js/pull/521) chore: update prometheus exporter readme with usage and links +- `opentelemetry-types` + - [#512](https://github.com/open-telemetry/opentelemetry-js/pull/512) chore: minor name change +- `opentelemetry-plugin-postgres` + - [#473](https://github.com/open-telemetry/opentelemetry-js/pull/473) chore(plugin): postgres-pool plugin skeleton ### :sparkles: (Feature) -* `opentelemetry-core`, `opentelemetry-exporter-collector` - * [#552](https://github.com/open-telemetry/opentelemetry-js/pull/552) Collector exporter -* `opentelemetry-node`, `opentelemetry-plugin-mysql` - * [#525](https://github.com/open-telemetry/opentelemetry-js/pull/525) feat: mysql support -* `opentelemetry-plugin-redis` - * [#503](https://github.com/open-telemetry/opentelemetry-js/pull/503) feat(plugin): implement redis plugin -* `opentelemetry-plugin-mongodb-core` - * [#205](https://github.com/open-telemetry/opentelemetry-js/pull/205) feat: add mongodb plugin -* `opentelemetry-exporter-prometheus` - * [#483](https://github.com/open-telemetry/opentelemetry-js/pull/483) feat: Add prometheus exporter -* `opentelemetry-metrics` - * [#500](https://github.com/open-telemetry/opentelemetry-js/pull/500) feat: add ConsoleMetricExporter - * [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names -* `opentelemetry-scope-zone-peer-dep`, `opentelemetry-scope-zone`, `opentelemetry-web` - * [#461](https://github.com/open-telemetry/opentelemetry-js/pull/461) feat(scope-zone): new scope manager to support async operations in web -* `opentelemetry-core`, `opentelemetry-plugin-document-load` - * [#477](https://github.com/open-telemetry/opentelemetry-js/pull/477) feat(traceparent): setting parent span from server -* `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` - * [#463](https://github.com/open-telemetry/opentelemetry-js/pull/463) feat: implement labelset -* `opentelemetry-metrics`, `opentelemetry-types` - * [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics +- `opentelemetry-core`, `opentelemetry-exporter-collector` + - [#552](https://github.com/open-telemetry/opentelemetry-js/pull/552) Collector exporter +- `opentelemetry-node`, `opentelemetry-plugin-mysql` + - [#525](https://github.com/open-telemetry/opentelemetry-js/pull/525) feat: mysql support +- `opentelemetry-plugin-redis` + - [#503](https://github.com/open-telemetry/opentelemetry-js/pull/503) feat(plugin): implement redis plugin +- `opentelemetry-plugin-mongodb-core` + - [#205](https://github.com/open-telemetry/opentelemetry-js/pull/205) feat: add mongodb plugin +- `opentelemetry-exporter-prometheus` + - [#483](https://github.com/open-telemetry/opentelemetry-js/pull/483) feat: Add prometheus exporter +- `opentelemetry-metrics` + - [#500](https://github.com/open-telemetry/opentelemetry-js/pull/500) feat: add ConsoleMetricExporter + - [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names +- `opentelemetry-scope-zone-peer-dep`, `opentelemetry-scope-zone`, `opentelemetry-web` + - [#461](https://github.com/open-telemetry/opentelemetry-js/pull/461) feat(scope-zone): new scope manager to support async operations in web +- `opentelemetry-core`, `opentelemetry-plugin-document-load` + - [#477](https://github.com/open-telemetry/opentelemetry-js/pull/477) feat(traceparent): setting parent span from server +- `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` + - [#463](https://github.com/open-telemetry/opentelemetry-js/pull/463) feat: implement labelset +- `opentelemetry-metrics`, `opentelemetry-types` + - [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics ## 0.2.0 @@ -2374,54 +2375,54 @@ Released 2019-11-04 ### :rocket: (Enhancement) -* `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types` - * [#449](https://github.com/open-telemetry/opentelemetry-js/pull/449) fix: allow recording links only at Span creation time -* `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-types` - * [#454](https://github.com/open-telemetry/opentelemetry-js/pull/454) fix(span): rename span recording flag -* `opentelemetry-metrics` - * [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface -* `opentelemetry-plugin-document-load` - * [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend -* `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` - * [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul +- `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types` + - [#449](https://github.com/open-telemetry/opentelemetry-js/pull/449) fix: allow recording links only at Span creation time +- `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-types` + - [#454](https://github.com/open-telemetry/opentelemetry-js/pull/454) fix(span): rename span recording flag +- `opentelemetry-metrics` + - [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface +- `opentelemetry-plugin-document-load` + - [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend +- `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` + - [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul ### :bug: (Bug Fix) -* `opentelemetry-tracing` - * [#444](https://github.com/open-telemetry/opentelemetry-js/pull/444) fix: batchSpanProcessor test failing intermittently -* `opentelemetry-core` - * [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency +- `opentelemetry-tracing` + - [#444](https://github.com/open-telemetry/opentelemetry-js/pull/444) fix: batchSpanProcessor test failing intermittently +- `opentelemetry-core` + - [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency ### :books: (Refine Doc) -* [#462](https://github.com/open-telemetry/opentelemetry-js/pull/462) chore: update README -* [#460](https://github.com/open-telemetry/opentelemetry-js/pull/460) chore: move members list out of community repo -* [#445](https://github.com/open-telemetry/opentelemetry-js/pull/445) chore: update CONTRIBUTING.md -* [#459](https://github.com/open-telemetry/opentelemetry-js/pull/459) chore: update API docs +- [#462](https://github.com/open-telemetry/opentelemetry-js/pull/462) chore: update README +- [#460](https://github.com/open-telemetry/opentelemetry-js/pull/460) chore: move members list out of community repo +- [#445](https://github.com/open-telemetry/opentelemetry-js/pull/445) chore: update CONTRIBUTING.md +- [#459](https://github.com/open-telemetry/opentelemetry-js/pull/459) chore: update API docs ### :sparkles: (Feature) -* `opentelemetry-metrics`, `opentelemetry-types` - * [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics -* `opentelemetry-metrics` - * [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names -* `opentelemetry-plugin-postgres` - * [#417](https://github.com/open-telemetry/opentelemetry-js/pull/417) feature(plugin): implement postgres plugin -* `opentelemetry-core`, `opentelemetry-types` - * [#451](https://github.com/open-telemetry/opentelemetry-js/pull/451) feat: add IsRemote field to SpanContext, set by propagators -* `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` - * [#433](https://github.com/open-telemetry/opentelemetry-js/pull/433) feat(plugin-document-load): new plugin for document load for web tracer +- `opentelemetry-metrics`, `opentelemetry-types` + - [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics +- `opentelemetry-metrics` + - [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names +- `opentelemetry-plugin-postgres` + - [#417](https://github.com/open-telemetry/opentelemetry-js/pull/417) feature(plugin): implement postgres plugin +- `opentelemetry-core`, `opentelemetry-types` + - [#451](https://github.com/open-telemetry/opentelemetry-js/pull/451) feat: add IsRemote field to SpanContext, set by propagators +- `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` + - [#433](https://github.com/open-telemetry/opentelemetry-js/pull/433) feat(plugin-document-load): new plugin for document load for web tracer ## 0.1.1 -* chore: add prepare script and bump the version (#431) -* docs: fix broken links (#428) -* docs(exporter-jaeger): fix jaeger version (#430) -* fix(plugin-http): ensure no leaks (#398) -* Update readme (#421) -* refactor: cal duration once instead of each get duration call (#412) -* chore: add npm version badge (#414) +- chore: add prepare script and bump the version (#431) +- docs: fix broken links (#428) +- docs(exporter-jaeger): fix jaeger version (#430) +- fix(plugin-http): ensure no leaks (#398) +- Update readme (#421) +- refactor: cal duration once instead of each get duration call (#412) +- chore: add npm version badge (#414) ## 0.1.0 -* Initial release +- Initial release diff --git a/packages/opentelemetry-exporter-jaeger/src/transform.ts b/packages/opentelemetry-exporter-jaeger/src/transform.ts index 41b9ac72c6..b91e0c2929 100644 --- a/packages/opentelemetry-exporter-jaeger/src/transform.ts +++ b/packages/opentelemetry-exporter-jaeger/src/transform.ts @@ -120,6 +120,12 @@ export function spanToThrift(span: ReadableSpan): ThriftSpan { fields.push({ key: attr, value: toTagValue(attrs[attr]) }) ); } + if (event.droppedAttributesCount) { + fields.push({ + key: 'otel.event.dropped_attributes_count', + value: event.droppedAttributesCount, + }); + } return { timestamp: hrTimeToMilliseconds(event.time), fields }; }); const spanLogs: ThriftLog[] = ThriftUtils.getThriftLogs(logs); diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 41e62ff280..95bb632e5d 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -193,16 +193,12 @@ export class Span implements APISpan, ReadableSpan { } const attributes = sanitizeAttributes(attributesOrStartTime); - const attributeLimit = this._spanLimits.attributePerEventCountLimit; - - const { droppedCount, result: cappedAttributes } = - this._truncateAttributesToCount(attributes, attributeLimit); this.events.push({ name, - attributes: cappedAttributes, + attributes, time: this._getTime(timeStamp), - droppedAttributesCount: droppedCount, + droppedAttributesCount: 0, }); return this; } @@ -380,32 +376,4 @@ export class Span implements APISpan, ReadableSpan { // Other types, no need to apply value length limit return value; } - - private _truncateAttributesToCount( - value: Attributes, - limit?: number - ): { result: Attributes; droppedCount: number } { - if (limit === undefined) - return { - result: value, - droppedCount: 0, - }; - const entries = Object.entries(value); - if (limit === 0) { - return { - result: {}, - droppedCount: entries.length, - }; - } else if (limit >= entries.length) { - return { - result: value, - droppedCount: 0, - }; - } else { - return { - result: Object.fromEntries(entries.slice(limit)), - droppedCount: entries.length - limit, - }; - } - } } From f674906506265c37005660e5a1bc04fa0bd95897 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Tue, 28 Feb 2023 22:27:14 +0100 Subject: [PATCH 13/20] feat(sdk-trace-base): Undo formatting in changelog --- CHANGELOG.md | 3270 +++++++++++++++++++++++++------------------------- 1 file changed, 1635 insertions(+), 1635 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f32ef3fe3..6dd16c306b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,98 +11,98 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) -- feat(resource): create sync resource with some attributes that resolve asynchronously [#3460](https://github.com/open-telemetry/opentelemetry-js/pull/3460) @samimusallam -- feat (api-logs): separate Events API into its own package [3550](https://github.com/open-telemetry/opentelemetry-js/pull/3550) @martinkuba -- feat(sdk-metrics): apply binary search in histogram recording [#3539](https://github.com/open-telemetry/opentelemetry-js/pull/3539) @legendecas -- perf(propagator-jaeger): improve deserializeSpanContext performance [#3541](https://github.com/open-telemetry/opentelemetry-js/pull/3541) @doochik -- feat: support TraceState in SamplingResult [#3530](https://github.com/open-telemetry/opentelemetry-js/pull/3530) @raphael-theriault-swi -- feat(sdk-trace-base): add diagnostic logging when spans are dropped [#3610](https://github.com/open-telemetry/opentelemetry-js/pull/3610) @neoeinstein -- feat(sdk-trace-base): expose dropped counts for attributes, events and links on span [#3576](https://github.com/open-telemetry/opentelemetry-js/pull/3576) @mohitk05 +* feat(resource): create sync resource with some attributes that resolve asynchronously [#3460](https://github.com/open-telemetry/opentelemetry-js/pull/3460) @samimusallam +* feat (api-logs): separate Events API into its own package [3550](https://github.com/open-telemetry/opentelemetry-js/pull/3550) @martinkuba +* feat(sdk-metrics): apply binary search in histogram recording [#3539](https://github.com/open-telemetry/opentelemetry-js/pull/3539) @legendecas +* perf(propagator-jaeger): improve deserializeSpanContext performance [#3541](https://github.com/open-telemetry/opentelemetry-js/pull/3541) @doochik +* feat: support TraceState in SamplingResult [#3530](https://github.com/open-telemetry/opentelemetry-js/pull/3530) @raphael-theriault-swi +* feat(sdk-trace-base): add diagnostic logging when spans are dropped [#3610](https://github.com/open-telemetry/opentelemetry-js/pull/3610) @neoeinstein +* feat(sdk-trace-base): expose dropped counts for attributes, events and links on span [#3576](https://github.com/open-telemetry/opentelemetry-js/pull/3576) ### :bug: (Bug Fix) -- fix(core): added falsy check to make otel core work with browser where webpack config had process as false or null [#3613](https://github.com/open-telemetry/opentelemetry-js/issues/3613) @ravindra-dyte +* fix(core): added falsy check to make otel core work with browser where webpack config had process as false or null [#3613](https://github.com/open-telemetry/opentelemetry-js/issues/3613) @ravindra-dyte ### :books: (Refine Doc) ### :house: (Internal) -- fix(sdk-metrics): ix flaky LastValueAggregator test by using fake timer [#3587](https://github.com/open-telemetry/opentelemetry-js/pull/3587) @pichlermarc +* fix(sdk-metrics): ix flaky LastValueAggregator test by using fake timer [#3587](https://github.com/open-telemetry/opentelemetry-js/pull/3587) @pichlermarc ## 1.9.1 ### :bug: (Bug Fix) -- fix: avoid grpc types dependency [#3551](https://github.com/open-telemetry/opentelemetry-js/pull/3551) @flarna -- fix(otlp-proto-exporter-base): Match Accept header with Content-Type in the proto exporter - [#3562](https://github.com/open-telemetry/opentelemetry-js/pull/3562) @scheler -- fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna +* fix: avoid grpc types dependency [#3551](https://github.com/open-telemetry/opentelemetry-js/pull/3551) @flarna +* fix(otlp-proto-exporter-base): Match Accept header with Content-Type in the proto exporter + [#3562](https://github.com/open-telemetry/opentelemetry-js/pull/3562) @scheler +* fix: include tracestate in export [#3569](https://github.com/open-telemetry/opentelemetry-js/pull/3569) @flarna ### :house: (Internal) -- chore: fix cross project links and missing implicitly exported types [#3533](https://github.com/open-telemetry/opentelemetry-js/pull/3533) @legendecas -- feat(sdk-metrics): add exponential histogram mapping functions [#3504](https://github.com/open-telemetry/opentelemetry-js/pull/3504) @mwear +* chore: fix cross project links and missing implicitly exported types [#3533](https://github.com/open-telemetry/opentelemetry-js/pull/3533) @legendecas +* feat(sdk-metrics): add exponential histogram mapping functions [#3504](https://github.com/open-telemetry/opentelemetry-js/pull/3504) @mwear ## 1.9.0 ### :rocket: (Enhancement) -- feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans [#3430](https://github.com/open-telemetry/opentelemetry-js/pull/3430) -- feat(exporter-trace-otlp-proto): Add protobuf otlp trace exporter support for browser [#3208](https://github.com/open-telemetry/opentelemetry-js/pull/3208) @pkanal +* feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans [#3430](https://github.com/open-telemetry/opentelemetry-js/pull/3430) +* feat(exporter-trace-otlp-proto): Add protobuf otlp trace exporter support for browser [#3208](https://github.com/open-telemetry/opentelemetry-js/pull/3208) @pkanal ### :bug: (Bug Fix) -- fix(sdk-metrics): use default Resource to comply with semantic conventions [#3411](https://github.com/open-telemetry/opentelemetry-js/pull/3411) @pichlermarc - - Metrics exported by the SDK now contain the following resource attributes by default: - - `service.name` - - `telemetry.sdk.name` - - `telemetry.sdk.language` - - `telemetry.sdk.version` -- fix(sdk-metrics): use Date.now() for instrument recording timestamps [#3514](https://github.com/open-telemetry/opentelemetry-js/pull/3514) @MisterSquishy -- fix(sdk-trace): make spans resilient to clock drift [#3434](https://github.com/open-telemetry/opentelemetry-js/pull/3434) @dyladan -- fix(selenium-tests): updated webpack version for selenium test issue [#3456](https://github.com/open-telemetry/opentelemetry-js/issues/3456) @SaumyaBhushan -- fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes [#3517](https://github.com/open-telemetry/opentelemetry-js/pull/3517) @legendecas -- fix(sdk-metrics): fix duplicated registration of metrics for collectors [#3488](https://github.com/open-telemetry/opentelemetry-js/pull/3488) @legendecas -- fix(core): fix precision loss in numberToHrtime [#3480](https://github.com/open-telemetry/opentelemetry-js/pull/3480) @legendecas +* fix(sdk-metrics): use default Resource to comply with semantic conventions [#3411](https://github.com/open-telemetry/opentelemetry-js/pull/3411) @pichlermarc + * Metrics exported by the SDK now contain the following resource attributes by default: + * `service.name` + * `telemetry.sdk.name` + * `telemetry.sdk.language` + * `telemetry.sdk.version` +* fix(sdk-metrics): use Date.now() for instrument recording timestamps [#3514](https://github.com/open-telemetry/opentelemetry-js/pull/3514) @MisterSquishy +* fix(sdk-trace): make spans resilient to clock drift [#3434](https://github.com/open-telemetry/opentelemetry-js/pull/3434) @dyladan +* fix(selenium-tests): updated webpack version for selenium test issue [#3456](https://github.com/open-telemetry/opentelemetry-js/issues/3456) @SaumyaBhushan +* fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes [#3517](https://github.com/open-telemetry/opentelemetry-js/pull/3517) @legendecas +* fix(sdk-metrics): fix duplicated registration of metrics for collectors [#3488](https://github.com/open-telemetry/opentelemetry-js/pull/3488) @legendecas +* fix(core): fix precision loss in numberToHrtime [#3480](https://github.com/open-telemetry/opentelemetry-js/pull/3480) @legendecas ### :house: (Internal) -- chore: automatically generate tsconfigs [#3432](https://github.com/open-telemetry/opentelemetry-js/pull/3432) @legendecas -- chore: enforce format with prettier [#3444](https://github.com/open-telemetry/opentelemetry-js/pull/3444) @legendecas +* chore: automatically generate tsconfigs [#3432](https://github.com/open-telemetry/opentelemetry-js/pull/3432) @legendecas +* chore: enforce format with prettier [#3444](https://github.com/open-telemetry/opentelemetry-js/pull/3444) @legendecas ## 1.8.0 -- `@opentelemetry/sdk-metrics` has been promoted to stable -- `@opentelemetry/api-metrics` has been merged into `@opentelemetry/api` and deprecated +* `@opentelemetry/sdk-metrics` has been promoted to stable +* `@opentelemetry/api-metrics` has been merged into `@opentelemetry/api` and deprecated ### :boom: Breaking Change -- feat(api): merge api-metrics into api [#3374](https://github.com/open-telemetry/opentelemetry-js/pull/3374) @legendecas +* feat(api): merge api-metrics into api [#3374](https://github.com/open-telemetry/opentelemetry-js/pull/3374) @legendecas ### :rocket: (Enhancement) -- feat(sdk-trace): re-export sdk-trace-base in sdk-trace-node and web [#3319](https://github.com/open-telemetry/opentelemetry-js/pull/3319) @legendecas -- feat: enable tree shaking [#3329](https://github.com/open-telemetry/opentelemetry-js/pull/3329) @pkanal +* feat(sdk-trace): re-export sdk-trace-base in sdk-trace-node and web [#3319](https://github.com/open-telemetry/opentelemetry-js/pull/3319) @legendecas +* feat: enable tree shaking [#3329](https://github.com/open-telemetry/opentelemetry-js/pull/3329) @pkanal ### :bug: (Bug Fix) -- fix(sdk-trace): enforce consistent span durations +* fix(sdk-trace): enforce consistent span durations [#3327](https://github.com/open-telemetry/opentelemetry-js/pull/3327) @dyladan -- fix(resources): fix EnvDetector throwing errors when attribute values contain spaces +* fix(resources): fix EnvDetector throwing errors when attribute values contain spaces [#3295](https://github.com/open-telemetry/opentelemetry-js/issues/3295) -- fix(trace): fix an issue which caused negative span durations in web based spans +* fix(trace): fix an issue which caused negative span durations in web based spans [#3359](https://github.com/open-telemetry/opentelemetry-js/pull/3359) @dyladan -- fix(resources): strict OTEL_RESOURCE_ATTRIBUTES baggage octet decoding +* fix(resources): strict OTEL_RESOURCE_ATTRIBUTES baggage octet decoding [#3341](https://github.com/open-telemetry/opentelemetry-js/pull/3341) @legendecas ### :books: (Refine Doc) -- doc: Added Metrics documentation [#3360](https://github.com/open-telemetry/opentelemetry-js/pull/3360) @weyert -- docs(api): fix counter negative value wording [#3396](https://github.com/open-telemetry/opentelemetry-js/pull/3396) @legendecas +* doc: Added Metrics documentation [#3360](https://github.com/open-telemetry/opentelemetry-js/pull/3360) @weyert +* docs(api): fix counter negative value wording [#3396](https://github.com/open-telemetry/opentelemetry-js/pull/3396) @legendecas ### :house: (Internal) -- ci: run browser tests without circle [#3328](https://github.com/open-telemetry/opentelemetry-js/pull/3328) @dyladan +* ci: run browser tests without circle [#3328](https://github.com/open-telemetry/opentelemetry-js/pull/3328) @dyladan ## Metrics API 1.0.0 @@ -111,87 +111,87 @@ There are no changes between 1.0.0 and the previous 0.33.0 version. ### :boom: Breaking Change -- Add semver check to metrics API [#3357](https://github.com/open-telemetry/opentelemetry-js/pull/3357) @dyladan - - Previously API versions were only considered compatible if the API was exactly the same +* Add semver check to metrics API [#3357](https://github.com/open-telemetry/opentelemetry-js/pull/3357) @dyladan + * Previously API versions were only considered compatible if the API was exactly the same ## 1.7.0 ### :bug: (Bug Fix) -- fix(sdk-trace-base): make span start times resistant to hrtime clock drift +* fix(sdk-trace-base): make span start times resistant to hrtime clock drift [#3129](https://github.com/open-telemetry/opentelemetry-js/issues/3129) -- fix(sdk-trace-base): validate maxExportBatchSize in BatchSpanProcessorBase +* fix(sdk-trace-base): validate maxExportBatchSize in BatchSpanProcessorBase [#3232](https://github.com/open-telemetry/opentelemetry-js/issues/3232) ### :books: (Refine Doc) -- docs(metrics): add missing metrics packages to SDK reference documentation [#3239](https://github.com/open-telemetry/opentelemetry-js/pull/3239) @dyladan +* docs(metrics): add missing metrics packages to SDK reference documentation [#3239](https://github.com/open-telemetry/opentelemetry-js/pull/3239) @dyladan ### :house: (Internal) -- deps: update markdownlint-cli to 0.32.2 [#3253](https://github.com/open-telemetry/opentelemetry-js/pull/3253) @pichlermarc +* deps: update markdownlint-cli to 0.32.2 [#3253](https://github.com/open-telemetry/opentelemetry-js/pull/3253) @pichlermarc ## 1.6.0 ### :rocket: (Enhancement) -- perf(opentelemetry-core): improve hexToBase64 performance [#3178](https://github.com/open-telemetry/opentelemetry-js/pull/3178) @seemk -- 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 -- feat: support latest `@opentelemetry/api` [#3177](https://github.com/open-telemetry/opentelemetry-js/pull/3177) @dyladan +* perf(opentelemetry-core): improve hexToBase64 performance [#3178](https://github.com/open-telemetry/opentelemetry-js/pull/3178) @seemk +* 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 +* feat: support latest `@opentelemetry/api` [#3177](https://github.com/open-telemetry/opentelemetry-js/pull/3177) @dyladan ### :bug: (Bug Fix) -- fix(context-async-hooks): Ensure listeners added using `once` can be removed using `removeListener` +* fix(context-async-hooks): Ensure listeners added using `once` can be removed using `removeListener` [#3133](https://github.com/open-telemetry/opentelemetry-js/pull/3133) ### :books: (Refine Doc) -- chore: update trace-web example and rename it to opentelemetry-web [#3145](https://github.com/open-telemetry/opentelemetry-js/pull/3145) @pichlermarc -- chore: update https example [#3152](https://github.com/open-telemetry/opentelemetry-js/pull/3152) @pichlermarc +* chore: update trace-web example and rename it to opentelemetry-web [#3145](https://github.com/open-telemetry/opentelemetry-js/pull/3145) @pichlermarc +* chore: update https example [#3152](https://github.com/open-telemetry/opentelemetry-js/pull/3152) @pichlermarc ## 1.5.0 ### :rocket: (Enhancement) -- feat(sdk-trace-base): Improve extensibility of BasicTracerProvider [#3023](https://github.com/open-telemetry/opentelemetry-js/pull/3023) @Rauno56 +* feat(sdk-trace-base): Improve extensibility of BasicTracerProvider [#3023](https://github.com/open-telemetry/opentelemetry-js/pull/3023) @Rauno56 ## 1.4.0 ### :rocket: (Enhancement) -- fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas -- fix(sdk-trace-base): fix crash on environments without global document [#3000](https://github.com/open-telemetry/opentelemetry-js/pull/3000) @legendecas -- fix(sdk-trace-base): fix spanLimits attribute length/count to consider env values [#3068](https://github.com/open-telemetry/opentelemetry-js/pull/3068) @svetlanabrennan +* fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas +* fix(sdk-trace-base): fix crash on environments without global document [#3000](https://github.com/open-telemetry/opentelemetry-js/pull/3000) @legendecas +* fix(sdk-trace-base): fix spanLimits attribute length/count to consider env values [#3068](https://github.com/open-telemetry/opentelemetry-js/pull/3068) @svetlanabrennan ### :house: (Internal) -- test: add node 18 and remove EoL node versions [#3048](https://github.com/open-telemetry/opentelemetry-js/pull/3048) @dyladan +* test: add node 18 and remove EoL node versions [#3048](https://github.com/open-telemetry/opentelemetry-js/pull/3048) @dyladan ## 1.3.1 ### :bug: (Bug Fix) -- fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas +* fix(resources): fix browser compatibility for host and os detectors [#3004](https://github.com/open-telemetry/opentelemetry-js/pull/3004) @legendecas ## 1.3.0 ### :boom: Breaking Change -- chore: remove unused InstrumentationConfig#path [#2944](https://github.com/open-telemetry/opentelemetry-js/pull/2944) @flarna +* chore: remove unused InstrumentationConfig#path [#2944](https://github.com/open-telemetry/opentelemetry-js/pull/2944) @flarna ### :rocket: (Enhancement) -- feat(ConsoleSpanExporter): export span links [#2917](https://github.com/open-telemetry/opentelemetry-js/pull/2917) @trentm -- feat: warn when hooked module is already loaded [#2926](https://github.com/open-telemetry/opentelemetry-js/pull/2926) @nozik -- feat: implement OSDetector [#2927](https://github.com/open-telemetry/opentelemetry-js/pull/2927) @rauno56 -- feat: implement HostDetector [#2921](https://github.com/open-telemetry/opentelemetry-js/pull/2921) @rauno56 -- feat(opentelemetry-core): add InstrumentationScope [#2959](https://github.com/open-telemetry/opentelemetry-js/pull/2959) @pichlermarc +* feat(ConsoleSpanExporter): export span links [#2917](https://github.com/open-telemetry/opentelemetry-js/pull/2917) @trentm +* feat: warn when hooked module is already loaded [#2926](https://github.com/open-telemetry/opentelemetry-js/pull/2926) @nozik +* feat: implement OSDetector [#2927](https://github.com/open-telemetry/opentelemetry-js/pull/2927) @rauno56 +* feat: implement HostDetector [#2921](https://github.com/open-telemetry/opentelemetry-js/pull/2921) @rauno56 +* feat(opentelemetry-core): add InstrumentationScope [#2959](https://github.com/open-telemetry/opentelemetry-js/pull/2959) @pichlermarc ### :bug: (Bug Fix) -- fix(sdk-web): parse url with relative url string [#2972](https://github.com/open-telemetry/opentelemetry-js/pull/2972) @legendecas +* fix(sdk-web): parse url with relative url string [#2972](https://github.com/open-telemetry/opentelemetry-js/pull/2972) @legendecas ### :books: (Refine Doc) @@ -205,259 +205,259 @@ There are no changes between 1.0.0 and the previous 0.33.0 version. ### :bug: (Bug Fix) -- fix: sanitize attributes inputs [#2881](https://github.com/open-telemetry/opentelemetry-js/pull/2881) @legendecas -- fix: support earlier API versions [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan -- fix: support extract one digit '0' in jaeger traceFlag [#2905](https://github.com/open-telemetry/opentelemetry-js/issues/2905) @shmilyoo -- fix(resources): extend ResourceAttributes interface to comply with spec [#2924](https://github.com/open-telemetry/opentelemetry-js/pull/2924) @blumamir +* fix: sanitize attributes inputs [#2881](https://github.com/open-telemetry/opentelemetry-js/pull/2881) @legendecas +* fix: support earlier API versions [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan +* fix: support extract one digit '0' in jaeger traceFlag [#2905](https://github.com/open-telemetry/opentelemetry-js/issues/2905) @shmilyoo +* fix(resources): extend ResourceAttributes interface to comply with spec [#2924](https://github.com/open-telemetry/opentelemetry-js/pull/2924) @blumamir ### :books: (Refine Doc) -- docs(sdk): update earliest support node version [#2860](https://github.com/open-telemetry/opentelemetry-js/pull/2860) @svetlanabrennan +* docs(sdk): update earliest support node version [#2860](https://github.com/open-telemetry/opentelemetry-js/pull/2860) @svetlanabrennan ### :house: (Internal) -- chore: require changelog entry to merge PR [#2847](https://github.com/open-telemetry/opentelemetry-js/pull/2847) @dyladan -- chore: remove peer API check [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan -- chore: merge lerna subdirectories into a single monorepo [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan -- chore: indent the code with eslint [#2923](https://github.com/open-telemetry/opentelemetry-js/pull/2923) @blumamir -- `opentelemetry-propagator-jaeger` - - [#2906](https://github.com/open-telemetry/opentelemetry-js/pull/2906) fix: support extract one digit '0' in jaeger traceFlag ([@shmilyoo](https://github.com/shmilyoo)) +* chore: require changelog entry to merge PR [#2847](https://github.com/open-telemetry/opentelemetry-js/pull/2847) @dyladan +* chore: remove peer API check [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan +* chore: merge lerna subdirectories into a single monorepo [#2892](https://github.com/open-telemetry/opentelemetry-js/pull/2892) @dyladan +* chore: indent the code with eslint [#2923](https://github.com/open-telemetry/opentelemetry-js/pull/2923) @blumamir +* `opentelemetry-propagator-jaeger` + * [#2906](https://github.com/open-telemetry/opentelemetry-js/pull/2906) fix: support extract one digit '0' in jaeger traceFlag ([@shmilyoo](https://github.com/shmilyoo)) ## 1.1.1 -- [#2849](https://github.com/open-telemetry/opentelemetry-js/pull/2849) fix: correct changelog and compat matrix for 1.1 release ([@Flarna](https://github.com/Flarna)) -- [#2823](https://github.com/open-telemetry/opentelemetry-js/pull/2823) fix: enable downlevelIteration for es5 targets ([@legendecas](https://github.com/legendecas)) -- [#2844](https://github.com/open-telemetry/opentelemetry-js/pull/2844) chore: add prepublishOnly to ensure a full build ([@legendecas](https://github.com/legendecas)) +* [#2849](https://github.com/open-telemetry/opentelemetry-js/pull/2849) fix: correct changelog and compat matrix for 1.1 release ([@Flarna](https://github.com/Flarna)) +* [#2823](https://github.com/open-telemetry/opentelemetry-js/pull/2823) fix: enable downlevelIteration for es5 targets ([@legendecas](https://github.com/legendecas)) +* [#2844](https://github.com/open-telemetry/opentelemetry-js/pull/2844) chore: add prepublishOnly to ensure a full build ([@legendecas](https://github.com/legendecas)) ## 1.1.0 ### :rocket: (Enhancement) -- `opentelemetry-resources` - - [#2727](https://github.com/open-telemetry/opentelemetry-js/pull/2727) feat(opentelemetry-resources): add runtime version information ([@cuichenli](https://github.com/cuichenli)) -- `exporter-trace-otlp-http`, `opentelemetry-core` - - [#2796](https://github.com/open-telemetry/opentelemetry-js/pull/2796) feat(trace-otlp-http-exporter): add compression env vars ([@svetlanabrennan](https://github.com/svetlanabrennan)) -- `instrumentation-http` - - [#2704](https://github.com/open-telemetry/opentelemetry-js/pull/2704) feat(instrumentation-http): add options to ignore requests ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-core`, `opentelemetry-exporter-jaeger` - - [#2754](https://github.com/open-telemetry/opentelemetry-js/pull/2754) fix(exporter-jaeger): add env variable for agent port ([@blumamir](https://github.com/blumamir)) -- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - - [#2737](https://github.com/open-telemetry/opentelemetry-js/pull/2737) feat: add support for API 1.1.x ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-sdk-trace-web` - - [#2719](https://github.com/open-telemetry/opentelemetry-js/pull/2719) feat(sdk-trace-web): web worker support ([@legendecas](https://github.com/legendecas)) -- `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` - - [#2557](https://github.com/open-telemetry/opentelemetry-js/pull/2557) feat(otlp-exporter-http): change otlp-http port to canonical 4318 ([@secustor](https://github.com/secustor)) -- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-sdk-trace-base` - - [#2695](https://github.com/open-telemetry/opentelemetry-js/pull/2695) refactor: unifying shutdown once with BindOnceFuture ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-propagator-jaeger` - - [#2673](https://github.com/open-telemetry/opentelemetry-js/pull/2673) feat(@opentelemetry/propagator-jaeger): support custom baggage prefix ([@sschegolev](https://github.com/sschegolev)) -- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` - - [#2626](https://github.com/open-telemetry/opentelemetry-js/pull/2626) chore: bump otlp trace exporters to v1 ([@Rauno56](https://github.com/Rauno56)) -- `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` - - [#2556](https://github.com/open-telemetry/opentelemetry-js/pull/2556) chore: add esm2015 entry for web apps aiming at modern browsers ([@echoontheway](https://github.com/echoontheway)) +* `opentelemetry-resources` + * [#2727](https://github.com/open-telemetry/opentelemetry-js/pull/2727) feat(opentelemetry-resources): add runtime version information ([@cuichenli](https://github.com/cuichenli)) +* `exporter-trace-otlp-http`, `opentelemetry-core` + * [#2796](https://github.com/open-telemetry/opentelemetry-js/pull/2796) feat(trace-otlp-http-exporter): add compression env vars ([@svetlanabrennan](https://github.com/svetlanabrennan)) +* `instrumentation-http` + * [#2704](https://github.com/open-telemetry/opentelemetry-js/pull/2704) feat(instrumentation-http): add options to ignore requests ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-core`, `opentelemetry-exporter-jaeger` + * [#2754](https://github.com/open-telemetry/opentelemetry-js/pull/2754) fix(exporter-jaeger): add env variable for agent port ([@blumamir](https://github.com/blumamir)) +* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + * [#2737](https://github.com/open-telemetry/opentelemetry-js/pull/2737) feat: add support for API 1.1.x ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-sdk-trace-web` + * [#2719](https://github.com/open-telemetry/opentelemetry-js/pull/2719) feat(sdk-trace-web): web worker support ([@legendecas](https://github.com/legendecas)) +* `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` + * [#2557](https://github.com/open-telemetry/opentelemetry-js/pull/2557) feat(otlp-exporter-http): change otlp-http port to canonical 4318 ([@secustor](https://github.com/secustor)) +* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-sdk-trace-base` + * [#2695](https://github.com/open-telemetry/opentelemetry-js/pull/2695) refactor: unifying shutdown once with BindOnceFuture ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-propagator-jaeger` + * [#2673](https://github.com/open-telemetry/opentelemetry-js/pull/2673) feat(@opentelemetry/propagator-jaeger): support custom baggage prefix ([@sschegolev](https://github.com/sschegolev)) +* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` + * [#2626](https://github.com/open-telemetry/opentelemetry-js/pull/2626) chore: bump otlp trace exporters to v1 ([@Rauno56](https://github.com/Rauno56)) +* `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` + * [#2556](https://github.com/open-telemetry/opentelemetry-js/pull/2556) chore: add esm2015 entry for web apps aiming at modern browsers ([@echoontheway](https://github.com/echoontheway)) ### :bug: (Bug Fix) -- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` - - [#2788](https://github.com/open-telemetry/opentelemetry-js/pull/2788) fix(deps): use 1.x trace otlp http exporter ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-sdk-trace-base` - - [#2790](https://github.com/open-telemetry/opentelemetry-js/pull/2790) fix: pass same context to Sampler and SpanProcessor in root span case ([@Flarna](https://github.com/Flarna)) - - [#2757](https://github.com/open-telemetry/opentelemetry-js/pull/2757) fix: add parentContext to onStart ([@Flarna](https://github.com/Flarna)) - - [#2678](https://github.com/open-telemetry/opentelemetry-js/pull/2678) fix: span attribute count and value limits (#2671) ([@Bataran](https://github.com/Bataran)) - - [#2679](https://github.com/open-telemetry/opentelemetry-js/pull/2679) fix: span events count limit when set to 0 ([@Bataran](https://github.com/Bataran)) -- `opentelemetry-core` - - [#2766](https://github.com/open-telemetry/opentelemetry-js/pull/2766) fix(baggage): include baggage metadata when propagating baggage entries ([@chrskrchr](https://github.com/chrskrchr)) -- `opentelemetry-exporter-jaeger` - - [#2731](https://github.com/open-telemetry/opentelemetry-js/pull/2731) fix(exporter-jaeger): transform all links to jaeger reference ([@blumamir](https://github.com/blumamir)) -- `opentelemetry-resources` - - [#2739](https://github.com/open-telemetry/opentelemetry-js/pull/2739) fix(resources): align exported names in different environments ([@legendecas](https://github.com/legendecas)) -- Other - - [#2680](https://github.com/open-telemetry/opentelemetry-js/pull/2680) fix: tracer typo in fetchxhr examples ([@MSNev](https://github.com/MSNev)) - - [#2650](https://github.com/open-telemetry/opentelemetry-js/pull/2650) fix: clientMethodTrace missing original properties ([@bgpo](https://github.com/bgpo)) -- `opentelemetry-propagator-jaeger` - - [#2694](https://github.com/open-telemetry/opentelemetry-js/pull/2694) fix(propagator-jaeger): 0-pad span-id to match 16-symbol validation ([@nikolaylagutko](https://github.com/nikolaylagutko)) -- `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-web` - - [#2689](https://github.com/open-telemetry/opentelemetry-js/pull/2689) fix: remove window and document dependencies in web packages ([@legendecas](https://github.com/legendecas)) +* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto` + * [#2788](https://github.com/open-telemetry/opentelemetry-js/pull/2788) fix(deps): use 1.x trace otlp http exporter ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-sdk-trace-base` + * [#2790](https://github.com/open-telemetry/opentelemetry-js/pull/2790) fix: pass same context to Sampler and SpanProcessor in root span case ([@Flarna](https://github.com/Flarna)) + * [#2757](https://github.com/open-telemetry/opentelemetry-js/pull/2757) fix: add parentContext to onStart ([@Flarna](https://github.com/Flarna)) + * [#2678](https://github.com/open-telemetry/opentelemetry-js/pull/2678) fix: span attribute count and value limits (#2671) ([@Bataran](https://github.com/Bataran)) + * [#2679](https://github.com/open-telemetry/opentelemetry-js/pull/2679) fix: span events count limit when set to 0 ([@Bataran](https://github.com/Bataran)) +* `opentelemetry-core` + * [#2766](https://github.com/open-telemetry/opentelemetry-js/pull/2766) fix(baggage): include baggage metadata when propagating baggage entries ([@chrskrchr](https://github.com/chrskrchr)) +* `opentelemetry-exporter-jaeger` + * [#2731](https://github.com/open-telemetry/opentelemetry-js/pull/2731) fix(exporter-jaeger): transform all links to jaeger reference ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-resources` + * [#2739](https://github.com/open-telemetry/opentelemetry-js/pull/2739) fix(resources): align exported names in different environments ([@legendecas](https://github.com/legendecas)) +* Other + * [#2680](https://github.com/open-telemetry/opentelemetry-js/pull/2680) fix: tracer typo in fetchxhr examples ([@MSNev](https://github.com/MSNev)) + * [#2650](https://github.com/open-telemetry/opentelemetry-js/pull/2650) fix: clientMethodTrace missing original properties ([@bgpo](https://github.com/bgpo)) +* `opentelemetry-propagator-jaeger` + * [#2694](https://github.com/open-telemetry/opentelemetry-js/pull/2694) fix(propagator-jaeger): 0-pad span-id to match 16-symbol validation ([@nikolaylagutko](https://github.com/nikolaylagutko)) +* `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-web` + * [#2689](https://github.com/open-telemetry/opentelemetry-js/pull/2689) fix: remove window and document dependencies in web packages ([@legendecas](https://github.com/legendecas)) ### :books: (Refine Doc) -- Other - - [#2830](https://github.com/open-telemetry/opentelemetry-js/pull/2830) Cleanup removed documentation for missing benchmarks ([@dmathieu](https://github.com/dmathieu)) - - [#2807](https://github.com/open-telemetry/opentelemetry-js/pull/2807) docs: document removal of shutdown flag in OTLPExporterBase ([@legendecas](https://github.com/legendecas)) - - [#2814](https://github.com/open-telemetry/opentelemetry-js/pull/2814) docs: simplify contrib part in readme ([@Flarna](https://github.com/Flarna)) - - [#2802](https://github.com/open-telemetry/opentelemetry-js/pull/2802) docs(prom-example): remove deprecated startServer option ([@naseemkullah](https://github.com/naseemkullah)) - - [#2728](https://github.com/open-telemetry/opentelemetry-js/pull/2728) docs: specify minimun version of npm to run command in subproject ([@cuichenli](https://github.com/cuichenli)) - - [#2720](https://github.com/open-telemetry/opentelemetry-js/pull/2720) docs: document node v10 EOL ([@YanivD](https://github.com/YanivD)) - - [#2688](https://github.com/open-telemetry/opentelemetry-js/pull/2688) docs: update typedoc config ([@dyladan](https://github.com/dyladan)) - - [#2685](https://github.com/open-telemetry/opentelemetry-js/pull/2685) docs: remove circle-ci from development guide, update link, and fix typo. ([@pichlermarc](https://github.com/pichlermarc)) - - [#2661](https://github.com/open-telemetry/opentelemetry-js/pull/2661) chore: update and fix tracer-web examples ([@MSNev](https://github.com/MSNev)) - - [#2647](https://github.com/open-telemetry/opentelemetry-js/pull/2647) chore: update opentelemetry dependencies to latest versions ([@svetlanabrennan](https://github.com/svetlanabrennan)) -- `exporter-trace-otlp-grpc` - - [#2726](https://github.com/open-telemetry/opentelemetry-js/pull/2726) docs(otlp-grpc-exporter): update default url ([@svetlanabrennan](https://github.com/svetlanabrennan)) -- `opentelemetry-context-async-hooks` - - [#2619](https://github.com/open-telemetry/opentelemetry-js/pull/2619) docs(context): Fix links, edit prose ([@spencerwilson](https://github.com/spencerwilson)) -- `opentelemetry-context-async-hooks`, `opentelemetry-sdk-trace-node` - - [#2651](https://github.com/open-telemetry/opentelemetry-js/pull/2651) docs: fix links to the context document ([@legendecas](https://github.com/legendecas)) +* Other + * [#2830](https://github.com/open-telemetry/opentelemetry-js/pull/2830) Cleanup removed documentation for missing benchmarks ([@dmathieu](https://github.com/dmathieu)) + * [#2807](https://github.com/open-telemetry/opentelemetry-js/pull/2807) docs: document removal of shutdown flag in OTLPExporterBase ([@legendecas](https://github.com/legendecas)) + * [#2814](https://github.com/open-telemetry/opentelemetry-js/pull/2814) docs: simplify contrib part in readme ([@Flarna](https://github.com/Flarna)) + * [#2802](https://github.com/open-telemetry/opentelemetry-js/pull/2802) docs(prom-example): remove deprecated startServer option ([@naseemkullah](https://github.com/naseemkullah)) + * [#2728](https://github.com/open-telemetry/opentelemetry-js/pull/2728) docs: specify minimun version of npm to run command in subproject ([@cuichenli](https://github.com/cuichenli)) + * [#2720](https://github.com/open-telemetry/opentelemetry-js/pull/2720) docs: document node v10 EOL ([@YanivD](https://github.com/YanivD)) + * [#2688](https://github.com/open-telemetry/opentelemetry-js/pull/2688) docs: update typedoc config ([@dyladan](https://github.com/dyladan)) + * [#2685](https://github.com/open-telemetry/opentelemetry-js/pull/2685) docs: remove circle-ci from development guide, update link, and fix typo. ([@pichlermarc](https://github.com/pichlermarc)) + * [#2661](https://github.com/open-telemetry/opentelemetry-js/pull/2661) chore: update and fix tracer-web examples ([@MSNev](https://github.com/MSNev)) + * [#2647](https://github.com/open-telemetry/opentelemetry-js/pull/2647) chore: update opentelemetry dependencies to latest versions ([@svetlanabrennan](https://github.com/svetlanabrennan)) +* `exporter-trace-otlp-grpc` + * [#2726](https://github.com/open-telemetry/opentelemetry-js/pull/2726) docs(otlp-grpc-exporter): update default url ([@svetlanabrennan](https://github.com/svetlanabrennan)) +* `opentelemetry-context-async-hooks` + * [#2619](https://github.com/open-telemetry/opentelemetry-js/pull/2619) docs(context): Fix links, edit prose ([@spencerwilson](https://github.com/spencerwilson)) +* `opentelemetry-context-async-hooks`, `opentelemetry-sdk-trace-node` + * [#2651](https://github.com/open-telemetry/opentelemetry-js/pull/2651) docs: fix links to the context document ([@legendecas](https://github.com/legendecas)) ### :house: (Internal) -- `opentelemetry-sdk-trace-base` - - [#2768](https://github.com/open-telemetry/opentelemetry-js/pull/2768) test(sdk-trace-base): pin core.hrtime dependencies on timeOrigin ([@legendecas](https://github.com/legendecas)) -- `exporter-trace-otlp-http`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` - - [#2765](https://github.com/open-telemetry/opentelemetry-js/pull/2765) chore: target to es2017 in the no-polyfill target ([@legendecas](https://github.com/legendecas)) -- Other - - [#2743](https://github.com/open-telemetry/opentelemetry-js/pull/2743) test(sdk-metrics-base): test metric instrument interfaces ([@legendecas](https://github.com/legendecas)) - - [#2752](https://github.com/open-telemetry/opentelemetry-js/pull/2752) test(integration-w3c): fix inconsistent api versions loaded ([@legendecas](https://github.com/legendecas)) - - [#2715](https://github.com/open-telemetry/opentelemetry-js/pull/2715) chore: update actions/checkout to v2 ([@legendecas](https://github.com/legendecas)) - - [#2702](https://github.com/open-telemetry/opentelemetry-js/pull/2702) chore: add Chengzhong Wu as maintainer ([@dyladan](https://github.com/dyladan)) - - [#2703](https://github.com/open-telemetry/opentelemetry-js/pull/2703) chore: add Amir Blum as maintainer ([@dyladan](https://github.com/dyladan)) - - [#2701](https://github.com/open-telemetry/opentelemetry-js/pull/2701) chore: add Rauno Viskus as maintainer ([@dyladan](https://github.com/dyladan)) - - [#2693](https://github.com/open-telemetry/opentelemetry-js/pull/2693) chore: retry link checks on code 429 with 'retry-after' header ([@legendecas](https://github.com/legendecas)) - - [#2669](https://github.com/open-telemetry/opentelemetry-js/pull/2669) chore: checks links in typedoc html ([@legendecas](https://github.com/legendecas)) - - [#2683](https://github.com/open-telemetry/opentelemetry-js/pull/2683) chore: start a style guide ([@dyladan](https://github.com/dyladan)) - - [#2684](https://github.com/open-telemetry/opentelemetry-js/pull/2684) chore: remove @obecny as maintainer ([@dyladan](https://github.com/dyladan)) - - [#2663](https://github.com/open-telemetry/opentelemetry-js/pull/2663) chore: fix nojekyll in docs command ([@dyladan](https://github.com/dyladan)) - - [#2648](https://github.com/open-telemetry/opentelemetry-js/pull/2648) refactor(opentelemetry-sdk-node): remove redundant judgments for metric ([@rickyes](https://github.com/rickyes)) - - [#2638](https://github.com/open-telemetry/opentelemetry-js/pull/2638) chore: Update wip metrics references ([@dyladan](https://github.com/dyladan)) - - [#2629](https://github.com/open-telemetry/opentelemetry-js/pull/2629) chore: rename metrics packages to prevent lerna linking ([@dyladan](https://github.com/dyladan)) - - [#2623](https://github.com/open-telemetry/opentelemetry-js/pull/2623) chore: fix the compilation for typescript 4.4 ([@dyladan](https://github.com/dyladan)) - - [#2598](https://github.com/open-telemetry/opentelemetry-js/pull/2598) chore: Remove old metrics SDK ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core` - - [#2709](https://github.com/open-telemetry/opentelemetry-js/pull/2709) test(sdk-metrics): browser compatibility tests ([@legendecas](https://github.com/legendecas)) -- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` - - [#2710](https://github.com/open-telemetry/opentelemetry-js/pull/2710) chore: apply eslint rule semi ([@legendecas](https://github.com/legendecas)) -- `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `template` - - [#2699](https://github.com/open-telemetry/opentelemetry-js/pull/2699) chore: rename `--include-filtered-dependencies` ([@Rauno56](https://github.com/Rauno56)) -- `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing` - - [#2657](https://github.com/open-telemetry/opentelemetry-js/pull/2657) chore: add markdown link checks ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-resources`, `opentelemetry-semantic-conventions` - - [#2652](https://github.com/open-telemetry/opentelemetry-js/pull/2652) Update nock ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-sdk-trace-web` - - [#2451](https://github.com/open-telemetry/opentelemetry-js/pull/2451) chore(sdk-trace-web): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-sdk-trace-base` + * [#2768](https://github.com/open-telemetry/opentelemetry-js/pull/2768) test(sdk-trace-base): pin core.hrtime dependencies on timeOrigin ([@legendecas](https://github.com/legendecas)) +* `exporter-trace-otlp-http`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` + * [#2765](https://github.com/open-telemetry/opentelemetry-js/pull/2765) chore: target to es2017 in the no-polyfill target ([@legendecas](https://github.com/legendecas)) +* Other + * [#2743](https://github.com/open-telemetry/opentelemetry-js/pull/2743) test(sdk-metrics-base): test metric instrument interfaces ([@legendecas](https://github.com/legendecas)) + * [#2752](https://github.com/open-telemetry/opentelemetry-js/pull/2752) test(integration-w3c): fix inconsistent api versions loaded ([@legendecas](https://github.com/legendecas)) + * [#2715](https://github.com/open-telemetry/opentelemetry-js/pull/2715) chore: update actions/checkout to v2 ([@legendecas](https://github.com/legendecas)) + * [#2702](https://github.com/open-telemetry/opentelemetry-js/pull/2702) chore: add Chengzhong Wu as maintainer ([@dyladan](https://github.com/dyladan)) + * [#2703](https://github.com/open-telemetry/opentelemetry-js/pull/2703) chore: add Amir Blum as maintainer ([@dyladan](https://github.com/dyladan)) + * [#2701](https://github.com/open-telemetry/opentelemetry-js/pull/2701) chore: add Rauno Viskus as maintainer ([@dyladan](https://github.com/dyladan)) + * [#2693](https://github.com/open-telemetry/opentelemetry-js/pull/2693) chore: retry link checks on code 429 with 'retry-after' header ([@legendecas](https://github.com/legendecas)) + * [#2669](https://github.com/open-telemetry/opentelemetry-js/pull/2669) chore: checks links in typedoc html ([@legendecas](https://github.com/legendecas)) + * [#2683](https://github.com/open-telemetry/opentelemetry-js/pull/2683) chore: start a style guide ([@dyladan](https://github.com/dyladan)) + * [#2684](https://github.com/open-telemetry/opentelemetry-js/pull/2684) chore: remove @obecny as maintainer ([@dyladan](https://github.com/dyladan)) + * [#2663](https://github.com/open-telemetry/opentelemetry-js/pull/2663) chore: fix nojekyll in docs command ([@dyladan](https://github.com/dyladan)) + * [#2648](https://github.com/open-telemetry/opentelemetry-js/pull/2648) refactor(opentelemetry-sdk-node): remove redundant judgments for metric ([@rickyes](https://github.com/rickyes)) + * [#2638](https://github.com/open-telemetry/opentelemetry-js/pull/2638) chore: Update wip metrics references ([@dyladan](https://github.com/dyladan)) + * [#2629](https://github.com/open-telemetry/opentelemetry-js/pull/2629) chore: rename metrics packages to prevent lerna linking ([@dyladan](https://github.com/dyladan)) + * [#2623](https://github.com/open-telemetry/opentelemetry-js/pull/2623) chore: fix the compilation for typescript 4.4 ([@dyladan](https://github.com/dyladan)) + * [#2598](https://github.com/open-telemetry/opentelemetry-js/pull/2598) chore: Remove old metrics SDK ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core` + * [#2709](https://github.com/open-telemetry/opentelemetry-js/pull/2709) test(sdk-metrics): browser compatibility tests ([@legendecas](https://github.com/legendecas)) +* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions` + * [#2710](https://github.com/open-telemetry/opentelemetry-js/pull/2710) chore: apply eslint rule semi ([@legendecas](https://github.com/legendecas)) +* `exporter-trace-otlp-grpc`, `exporter-trace-otlp-http`, `exporter-trace-otlp-proto`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `template` + * [#2699](https://github.com/open-telemetry/opentelemetry-js/pull/2699) chore: rename `--include-filtered-dependencies` ([@Rauno56](https://github.com/Rauno56)) +* `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing` + * [#2657](https://github.com/open-telemetry/opentelemetry-js/pull/2657) chore: add markdown link checks ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-resources`, `opentelemetry-semantic-conventions` + * [#2652](https://github.com/open-telemetry/opentelemetry-js/pull/2652) Update nock ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-sdk-trace-web` + * [#2451](https://github.com/open-telemetry/opentelemetry-js/pull/2451) chore(sdk-trace-web): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) ### Committers: 24 -- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -- Amir Blum ([@blumamir](https://github.com/blumamir)) -- Chris Karcher ([@chrskrchr](https://github.com/chrskrchr)) -- Damien Mathieu ([@dmathieu](https://github.com/dmathieu)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Marc Pichler ([@pichlermarc](https://github.com/pichlermarc)) -- Mitar Milanovic ([@Bataran](https://github.com/Bataran)) -- Nev ([@MSNev](https://github.com/MSNev)) -- Nikolay Lagutko ([@nikolaylagutko](https://github.com/nikolaylagutko)) -- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -- Ricky Zhou ([@rickyes](https://github.com/rickyes)) -- Sebastian Poxhofer ([@secustor](https://github.com/secustor)) -- Siim Kallas ([@seemk](https://github.com/seemk)) -- Spencer Wilson ([@spencerwilson](https://github.com/spencerwilson)) -- Srikanth Chekuri ([@srikanthccv](https://github.com/srikanthccv)) -- Svetlana Brennan ([@svetlanabrennan](https://github.com/svetlanabrennan)) -- Will Li ([@cuichenli](https://github.com/cuichenli)) -- Yaniv Davidi ([@YanivD](https://github.com/YanivD)) -- [@bgpo](https://github.com/bgpo) -- [@echoontheway](https://github.com/echoontheway) -- [@naseemkullah](https://github.com/naseemkullah) -- [@sschegolev](https://github.com/sschegolev) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +* Amir Blum ([@blumamir](https://github.com/blumamir)) +* Chris Karcher ([@chrskrchr](https://github.com/chrskrchr)) +* Damien Mathieu ([@dmathieu](https://github.com/dmathieu)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Marc Pichler ([@pichlermarc](https://github.com/pichlermarc)) +* Mitar Milanovic ([@Bataran](https://github.com/Bataran)) +* Nev ([@MSNev](https://github.com/MSNev)) +* Nikolay Lagutko ([@nikolaylagutko](https://github.com/nikolaylagutko)) +* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +* Ricky Zhou ([@rickyes](https://github.com/rickyes)) +* Sebastian Poxhofer ([@secustor](https://github.com/secustor)) +* Siim Kallas ([@seemk](https://github.com/seemk)) +* Spencer Wilson ([@spencerwilson](https://github.com/spencerwilson)) +* Srikanth Chekuri ([@srikanthccv](https://github.com/srikanthccv)) +* Svetlana Brennan ([@svetlanabrennan](https://github.com/svetlanabrennan)) +* Will Li ([@cuichenli](https://github.com/cuichenli)) +* Yaniv Davidi ([@YanivD](https://github.com/YanivD)) +* [@bgpo](https://github.com/bgpo) +* [@echoontheway](https://github.com/echoontheway) +* [@naseemkullah](https://github.com/naseemkullah) +* [@sschegolev](https://github.com/sschegolev) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 1.0.1 / Experimental 0.27.0 ### :boom: Breaking Change -- Other - - [#2566](https://github.com/open-telemetry/opentelemetry-js/pull/2566) feat!(metrics): remove batch observer ([@dyladan](https://github.com/dyladan)) - - [#2485](https://github.com/open-telemetry/opentelemetry-js/pull/2485) feat!: Split metric and trace exporters into new experimental packages ([@willarmiros](https://github.com/willarmiros)) - - [#2540](https://github.com/open-telemetry/opentelemetry-js/pull/2540) fix(sdk-metrics-base): remove metric kind BATCH_OBSERVER ([@legendecas](https://github.com/legendecas)) - - [#2496](https://github.com/open-telemetry/opentelemetry-js/pull/2496) feat(api-metrics): rename metric instruments to match feature-freeze API specification ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-core` - - [#2529](https://github.com/open-telemetry/opentelemetry-js/pull/2529) feat(api-metrics): add schemaUrl to meter creations ([@legendecas](https://github.com/legendecas)) +* Other + * [#2566](https://github.com/open-telemetry/opentelemetry-js/pull/2566) feat!(metrics): remove batch observer ([@dyladan](https://github.com/dyladan)) + * [#2485](https://github.com/open-telemetry/opentelemetry-js/pull/2485) feat!: Split metric and trace exporters into new experimental packages ([@willarmiros](https://github.com/willarmiros)) + * [#2540](https://github.com/open-telemetry/opentelemetry-js/pull/2540) fix(sdk-metrics-base): remove metric kind BATCH_OBSERVER ([@legendecas](https://github.com/legendecas)) + * [#2496](https://github.com/open-telemetry/opentelemetry-js/pull/2496) feat(api-metrics): rename metric instruments to match feature-freeze API specification ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-core` + * [#2529](https://github.com/open-telemetry/opentelemetry-js/pull/2529) feat(api-metrics): add schemaUrl to meter creations ([@legendecas](https://github.com/legendecas)) ### :rocket: (Enhancement) -- Other - - [#2523](https://github.com/open-telemetry/opentelemetry-js/pull/2523) feat: Rename Labels to Attributes ([@pirgeo](https://github.com/pirgeo)) - - [#2559](https://github.com/open-telemetry/opentelemetry-js/pull/2559) feat(api-metrics): remove bind/unbind and bound instruments ([@legendecas](https://github.com/legendecas)) - - [#2563](https://github.com/open-telemetry/opentelemetry-js/pull/2563) feat(sdk-metrics-base): remove per-meter config on MeterProvider.getMeter ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-core` - - [#2465](https://github.com/open-telemetry/opentelemetry-js/pull/2465) fix: prefer globalThis instead of window to support webworkers ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-semantic-conventions` - - [#2532](https://github.com/open-telemetry/opentelemetry-js/pull/2532) feat(@opentelemetry/semantic-conventions): change enum to object literals ([@echoontheway](https://github.com/echoontheway)) - - [#2528](https://github.com/open-telemetry/opentelemetry-js/pull/2528) feat: upgrade semantic-conventions to latest v1.7.0 spec ([@weyert](https://github.com/weyert)) -- `opentelemetry-core`, `opentelemetry-sdk-trace-base` - - [#2484](https://github.com/open-telemetry/opentelemetry-js/pull/2484) feat: new merge function ([@obecny](https://github.com/obecny)) +* Other + * [#2523](https://github.com/open-telemetry/opentelemetry-js/pull/2523) feat: Rename Labels to Attributes ([@pirgeo](https://github.com/pirgeo)) + * [#2559](https://github.com/open-telemetry/opentelemetry-js/pull/2559) feat(api-metrics): remove bind/unbind and bound instruments ([@legendecas](https://github.com/legendecas)) + * [#2563](https://github.com/open-telemetry/opentelemetry-js/pull/2563) feat(sdk-metrics-base): remove per-meter config on MeterProvider.getMeter ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-core` + * [#2465](https://github.com/open-telemetry/opentelemetry-js/pull/2465) fix: prefer globalThis instead of window to support webworkers ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-semantic-conventions` + * [#2532](https://github.com/open-telemetry/opentelemetry-js/pull/2532) feat(@opentelemetry/semantic-conventions): change enum to object literals ([@echoontheway](https://github.com/echoontheway)) + * [#2528](https://github.com/open-telemetry/opentelemetry-js/pull/2528) feat: upgrade semantic-conventions to latest v1.7.0 spec ([@weyert](https://github.com/weyert)) +* `opentelemetry-core`, `opentelemetry-sdk-trace-base` + * [#2484](https://github.com/open-telemetry/opentelemetry-js/pull/2484) feat: new merge function ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- Other - - [#2610](https://github.com/open-telemetry/opentelemetry-js/pull/2610) fix: preventing double enable for instrumentation that has been already enabled ([@obecny](https://github.com/obecny)) - - [#2581](https://github.com/open-telemetry/opentelemetry-js/pull/2581) feat: lazy initialization of the gzip stream ([@fungiboletus](https://github.com/fungiboletus)) - - [#2584](https://github.com/open-telemetry/opentelemetry-js/pull/2584) fix: fixing compatibility versions for detectors ([@obecny](https://github.com/obecny)) - - [#2558](https://github.com/open-telemetry/opentelemetry-js/pull/2558) fix(@opentelemetry/exporter-prometheus): unref prometheus server to prevent process running indefinitely ([@mothershipper](https://github.com/mothershipper)) - - [#2495](https://github.com/open-telemetry/opentelemetry-js/pull/2495) fix(sdk-metrics-base): metrics name should be in the max length of 63 ([@legendecas](https://github.com/legendecas)) - - [#2497](https://github.com/open-telemetry/opentelemetry-js/pull/2497) feat(@opentelemetry-instrumentation-fetch): support reading response body from the hook applyCustomAttributesOnSpan ([@echoontheway](https://github.com/echoontheway)) -- `opentelemetry-core` - - [#2560](https://github.com/open-telemetry/opentelemetry-js/pull/2560) fix(core): support regex global flag in urlMatches ([@moander](https://github.com/moander)) -- `opentelemetry-exporter-zipkin` - - [#2519](https://github.com/open-telemetry/opentelemetry-js/pull/2519) fix(exporter-zipkin): correct status tags names ([@t2t2](https://github.com/t2t2)) +* Other + * [#2610](https://github.com/open-telemetry/opentelemetry-js/pull/2610) fix: preventing double enable for instrumentation that has been already enabled ([@obecny](https://github.com/obecny)) + * [#2581](https://github.com/open-telemetry/opentelemetry-js/pull/2581) feat: lazy initialization of the gzip stream ([@fungiboletus](https://github.com/fungiboletus)) + * [#2584](https://github.com/open-telemetry/opentelemetry-js/pull/2584) fix: fixing compatibility versions for detectors ([@obecny](https://github.com/obecny)) + * [#2558](https://github.com/open-telemetry/opentelemetry-js/pull/2558) fix(@opentelemetry/exporter-prometheus): unref prometheus server to prevent process running indefinitely ([@mothershipper](https://github.com/mothershipper)) + * [#2495](https://github.com/open-telemetry/opentelemetry-js/pull/2495) fix(sdk-metrics-base): metrics name should be in the max length of 63 ([@legendecas](https://github.com/legendecas)) + * [#2497](https://github.com/open-telemetry/opentelemetry-js/pull/2497) feat(@opentelemetry-instrumentation-fetch): support reading response body from the hook applyCustomAttributesOnSpan ([@echoontheway](https://github.com/echoontheway)) +* `opentelemetry-core` + * [#2560](https://github.com/open-telemetry/opentelemetry-js/pull/2560) fix(core): support regex global flag in urlMatches ([@moander](https://github.com/moander)) +* `opentelemetry-exporter-zipkin` + * [#2519](https://github.com/open-telemetry/opentelemetry-js/pull/2519) fix(exporter-zipkin): correct status tags names ([@t2t2](https://github.com/t2t2)) ### :books: (Refine Doc) -- Other - - [#2561](https://github.com/open-telemetry/opentelemetry-js/pull/2561) Use new canonical path to Getting Started ([@chalin](https://github.com/chalin)) - - [#2576](https://github.com/open-telemetry/opentelemetry-js/pull/2576) docs(instrumentation): update links in the Readme ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) - - [#2600](https://github.com/open-telemetry/opentelemetry-js/pull/2600) docs: fix URLs in README post-experimental move ([@arbourd](https://github.com/arbourd)) - - [#2579](https://github.com/open-telemetry/opentelemetry-js/pull/2579) doc: Move upgrade propagator notes to correct section ([@NathanielRN](https://github.com/NathanielRN)) - - [#2568](https://github.com/open-telemetry/opentelemetry-js/pull/2568) chore(doc): update matrix with contrib version for 1.0 core ([@vmarchaud](https://github.com/vmarchaud)) - - [#2555](https://github.com/open-telemetry/opentelemetry-js/pull/2555) docs: expose existing comments ([@moander](https://github.com/moander)) - - [#2493](https://github.com/open-telemetry/opentelemetry-js/pull/2493) chore: remove getting started and link to documentation. ([@svrnm](https://github.com/svrnm)) -- `opentelemetry-core` - - [#2604](https://github.com/open-telemetry/opentelemetry-js/pull/2604) Docs: Document the HrTime format ([@JamesJHPark](https://github.com/JamesJHPark)) +* Other + * [#2561](https://github.com/open-telemetry/opentelemetry-js/pull/2561) Use new canonical path to Getting Started ([@chalin](https://github.com/chalin)) + * [#2576](https://github.com/open-telemetry/opentelemetry-js/pull/2576) docs(instrumentation): update links in the Readme ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) + * [#2600](https://github.com/open-telemetry/opentelemetry-js/pull/2600) docs: fix URLs in README post-experimental move ([@arbourd](https://github.com/arbourd)) + * [#2579](https://github.com/open-telemetry/opentelemetry-js/pull/2579) doc: Move upgrade propagator notes to correct section ([@NathanielRN](https://github.com/NathanielRN)) + * [#2568](https://github.com/open-telemetry/opentelemetry-js/pull/2568) chore(doc): update matrix with contrib version for 1.0 core ([@vmarchaud](https://github.com/vmarchaud)) + * [#2555](https://github.com/open-telemetry/opentelemetry-js/pull/2555) docs: expose existing comments ([@moander](https://github.com/moander)) + * [#2493](https://github.com/open-telemetry/opentelemetry-js/pull/2493) chore: remove getting started and link to documentation. ([@svrnm](https://github.com/svrnm)) +* `opentelemetry-core` + * [#2604](https://github.com/open-telemetry/opentelemetry-js/pull/2604) Docs: Document the HrTime format ([@JamesJHPark](https://github.com/JamesJHPark)) ### :house: (Internal) -- Other - - [#2404](https://github.com/open-telemetry/opentelemetry-js/pull/2404) chore: Fix lint warnings in instrumentation package ([@alisabzevari](https://github.com/alisabzevari)) - - [#2533](https://github.com/open-telemetry/opentelemetry-js/pull/2533) chore: regularly close stale issues ([@Rauno56](https://github.com/Rauno56)) - - [#2570](https://github.com/open-telemetry/opentelemetry-js/pull/2570) chore: adding selenium tests with browserstack ([@obecny](https://github.com/obecny)) - - [#2522](https://github.com/open-telemetry/opentelemetry-js/pull/2522) chore: cleanup setting config in instrumentations ([@Flarna](https://github.com/Flarna)) - - [#2541](https://github.com/open-telemetry/opentelemetry-js/pull/2541) chore: slim font size for section title in PR template ([@legendecas](https://github.com/legendecas)) - - [#2509](https://github.com/open-telemetry/opentelemetry-js/pull/2509) chore: expand pull request template with action items ([@pragmaticivan](https://github.com/pragmaticivan)) - - [#2488](https://github.com/open-telemetry/opentelemetry-js/pull/2488) chore: inline sources in source maps ([@dyladan](https://github.com/dyladan)) - - [#2514](https://github.com/open-telemetry/opentelemetry-js/pull/2514) chore: update stable dependencies to 1.0 ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web` - - [#2607](https://github.com/open-telemetry/opentelemetry-js/pull/2607) chore: update npm badge image links ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - - [#2531](https://github.com/open-telemetry/opentelemetry-js/pull/2531) chore(deps): pin minor API version ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-core` - - [#2520](https://github.com/open-telemetry/opentelemetry-js/pull/2520) chore(deps): remove unused semver ([@mhennoch](https://github.com/mhennoch)) +* Other + * [#2404](https://github.com/open-telemetry/opentelemetry-js/pull/2404) chore: Fix lint warnings in instrumentation package ([@alisabzevari](https://github.com/alisabzevari)) + * [#2533](https://github.com/open-telemetry/opentelemetry-js/pull/2533) chore: regularly close stale issues ([@Rauno56](https://github.com/Rauno56)) + * [#2570](https://github.com/open-telemetry/opentelemetry-js/pull/2570) chore: adding selenium tests with browserstack ([@obecny](https://github.com/obecny)) + * [#2522](https://github.com/open-telemetry/opentelemetry-js/pull/2522) chore: cleanup setting config in instrumentations ([@Flarna](https://github.com/Flarna)) + * [#2541](https://github.com/open-telemetry/opentelemetry-js/pull/2541) chore: slim font size for section title in PR template ([@legendecas](https://github.com/legendecas)) + * [#2509](https://github.com/open-telemetry/opentelemetry-js/pull/2509) chore: expand pull request template with action items ([@pragmaticivan](https://github.com/pragmaticivan)) + * [#2488](https://github.com/open-telemetry/opentelemetry-js/pull/2488) chore: inline sources in source maps ([@dyladan](https://github.com/dyladan)) + * [#2514](https://github.com/open-telemetry/opentelemetry-js/pull/2514) chore: update stable dependencies to 1.0 ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web` + * [#2607](https://github.com/open-telemetry/opentelemetry-js/pull/2607) chore: update npm badge image links ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + * [#2531](https://github.com/open-telemetry/opentelemetry-js/pull/2531) chore(deps): pin minor API version ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-core` + * [#2520](https://github.com/open-telemetry/opentelemetry-js/pull/2520) chore(deps): remove unused semver ([@mhennoch](https://github.com/mhennoch)) ### Committers: 23 -- (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) -- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -- Antoine Pultier ([@fungiboletus](https://github.com/fungiboletus)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Dylan Arbour ([@arbourd](https://github.com/arbourd)) -- Georg Pirklbauer ([@pirgeo](https://github.com/pirgeo)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) -- Jack ([@mothershipper](https://github.com/mothershipper)) -- James ([@JamesJHPark](https://github.com/JamesJHPark)) -- MartenH ([@mhennoch](https://github.com/mhennoch)) -- Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) -- Patrice Chalin ([@chalin](https://github.com/chalin)) -- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -- Severin Neumann ([@svrnm](https://github.com/svrnm)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) -- William Armiros ([@willarmiros](https://github.com/willarmiros)) -- [@echoontheway](https://github.com/echoontheway) -- legendecas ([@legendecas](https://github.com/legendecas)) -- moander ([@moander](https://github.com/moander)) -- t2t2 ([@t2t2](https://github.com/t2t2)) +* (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) +* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +* Antoine Pultier ([@fungiboletus](https://github.com/fungiboletus)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Dylan Arbour ([@arbourd](https://github.com/arbourd)) +* Georg Pirklbauer ([@pirgeo](https://github.com/pirgeo)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) +* Jack ([@mothershipper](https://github.com/mothershipper)) +* James ([@JamesJHPark](https://github.com/JamesJHPark)) +* MartenH ([@mhennoch](https://github.com/mhennoch)) +* Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) +* Patrice Chalin ([@chalin](https://github.com/chalin)) +* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +* Severin Neumann ([@svrnm](https://github.com/svrnm)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) +* William Armiros ([@willarmiros](https://github.com/willarmiros)) +* [@echoontheway](https://github.com/echoontheway) +* legendecas ([@legendecas](https://github.com/legendecas)) +* moander ([@moander](https://github.com/moander)) +* t2t2 ([@t2t2](https://github.com/t2t2)) ## 1.0.0 @@ -467,1450 +467,1450 @@ No changes ### :boom: Breaking Change -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-otlp-grpc`, `opentelemetry-exporter-otlp-http`, `opentelemetry-exporter-otlp-proto` - - [#2476](https://github.com/open-telemetry/opentelemetry-js/pull/2476) chore!: rename collector exporters ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-sdk-trace-base`, `opentelemetry-shim-opentracing` - - [#2429](https://github.com/open-telemetry/opentelemetry-js/pull/2429) fix!: remove 'Http' from W3C propagator names ([@aabmass](https://github.com/aabmass)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-otlp-grpc`, `opentelemetry-exporter-otlp-http`, `opentelemetry-exporter-otlp-proto` + * [#2476](https://github.com/open-telemetry/opentelemetry-js/pull/2476) chore!: rename collector exporters ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-sdk-trace-base`, `opentelemetry-shim-opentracing` + * [#2429](https://github.com/open-telemetry/opentelemetry-js/pull/2429) fix!: remove 'Http' from W3C propagator names ([@aabmass](https://github.com/aabmass)) ### :rocket: (Enhancement) -- `opentelemetry-core`, `opentelemetry-sdk-trace-base` - - [#2430](https://github.com/open-telemetry/opentelemetry-js/pull/2430) feat(opentelemetry-sdk-trace-base): implemented general limits of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) - - [#2418](https://github.com/open-telemetry/opentelemetry-js/pull/2418) feat(opentelemetry-sdk-trace-base): implemented option to limit length of values of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) -- `opentelemetry-instrumentation` - - [#2450](https://github.com/open-telemetry/opentelemetry-js/pull/2450) fix: handle missing package.json file when checking for version ([@nozik](https://github.com/nozik)) -- `opentelemetry-semantic-conventions` - - [#2456](https://github.com/open-telemetry/opentelemetry-js/pull/2456) feat: upgrade semantic conventions to the latest 1.6.1 version ([@weyert](https://github.com/weyert)) -- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#2438](https://github.com/open-telemetry/opentelemetry-js/pull/2438) feat: OTEL_EXPORTER_OTLP_ENDPOINT append version and signal ([@longility](https://github.com/longility)) +* `opentelemetry-core`, `opentelemetry-sdk-trace-base` + * [#2430](https://github.com/open-telemetry/opentelemetry-js/pull/2430) feat(opentelemetry-sdk-trace-base): implemented general limits of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) + * [#2418](https://github.com/open-telemetry/opentelemetry-js/pull/2418) feat(opentelemetry-sdk-trace-base): implemented option to limit length of values of attributes ([@banothurameshnaik](https://github.com/banothurameshnaik)) +* `opentelemetry-instrumentation` + * [#2450](https://github.com/open-telemetry/opentelemetry-js/pull/2450) fix: handle missing package.json file when checking for version ([@nozik](https://github.com/nozik)) +* `opentelemetry-semantic-conventions` + * [#2456](https://github.com/open-telemetry/opentelemetry-js/pull/2456) feat: upgrade semantic conventions to the latest 1.6.1 version ([@weyert](https://github.com/weyert)) +* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#2438](https://github.com/open-telemetry/opentelemetry-js/pull/2438) feat: OTEL_EXPORTER_OTLP_ENDPOINT append version and signal ([@longility](https://github.com/longility)) ### :bug: (Bug Fix) -- Other - - [#2494](https://github.com/open-telemetry/opentelemetry-js/pull/2494) fix: remove setting http.route in http span attributes ([@mustafain117](https://github.com/mustafain117)) -- `opentelemetry-instrumentation-fetch` - - [#2426](https://github.com/open-telemetry/opentelemetry-js/pull/2426) fix(opentelemetry-instrumentation-fetch): fixed override of headers ([@philipszalla](https://github.com/philipszalla)) -- `opentelemetry-sdk-trace-base` - - [#2434](https://github.com/open-telemetry/opentelemetry-js/pull/2434) fix: ReferenceError when OTEL_TRACES_SAMPLER used without OTEL_TRACES_SAMPLER_ARG ([@hermanbanken](https://github.com/hermanbanken)) +* Other + * [#2494](https://github.com/open-telemetry/opentelemetry-js/pull/2494) fix: remove setting http.route in http span attributes ([@mustafain117](https://github.com/mustafain117)) +* `opentelemetry-instrumentation-fetch` + * [#2426](https://github.com/open-telemetry/opentelemetry-js/pull/2426) fix(opentelemetry-instrumentation-fetch): fixed override of headers ([@philipszalla](https://github.com/philipszalla)) +* `opentelemetry-sdk-trace-base` + * [#2434](https://github.com/open-telemetry/opentelemetry-js/pull/2434) fix: ReferenceError when OTEL_TRACES_SAMPLER used without OTEL_TRACES_SAMPLER_ARG ([@hermanbanken](https://github.com/hermanbanken)) ### :books: (Refine Doc) -- [#2478](https://github.com/open-telemetry/opentelemetry-js/pull/2478) Update links to packages moved to experimental ([@jessitron](https://github.com/jessitron)) -- [#2463](https://github.com/open-telemetry/opentelemetry-js/pull/2463) docs(README): Fix links in README.md ([@JamesJHPark](https://github.com/JamesJHPark)) -- [#2437](https://github.com/open-telemetry/opentelemetry-js/pull/2437) docs(examples): updated examples readme links ([@banothurameshnaik](https://github.com/banothurameshnaik)) -- [#2421](https://github.com/open-telemetry/opentelemetry-js/pull/2421) docs(website): support GH page links to canonical src ([@chalin](https://github.com/chalin)) -- [#2408](https://github.com/open-telemetry/opentelemetry-js/pull/2408) docs: make link to exporters filter only exporters ([@Rauno56](https://github.com/Rauno56)) -- [#2297](https://github.com/open-telemetry/opentelemetry-js/pull/2297) eslint configuration for getting-started examples ([@alisabzevari](https://github.com/alisabzevari)) +* [#2478](https://github.com/open-telemetry/opentelemetry-js/pull/2478) Update links to packages moved to experimental ([@jessitron](https://github.com/jessitron)) +* [#2463](https://github.com/open-telemetry/opentelemetry-js/pull/2463) docs(README): Fix links in README.md ([@JamesJHPark](https://github.com/JamesJHPark)) +* [#2437](https://github.com/open-telemetry/opentelemetry-js/pull/2437) docs(examples): updated examples readme links ([@banothurameshnaik](https://github.com/banothurameshnaik)) +* [#2421](https://github.com/open-telemetry/opentelemetry-js/pull/2421) docs(website): support GH page links to canonical src ([@chalin](https://github.com/chalin)) +* [#2408](https://github.com/open-telemetry/opentelemetry-js/pull/2408) docs: make link to exporters filter only exporters ([@Rauno56](https://github.com/Rauno56)) +* [#2297](https://github.com/open-telemetry/opentelemetry-js/pull/2297) eslint configuration for getting-started examples ([@alisabzevari](https://github.com/alisabzevari)) ### :house: (Internal) -- `opentelemetry-exporter-otlp-http` - - [#2490](https://github.com/open-telemetry/opentelemetry-js/pull/2490) chore: mark otlp exporters experimental ([@dyladan](https://github.com/dyladan)) - - [#2491](https://github.com/open-telemetry/opentelemetry-js/pull/2491) fix: remove usage of serviceName property in tests for otel collector ([@mustafain117](https://github.com/mustafain117)) -- `opentelemetry-sdk-node` - - [#2473](https://github.com/open-telemetry/opentelemetry-js/pull/2473) chore: move sdk-node to experimental ([@dyladan](https://github.com/dyladan)) - - [#2453](https://github.com/open-telemetry/opentelemetry-js/pull/2453) chore(sdk-node): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -- Other - - [#2469](https://github.com/open-telemetry/opentelemetry-js/pull/2469) Drop website_docs folder ([@chalin](https://github.com/chalin)) - - [#2474](https://github.com/open-telemetry/opentelemetry-js/pull/2474) chore: move missed test file to its package ([@dyladan](https://github.com/dyladan)) - - [#2435](https://github.com/open-telemetry/opentelemetry-js/pull/2435) chore: simplify unit test cache ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web` - - [#2462](https://github.com/open-telemetry/opentelemetry-js/pull/2462) chore: split stable and experimental packages into groups using directories ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-instrumentation-http` - - [#2126](https://github.com/open-telemetry/opentelemetry-js/pull/2126) feat(instrumentation-http): add diag debug on http request events ([@Asafb26](https://github.com/Asafb26)) - - [#2455](https://github.com/open-telemetry/opentelemetry-js/pull/2455) chore(instrumentation-http): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-instrumentation-fetch` - - [#2454](https://github.com/open-telemetry/opentelemetry-js/pull/2454) chore(instrumentation-fetch): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-exporter-collector` - - [#2452](https://github.com/open-telemetry/opentelemetry-js/pull/2452) chore(exporter-collector): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node` - - [#2446](https://github.com/open-telemetry/opentelemetry-js/pull/2446) chore(sdk-trace): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-shim-opentracing` - - [#2447](https://github.com/open-telemetry/opentelemetry-js/pull/2447) chore(exporter): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-exporter-otlp-http` + * [#2490](https://github.com/open-telemetry/opentelemetry-js/pull/2490) chore: mark otlp exporters experimental ([@dyladan](https://github.com/dyladan)) + * [#2491](https://github.com/open-telemetry/opentelemetry-js/pull/2491) fix: remove usage of serviceName property in tests for otel collector ([@mustafain117](https://github.com/mustafain117)) +* `opentelemetry-sdk-node` + * [#2473](https://github.com/open-telemetry/opentelemetry-js/pull/2473) chore: move sdk-node to experimental ([@dyladan](https://github.com/dyladan)) + * [#2453](https://github.com/open-telemetry/opentelemetry-js/pull/2453) chore(sdk-node): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* Other + * [#2469](https://github.com/open-telemetry/opentelemetry-js/pull/2469) Drop website_docs folder ([@chalin](https://github.com/chalin)) + * [#2474](https://github.com/open-telemetry/opentelemetry-js/pull/2474) chore: move missed test file to its package ([@dyladan](https://github.com/dyladan)) + * [#2435](https://github.com/open-telemetry/opentelemetry-js/pull/2435) chore: simplify unit test cache ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-web` + * [#2462](https://github.com/open-telemetry/opentelemetry-js/pull/2462) chore: split stable and experimental packages into groups using directories ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation-http` + * [#2126](https://github.com/open-telemetry/opentelemetry-js/pull/2126) feat(instrumentation-http): add diag debug on http request events ([@Asafb26](https://github.com/Asafb26)) + * [#2455](https://github.com/open-telemetry/opentelemetry-js/pull/2455) chore(instrumentation-http): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-instrumentation-fetch` + * [#2454](https://github.com/open-telemetry/opentelemetry-js/pull/2454) chore(instrumentation-fetch): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-exporter-collector` + * [#2452](https://github.com/open-telemetry/opentelemetry-js/pull/2452) chore(exporter-collector): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node` + * [#2446](https://github.com/open-telemetry/opentelemetry-js/pull/2446) chore(sdk-trace): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-shim-opentracing` + * [#2447](https://github.com/open-telemetry/opentelemetry-js/pull/2447) chore(exporter): fix lint warnings ([@alisabzevari](https://github.com/alisabzevari)) ### Committers: 18 -- Aaron Abbott ([@aabmass](https://github.com/aabmass)) -- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -- Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) -- Banothu Ramesh Naik ([@banothurameshnaik](https://github.com/banothurameshnaik)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Herman ([@hermanbanken](https://github.com/hermanbanken)) -- James ([@JamesJHPark](https://github.com/JamesJHPark)) -- Jessica Kerr ([@jessitron](https://github.com/jessitron)) -- Long Mai ([@longility](https://github.com/longility)) -- Mustafain Ali Khan ([@mustafain117](https://github.com/mustafain117)) -- Patrice Chalin ([@chalin](https://github.com/chalin)) -- Philip Szalla ([@philipszalla](https://github.com/philipszalla)) -- Ran Nozik ([@nozik](https://github.com/nozik)) -- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -- Siim Kallas ([@seemk](https://github.com/seemk)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Aaron Abbott ([@aabmass](https://github.com/aabmass)) +* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +* Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) +* Banothu Ramesh Naik ([@banothurameshnaik](https://github.com/banothurameshnaik)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Herman ([@hermanbanken](https://github.com/hermanbanken)) +* James ([@JamesJHPark](https://github.com/JamesJHPark)) +* Jessica Kerr ([@jessitron](https://github.com/jessitron)) +* Long Mai ([@longility](https://github.com/longility)) +* Mustafain Ali Khan ([@mustafain117](https://github.com/mustafain117)) +* Patrice Chalin ([@chalin](https://github.com/chalin)) +* Philip Szalla ([@philipszalla](https://github.com/philipszalla)) +* Ran Nozik ([@nozik](https://github.com/nozik)) +* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +* Siim Kallas ([@seemk](https://github.com/seemk)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 0.25.0 ### :boom: Breaking Change -- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - - [#2340](https://github.com/open-telemetry/opentelemetry-js/pull/2340) chore: rename sdks to better represent what they are [#2146] ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-sdk-metrics-base`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-base`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + * [#2340](https://github.com/open-telemetry/opentelemetry-js/pull/2340) chore: rename sdks to better represent what they are [#2146] ([@vmarchaud](https://github.com/vmarchaud)) ### :rocket: (Enhancement) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin` - - [#1775](https://github.com/open-telemetry/opentelemetry-js/pull/1775) fix(@opentelemetry/exporter-collector): remove fulfilled promises cor… ([@aabmass](https://github.com/aabmass)) -- `opentelemetry-exporter-collector` - - [#2336](https://github.com/open-telemetry/opentelemetry-js/pull/2336) feat: use Blob in sendBeacon to add application/json type ([@jufab](https://github.com/jufab)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin` + * [#1775](https://github.com/open-telemetry/opentelemetry-js/pull/1775) fix(@opentelemetry/exporter-collector): remove fulfilled promises cor… ([@aabmass](https://github.com/aabmass)) +* `opentelemetry-exporter-collector` + * [#2336](https://github.com/open-telemetry/opentelemetry-js/pull/2336) feat: use Blob in sendBeacon to add application/json type ([@jufab](https://github.com/jufab)) ### :bug: (Bug Fix) -- `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-base` - - [#2499](https://github.com/open-telemetry/opentelemetry-js/pull/2499) fix: 2389- replaced logger unformatted strings with template literals ([@PaurushGarg](https://github.com/PaurushGarg)) -- `opentelemetry-instrumentation-fetch` - - [#2411](https://github.com/open-telemetry/opentelemetry-js/pull/2411) fix(instrumentation-fetch): `fetch(string, Request)` silently drops request body ([@t2t2](https://github.com/t2t2)) -- `opentelemetry-sdk-trace-base` - - [#2396](https://github.com/open-telemetry/opentelemetry-js/pull/2396) fix: respect sampled flag in Span Processors, fix associated tests ([@quickgiant](https://github.com/quickgiant)) +* `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-trace-base` + * [#2499](https://github.com/open-telemetry/opentelemetry-js/pull/2499) fix: 2389- replaced logger unformatted strings with template literals ([@PaurushGarg](https://github.com/PaurushGarg)) +* `opentelemetry-instrumentation-fetch` + * [#2411](https://github.com/open-telemetry/opentelemetry-js/pull/2411) fix(instrumentation-fetch): `fetch(string, Request)` silently drops request body ([@t2t2](https://github.com/t2t2)) +* `opentelemetry-sdk-trace-base` + * [#2396](https://github.com/open-telemetry/opentelemetry-js/pull/2396) fix: respect sampled flag in Span Processors, fix associated tests ([@quickgiant](https://github.com/quickgiant)) ### :books: (Refine Doc) -- Other - - [#2412](https://github.com/open-telemetry/opentelemetry-js/pull/2412) docs: fix examples in website_docs/instrumentation.md ([@svrnm](https://github.com/svrnm)) - - [#2400](https://github.com/open-telemetry/opentelemetry-js/pull/2400) Website docs update 0821 ([@svrnm](https://github.com/svrnm)) -- `opentelemetry-resources`, `opentelemetry-semantic-conventions` - - [#2399](https://github.com/open-telemetry/opentelemetry-js/pull/2399) chore: update doc identifier names in readme ([@lonewolf3739](https://github.com/lonewolf3739)) +* Other + * [#2412](https://github.com/open-telemetry/opentelemetry-js/pull/2412) docs: fix examples in website_docs/instrumentation.md ([@svrnm](https://github.com/svrnm)) + * [#2400](https://github.com/open-telemetry/opentelemetry-js/pull/2400) Website docs update 0821 ([@svrnm](https://github.com/svrnm)) +* `opentelemetry-resources`, `opentelemetry-semantic-conventions` + * [#2399](https://github.com/open-telemetry/opentelemetry-js/pull/2399) chore: update doc identifier names in readme ([@lonewolf3739](https://github.com/lonewolf3739)) ### :house: (Internal) -- `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-instrumentation-http`, `opentelemetry-sdk-trace-node` - - [#2416](https://github.com/open-telemetry/opentelemetry-js/pull/2416) chore: hoist dependencies to speed up ci ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base` - - [#2406](https://github.com/open-telemetry/opentelemetry-js/pull/2406) chore: Fix lint warnings in propagator-jaeger, propagator-b3, resources, and sdk-metrics-base packages ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-core` - - [#2405](https://github.com/open-telemetry/opentelemetry-js/pull/2405) chore: Fix lint warnings in core package ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` - - [#2392](https://github.com/open-telemetry/opentelemetry-js/pull/2392) refactor: move detectors to opentelemetry-js-contrib repo ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` - - [#2402](https://github.com/open-telemetry/opentelemetry-js/pull/2402) chore: sort entries in tsconfig ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep` - - [#2390](https://github.com/open-telemetry/opentelemetry-js/pull/2390) chore: fix Lint warnings in api-metrics and context-zone-peer-dep ([@alisabzevari](https://github.com/alisabzevari)) -- Other - - [#2397](https://github.com/open-telemetry/opentelemetry-js/pull/2397) chore: change codeowners to point to team ([@dyladan](https://github.com/dyladan)) - - [#2385](https://github.com/open-telemetry/opentelemetry-js/pull/2385) chore: move api into dependencies in integration tests ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-instrumentation-http`, `opentelemetry-sdk-trace-node` + * [#2416](https://github.com/open-telemetry/opentelemetry-js/pull/2416) chore: hoist dependencies to speed up ci ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-sdk-metrics-base` + * [#2406](https://github.com/open-telemetry/opentelemetry-js/pull/2406) chore: Fix lint warnings in propagator-jaeger, propagator-b3, resources, and sdk-metrics-base packages ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-core` + * [#2405](https://github.com/open-telemetry/opentelemetry-js/pull/2405) chore: Fix lint warnings in core package ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` + * [#2392](https://github.com/open-telemetry/opentelemetry-js/pull/2392) refactor: move detectors to opentelemetry-js-contrib repo ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-sdk-node`, `opentelemetry-sdk-trace-node`, `opentelemetry-sdk-trace-web`, `opentelemetry-shim-opentracing` + * [#2402](https://github.com/open-telemetry/opentelemetry-js/pull/2402) chore: sort entries in tsconfig ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep` + * [#2390](https://github.com/open-telemetry/opentelemetry-js/pull/2390) chore: fix Lint warnings in api-metrics and context-zone-peer-dep ([@alisabzevari](https://github.com/alisabzevari)) +* Other + * [#2397](https://github.com/open-telemetry/opentelemetry-js/pull/2397) chore: change codeowners to point to team ([@dyladan](https://github.com/dyladan)) + * [#2385](https://github.com/open-telemetry/opentelemetry-js/pull/2385) chore: move api into dependencies in integration tests ([@Flarna](https://github.com/Flarna)) ### Committers: 11 -- Aaron Abbott ([@aabmass](https://github.com/aabmass)) -- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -- Clark Jacobsohn ([@quickgiant](https://github.com/quickgiant)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Julien Fabre ([@jufab](https://github.com/jufab)) -- Severin Neumann ([@svrnm](https://github.com/svrnm)) -- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- legendecas ([@legendecas](https://github.com/legendecas)) -- t2t2 ([@t2t2](https://github.com/t2t2)) +* Aaron Abbott ([@aabmass](https://github.com/aabmass)) +* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +* Clark Jacobsohn ([@quickgiant](https://github.com/quickgiant)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Julien Fabre ([@jufab](https://github.com/jufab)) +* Severin Neumann ([@svrnm](https://github.com/svrnm)) +* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* legendecas ([@legendecas](https://github.com/legendecas)) +* t2t2 ([@t2t2](https://github.com/t2t2)) ## 0.24.0 ### :boom: Breaking Change -- `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-web` - - [#2345](https://github.com/open-telemetry/opentelemetry-js/pull/2345) feat: updated spec to v1.5.0 and renamed resource class ([@weyert](https://github.com/weyert)) +* `opentelemetry-core`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-web` + * [#2345](https://github.com/open-telemetry/opentelemetry-js/pull/2345) feat: updated spec to v1.5.0 and renamed resource class ([@weyert](https://github.com/weyert)) ### :rocket: (Enhancement) -- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#2337](https://github.com/open-telemetry/opentelemetry-js/pull/2337) Support gzip compression for node exporter collector ([@alisabzevari](https://github.com/alisabzevari)) -- `opentelemetry-instrumentation-http` - - [#2332](https://github.com/open-telemetry/opentelemetry-js/pull/2332) feat(@opentelemetry-instrumentation-http): support adding custom attributes before a span is started ([@echoontheway](https://github.com/echoontheway)) - - [#2349](https://github.com/open-telemetry/opentelemetry-js/pull/2349) fix(instrumentation-http): set outgoing request attributes on start span ([@blumamir](https://github.com/blumamir)) -- `opentelemetry-web` - - [#2343](https://github.com/open-telemetry/opentelemetry-js/pull/2343) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length_uncompressed ([@t2t2](https://github.com/t2t2)) -- `opentelemetry-instrumentation` - - [#2309](https://github.com/open-telemetry/opentelemetry-js/pull/2309) chore: add includePrerelease option to instrumentation config ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#2337](https://github.com/open-telemetry/opentelemetry-js/pull/2337) Support gzip compression for node exporter collector ([@alisabzevari](https://github.com/alisabzevari)) +* `opentelemetry-instrumentation-http` + * [#2332](https://github.com/open-telemetry/opentelemetry-js/pull/2332) feat(@opentelemetry-instrumentation-http): support adding custom attributes before a span is started ([@echoontheway](https://github.com/echoontheway)) + * [#2349](https://github.com/open-telemetry/opentelemetry-js/pull/2349) fix(instrumentation-http): set outgoing request attributes on start span ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-web` + * [#2343](https://github.com/open-telemetry/opentelemetry-js/pull/2343) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length_uncompressed ([@t2t2](https://github.com/t2t2)) +* `opentelemetry-instrumentation` + * [#2309](https://github.com/open-telemetry/opentelemetry-js/pull/2309) chore: add includePrerelease option to instrumentation config ([@dyladan](https://github.com/dyladan)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-collector` - - [#2357](https://github.com/open-telemetry/opentelemetry-js/pull/2357) fix: headers are appended to existing one (open-telemetry#2335) ([@niko-achilles](https://github.com/niko-achilles)) -- `opentelemetry-exporter-collector-grpc` - - [#2322](https://github.com/open-telemetry/opentelemetry-js/pull/2322) fix(@opentelemetry/exporter-collector-grpc) regression from #2130 when host specified without protocol ([@lizthegrey](https://github.com/lizthegrey)) -- `opentelemetry-exporter-collector-proto` - - [#2331](https://github.com/open-telemetry/opentelemetry-js/pull/2331) Change default HTTP exporter port to 55681 ([@NathanielRN](https://github.com/NathanielRN)) +* `opentelemetry-exporter-collector` + * [#2357](https://github.com/open-telemetry/opentelemetry-js/pull/2357) fix: headers are appended to existing one (open-telemetry#2335) ([@niko-achilles](https://github.com/niko-achilles)) +* `opentelemetry-exporter-collector-grpc` + * [#2322](https://github.com/open-telemetry/opentelemetry-js/pull/2322) fix(@opentelemetry/exporter-collector-grpc) regression from #2130 when host specified without protocol ([@lizthegrey](https://github.com/lizthegrey)) +* `opentelemetry-exporter-collector-proto` + * [#2331](https://github.com/open-telemetry/opentelemetry-js/pull/2331) Change default HTTP exporter port to 55681 ([@NathanielRN](https://github.com/NathanielRN)) ### :books: (Refine Doc) -- Other - - [#2344](https://github.com/open-telemetry/opentelemetry-js/pull/2344) Additional website docs updates ([@svrnm](https://github.com/svrnm)) - - [#2365](https://github.com/open-telemetry/opentelemetry-js/pull/2365) docs: add quickstart code example ([@vreynolds](https://github.com/vreynolds)) - - [#2358](https://github.com/open-telemetry/opentelemetry-js/pull/2358) examples opentelemetry-api version fix ([@CptSchnitz](https://github.com/CptSchnitz)) - - [#2308](https://github.com/open-telemetry/opentelemetry-js/pull/2308) chore: use typedoc to build sdk reference ([@dyladan](https://github.com/dyladan)) - - [#2324](https://github.com/open-telemetry/opentelemetry-js/pull/2324) fix: update and make website docs work ([@svrnm](https://github.com/svrnm)) - - [#2328](https://github.com/open-telemetry/opentelemetry-js/pull/2328) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) - - [#2326](https://github.com/open-telemetry/opentelemetry-js/pull/2326) chore: fix tracer-web example webpack config ([@jonchurch](https://github.com/jonchurch)) -- `opentelemetry-resource-detector-aws` - - [#2379](https://github.com/open-telemetry/opentelemetry-js/pull/2379) fix: fixup aws detector readme ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-propagator-b3` - - [#2342](https://github.com/open-telemetry/opentelemetry-js/pull/2342) docs: updates README.md for @opentelemetry/propagator-b3 ([@OmkarKirpan](https://github.com/OmkarKirpan)) -- `opentelemetry-exporter-collector-grpc` - - [#2266](https://github.com/open-telemetry/opentelemetry-js/pull/2266) fix(exporter-collector-grpc): incorrect URL format on docs after 0.20.0 update ([@brunoluiz](https://github.com/brunoluiz)) +* Other + * [#2344](https://github.com/open-telemetry/opentelemetry-js/pull/2344) Additional website docs updates ([@svrnm](https://github.com/svrnm)) + * [#2365](https://github.com/open-telemetry/opentelemetry-js/pull/2365) docs: add quickstart code example ([@vreynolds](https://github.com/vreynolds)) + * [#2358](https://github.com/open-telemetry/opentelemetry-js/pull/2358) examples opentelemetry-api version fix ([@CptSchnitz](https://github.com/CptSchnitz)) + * [#2308](https://github.com/open-telemetry/opentelemetry-js/pull/2308) chore: use typedoc to build sdk reference ([@dyladan](https://github.com/dyladan)) + * [#2324](https://github.com/open-telemetry/opentelemetry-js/pull/2324) fix: update and make website docs work ([@svrnm](https://github.com/svrnm)) + * [#2328](https://github.com/open-telemetry/opentelemetry-js/pull/2328) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) + * [#2326](https://github.com/open-telemetry/opentelemetry-js/pull/2326) chore: fix tracer-web example webpack config ([@jonchurch](https://github.com/jonchurch)) +* `opentelemetry-resource-detector-aws` + * [#2379](https://github.com/open-telemetry/opentelemetry-js/pull/2379) fix: fixup aws detector readme ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-propagator-b3` + * [#2342](https://github.com/open-telemetry/opentelemetry-js/pull/2342) docs: updates README.md for @opentelemetry/propagator-b3 ([@OmkarKirpan](https://github.com/OmkarKirpan)) +* `opentelemetry-exporter-collector-grpc` + * [#2266](https://github.com/open-telemetry/opentelemetry-js/pull/2266) fix(exporter-collector-grpc): incorrect URL format on docs after 0.20.0 update ([@brunoluiz](https://github.com/brunoluiz)) ### :house: (Internal) -- Other - - [#2366](https://github.com/open-telemetry/opentelemetry-js/pull/2366) chore: adding Rauno56 to js approvers ([@obecny](https://github.com/obecny)) - - [#2350](https://github.com/open-telemetry/opentelemetry-js/pull/2350) chore: ignore backcompat in renovate ([@dyladan](https://github.com/dyladan)) - - [#2352](https://github.com/open-telemetry/opentelemetry-js/pull/2352) replaced word plugin with instrumentation ([@niko-achilles](https://github.com/niko-achilles)) - - [#2311](https://github.com/open-telemetry/opentelemetry-js/pull/2311) chore: ignore @types/node in backcompat ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-jaeger`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2351](https://github.com/open-telemetry/opentelemetry-js/pull/2351) style: use single quotes everywhere and add a rule to eslint ([@blumamir](https://github.com/blumamir)) -- `template` - - [#2319](https://github.com/open-telemetry/opentelemetry-js/pull/2319) chore: update package template engines version ([@jonchurch](https://github.com/jonchurch)) +* Other + * [#2366](https://github.com/open-telemetry/opentelemetry-js/pull/2366) chore: adding Rauno56 to js approvers ([@obecny](https://github.com/obecny)) + * [#2350](https://github.com/open-telemetry/opentelemetry-js/pull/2350) chore: ignore backcompat in renovate ([@dyladan](https://github.com/dyladan)) + * [#2352](https://github.com/open-telemetry/opentelemetry-js/pull/2352) replaced word plugin with instrumentation ([@niko-achilles](https://github.com/niko-achilles)) + * [#2311](https://github.com/open-telemetry/opentelemetry-js/pull/2311) chore: ignore @types/node in backcompat ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-jaeger`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2351](https://github.com/open-telemetry/opentelemetry-js/pull/2351) style: use single quotes everywhere and add a rule to eslint ([@blumamir](https://github.com/blumamir)) +* `template` + * [#2319](https://github.com/open-telemetry/opentelemetry-js/pull/2319) chore: update package template engines version ([@jonchurch](https://github.com/jonchurch)) ### Committers: 18 -- (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) -- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -- Amir Blum ([@blumamir](https://github.com/blumamir)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Bruno Luiz Silva ([@brunoluiz](https://github.com/brunoluiz)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Jonathan Church ([@jonchurch](https://github.com/jonchurch)) -- Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) -- Niko Achilles Kokkinos ([@niko-achilles](https://github.com/niko-achilles)) -- Ofer Adelstein ([@CptSchnitz](https://github.com/CptSchnitz)) -- Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) -- Severin Neumann ([@svrnm](https://github.com/svrnm)) -- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) -- [@echoontheway](https://github.com/echoontheway) -- legendecas ([@legendecas](https://github.com/legendecas)) -- t2t2 ([@t2t2](https://github.com/t2t2)) +* (Eliseo) Nathaniel Ruiz Nowell ([@NathanielRN](https://github.com/NathanielRN)) +* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +* Amir Blum ([@blumamir](https://github.com/blumamir)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Bruno Luiz Silva ([@brunoluiz](https://github.com/brunoluiz)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Jonathan Church ([@jonchurch](https://github.com/jonchurch)) +* Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) +* Niko Achilles Kokkinos ([@niko-achilles](https://github.com/niko-achilles)) +* Ofer Adelstein ([@CptSchnitz](https://github.com/CptSchnitz)) +* Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) +* Severin Neumann ([@svrnm](https://github.com/svrnm)) +* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) +* [@echoontheway](https://github.com/echoontheway) +* legendecas ([@legendecas](https://github.com/legendecas)) +* t2t2 ([@t2t2](https://github.com/t2t2)) ## 0.23.0 ### :rocket: (Enhancement) -- `opentelemetry-shim-opentracing` - - [#2282](https://github.com/open-telemetry/opentelemetry-js/pull/2282) feat(shim-opentracing): update logging based on new spec ([@vreynolds](https://github.com/vreynolds)) -- `opentelemetry-exporter-collector-grpc` - - [#2304](https://github.com/open-telemetry/opentelemetry-js/pull/2304) feat: otlp-grpc exporter uses headers environment variables ([@vreynolds](https://github.com/vreynolds)) -- `opentelemetry-propagator-b3` - - [#2285](https://github.com/open-telemetry/opentelemetry-js/pull/2285) fix(propagator-b3): update extract to check for array ([@jordanworner](https://github.com/jordanworner)) -- `opentelemetry-core`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-web` - - [#2226](https://github.com/open-telemetry/opentelemetry-js/pull/2226) fix(xhr): make performance observer work with relative urls ([@mhennoch](https://github.com/mhennoch)) +* `opentelemetry-shim-opentracing` + * [#2282](https://github.com/open-telemetry/opentelemetry-js/pull/2282) feat(shim-opentracing): update logging based on new spec ([@vreynolds](https://github.com/vreynolds)) +* `opentelemetry-exporter-collector-grpc` + * [#2304](https://github.com/open-telemetry/opentelemetry-js/pull/2304) feat: otlp-grpc exporter uses headers environment variables ([@vreynolds](https://github.com/vreynolds)) +* `opentelemetry-propagator-b3` + * [#2285](https://github.com/open-telemetry/opentelemetry-js/pull/2285) fix(propagator-b3): update extract to check for array ([@jordanworner](https://github.com/jordanworner)) +* `opentelemetry-core`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-web` + * [#2226](https://github.com/open-telemetry/opentelemetry-js/pull/2226) fix(xhr): make performance observer work with relative urls ([@mhennoch](https://github.com/mhennoch)) ### :books: (Refine Doc) -- Other - - [#2306](https://github.com/open-telemetry/opentelemetry-js/pull/2306) chore: update the website getting started docs ([@dyladan](https://github.com/dyladan)) - - [#2283](https://github.com/open-telemetry/opentelemetry-js/pull/2283) Module opentelemetry/instrumentation-grpc required ([@pramodsreek](https://github.com/pramodsreek)) -- `opentelemetry-sdk-node` - - [#2300](https://github.com/open-telemetry/opentelemetry-js/pull/2300) chore(README): update link to BatchSpanProcessor in sdk node ([@pragmaticivan](https://github.com/pragmaticivan)) -- `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-node` - - [#2290](https://github.com/open-telemetry/opentelemetry-js/pull/2290) fix: service.name resource attribute ([@OmkarKirpan](https://github.com/OmkarKirpan)) -- `opentelemetry-resources` - - [#2289](https://github.com/open-telemetry/opentelemetry-js/pull/2289) docs(opentelemetry-resources): fix wrong sample code in readme ([@alisabzevari](https://github.com/alisabzevari)) +* Other + * [#2306](https://github.com/open-telemetry/opentelemetry-js/pull/2306) chore: update the website getting started docs ([@dyladan](https://github.com/dyladan)) + * [#2283](https://github.com/open-telemetry/opentelemetry-js/pull/2283) Module opentelemetry/instrumentation-grpc required ([@pramodsreek](https://github.com/pramodsreek)) +* `opentelemetry-sdk-node` + * [#2300](https://github.com/open-telemetry/opentelemetry-js/pull/2300) chore(README): update link to BatchSpanProcessor in sdk node ([@pragmaticivan](https://github.com/pragmaticivan)) +* `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-sdk-node` + * [#2290](https://github.com/open-telemetry/opentelemetry-js/pull/2290) fix: service.name resource attribute ([@OmkarKirpan](https://github.com/OmkarKirpan)) +* `opentelemetry-resources` + * [#2289](https://github.com/open-telemetry/opentelemetry-js/pull/2289) docs(opentelemetry-resources): fix wrong sample code in readme ([@alisabzevari](https://github.com/alisabzevari)) ### :house: (Internal) -- `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` - - [#2247](https://github.com/open-telemetry/opentelemetry-js/pull/2247) feat: unify the signatures of bind and with ([@Rauno56](https://github.com/Rauno56)) -- Other - - [#2296](https://github.com/open-telemetry/opentelemetry-js/pull/2296) chore: do not upgrade backwards compatibility ([@dyladan](https://github.com/dyladan)) - - [#2302](https://github.com/open-telemetry/opentelemetry-js/pull/2302) chore: use setup-node ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` + * [#2247](https://github.com/open-telemetry/opentelemetry-js/pull/2247) feat: unify the signatures of bind and with ([@Rauno56](https://github.com/Rauno56)) +* Other + * [#2296](https://github.com/open-telemetry/opentelemetry-js/pull/2296) chore: do not upgrade backwards compatibility ([@dyladan](https://github.com/dyladan)) + * [#2302](https://github.com/open-telemetry/opentelemetry-js/pull/2302) chore: use setup-node ([@dyladan](https://github.com/dyladan)) ### Committers: 9 -- Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) -- Jordan Worner ([@jordanworner](https://github.com/jordanworner)) -- MartenH ([@mhennoch](https://github.com/mhennoch)) -- Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) -- Pramod ([@pramodsreek](https://github.com/pramodsreek)) -- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) -- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +* Ali Sabzevari ([@alisabzevari](https://github.com/alisabzevari)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Ivan Santos ([@pragmaticivan](https://github.com/pragmaticivan)) +* Jordan Worner ([@jordanworner](https://github.com/jordanworner)) +* MartenH ([@mhennoch](https://github.com/mhennoch)) +* Omkar Kirpan ([@OmkarKirpan](https://github.com/OmkarKirpan)) +* Pramod ([@pramodsreek](https://github.com/pramodsreek)) +* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) ## 0.22.0 ### :rocket: (Enhancement) -- `opentelemetry-tracing` - - [#2243](https://github.com/open-telemetry/opentelemetry-js/pull/2243) feat(tracing): auto flush BatchSpanProcessor on browser ([@kkruk-sumo](https://github.com/kkruk-sumo)) -- `opentelemetry-resource-detector-aws`, `opentelemetry-semantic-conventions` - - [#2268](https://github.com/open-telemetry/opentelemetry-js/pull/2268) feat(semantic-conventions): upgrade semantic conventions to version 1… ([@weyert](https://github.com/weyert)) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2276](https://github.com/open-telemetry/opentelemetry-js/pull/2276) chore(deps): update dependency @opentelemetry/api to v1 ([@renovate-bot](https://github.com/renovate-bot)) +* `opentelemetry-tracing` + * [#2243](https://github.com/open-telemetry/opentelemetry-js/pull/2243) feat(tracing): auto flush BatchSpanProcessor on browser ([@kkruk-sumo](https://github.com/kkruk-sumo)) +* `opentelemetry-resource-detector-aws`, `opentelemetry-semantic-conventions` + * [#2268](https://github.com/open-telemetry/opentelemetry-js/pull/2268) feat(semantic-conventions): upgrade semantic conventions to version 1… ([@weyert](https://github.com/weyert)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2276](https://github.com/open-telemetry/opentelemetry-js/pull/2276) chore(deps): update dependency @opentelemetry/api to v1 ([@renovate-bot](https://github.com/renovate-bot)) ### :books: (Refine Doc) -- [#2287](https://github.com/open-telemetry/opentelemetry-js/pull/2287) chore(doc): update compatibility matrix ([@vmarchaud](https://github.com/vmarchaud)) +* [#2287](https://github.com/open-telemetry/opentelemetry-js/pull/2287) chore(doc): update compatibility matrix ([@vmarchaud](https://github.com/vmarchaud)) ### Committers: 3 -- Krystian Kruk ([@kkruk-sumo](https://github.com/kkruk-sumo)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) +* Krystian Kruk ([@kkruk-sumo](https://github.com/kkruk-sumo)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) ## 0.21.0 ### :rocket: (Enhancement) -- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation` - - [#2261](https://github.com/open-telemetry/opentelemetry-js/pull/2261) Adding ComponentLogger into instrumentations ([@obecny](https://github.com/obecny)) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2255](https://github.com/open-telemetry/opentelemetry-js/pull/2255) chore: update API to 0.21.0 ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation` + * [#2261](https://github.com/open-telemetry/opentelemetry-js/pull/2261) Adding ComponentLogger into instrumentations ([@obecny](https://github.com/obecny)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2255](https://github.com/open-telemetry/opentelemetry-js/pull/2255) chore: update API to 0.21.0 ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -- [#2263](https://github.com/open-telemetry/opentelemetry-js/pull/2263) docs(README): update link to @opentelemetry/api package ([@nvenegas](https://github.com/nvenegas)) -- [#2254](https://github.com/open-telemetry/opentelemetry-js/pull/2254) chore: update compatibility matrix ([@dyladan](https://github.com/dyladan)) -- [#2253](https://github.com/open-telemetry/opentelemetry-js/pull/2253) chore: add missing changelog entry ([@dyladan](https://github.com/dyladan)) +* [#2263](https://github.com/open-telemetry/opentelemetry-js/pull/2263) docs(README): update link to @opentelemetry/api package ([@nvenegas](https://github.com/nvenegas)) +* [#2254](https://github.com/open-telemetry/opentelemetry-js/pull/2254) chore: update compatibility matrix ([@dyladan](https://github.com/dyladan)) +* [#2253](https://github.com/open-telemetry/opentelemetry-js/pull/2253) chore: add missing changelog entry ([@dyladan](https://github.com/dyladan)) ### :house: (Internal) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` - - [#2244](https://github.com/open-telemetry/opentelemetry-js/pull/2244) chore: add node:16 to the test matrix ([@Rauno56](https://github.com/Rauno56)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` + * [#2244](https://github.com/open-telemetry/opentelemetry-js/pull/2244) chore: add node:16 to the test matrix ([@Rauno56](https://github.com/Rauno56)) ### Committers: 4 -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Nicolas Venegas ([@nvenegas](https://github.com/nvenegas)) -- Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Nicolas Venegas ([@nvenegas](https://github.com/nvenegas)) +* Rauno Viskus ([@Rauno56](https://github.com/Rauno56)) ## 0.20.0 ### :boom: Breaking Change -- `opentelemetry-sdk-node`, `opentelemetry-tracing` - - [#2190](https://github.com/open-telemetry/opentelemetry-js/pull/2190) feat: apply spec changes for `TraceParams` ([@weyert](https://github.com/weyert)) -- `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-shim-opentracing` - - [#2148](https://github.com/open-telemetry/opentelemetry-js/pull/2148) chore: renaming jaeger http trace propagator to jaeger propagator ([@obecny](https://github.com/obecny)) -- `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - - [#2149](https://github.com/open-telemetry/opentelemetry-js/pull/2149) chore: adding sufix propagator to http baggage and http trace context ([@obecny](https://github.com/obecny)) +* `opentelemetry-sdk-node`, `opentelemetry-tracing` + * [#2190](https://github.com/open-telemetry/opentelemetry-js/pull/2190) feat: apply spec changes for `TraceParams` ([@weyert](https://github.com/weyert)) +* `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-shim-opentracing` + * [#2148](https://github.com/open-telemetry/opentelemetry-js/pull/2148) chore: renaming jaeger http trace propagator to jaeger propagator ([@obecny](https://github.com/obecny)) +* `opentelemetry-core`, `opentelemetry-instrumentation-grpc`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + * [#2149](https://github.com/open-telemetry/opentelemetry-js/pull/2149) chore: adding sufix propagator to http baggage and http trace context ([@obecny](https://github.com/obecny)) ### :rocket: (Enhancement) -- `opentelemetry-shim-opentracing` - - [#2194](https://github.com/open-telemetry/opentelemetry-js/pull/2194) feat(shim-opentracing): update setTag based on new spec ([@vreynolds](https://github.com/vreynolds)) -- `opentelemetry-tracing` - - [#2221](https://github.com/open-telemetry/opentelemetry-js/pull/2221) feat: add startActiveSpan method to Tracer ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-tracing` - - [#2227](https://github.com/open-telemetry/opentelemetry-js/pull/2227) chore: set default service name ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2225](https://github.com/open-telemetry/opentelemetry-js/pull/2225) chore: upgrading to api ver. 0.20.0 ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation` - - [#2224](https://github.com/open-telemetry/opentelemetry-js/pull/2224) feat(opentelemetry-instrumentation): getConfig and setConfig ([@mottibec](https://github.com/mottibec)) -- `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing` - - [#2202](https://github.com/open-telemetry/opentelemetry-js/pull/2202) Move suppress tracing context key to SDK ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#2100](https://github.com/open-telemetry/opentelemetry-js/pull/2100) feat(tracing): allow to configure exporter by environment #1676 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#2117](https://github.com/open-telemetry/opentelemetry-js/pull/2117) feat(exporter-collector): support config from env #2099 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-tracing` - - [#2183](https://github.com/open-telemetry/opentelemetry-js/pull/2183) chore: removing usage of timed event from api ([@obecny](https://github.com/obecny)) -- Other - - [#2195](https://github.com/open-telemetry/opentelemetry-js/pull/2195) fix: remove redundant try-catch from http/https server examples ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-exporter-collector-grpc` - - [#2130](https://github.com/open-telemetry/opentelemetry-js/pull/2130) chore: url validation & README to prevent gRPC footguns. ([@lizthegrey](https://github.com/lizthegrey)) -- `opentelemetry-semantic-conventions` - - [#2167](https://github.com/open-telemetry/opentelemetry-js/pull/2167) semantic-conventions: include built esm files in package ([@t2t2](https://github.com/t2t2)) -- `opentelemetry-instrumentation-xml-http-request` - - [#2134](https://github.com/open-telemetry/opentelemetry-js/pull/2134) feat(instrumentation-xhr): add applyCustomAttributesOnSpan hook ([@mhennoch](https://github.com/mhennoch)) -- `opentelemetry-exporter-prometheus` - - [#2122](https://github.com/open-telemetry/opentelemetry-js/pull/2122) feat: add diag warning when metric name is invalid ([@weyert](https://github.com/weyert)) -- `opentelemetry-api-metrics`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` - - [#2118](https://github.com/open-telemetry/opentelemetry-js/pull/2118) chore(deps): support cumulative, delta, and pass-through exporters ([@sergeylanzman](https://github.com/sergeylanzman)) +* `opentelemetry-shim-opentracing` + * [#2194](https://github.com/open-telemetry/opentelemetry-js/pull/2194) feat(shim-opentracing): update setTag based on new spec ([@vreynolds](https://github.com/vreynolds)) +* `opentelemetry-tracing` + * [#2221](https://github.com/open-telemetry/opentelemetry-js/pull/2221) feat: add startActiveSpan method to Tracer ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-tracing` + * [#2227](https://github.com/open-telemetry/opentelemetry-js/pull/2227) chore: set default service name ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2225](https://github.com/open-telemetry/opentelemetry-js/pull/2225) chore: upgrading to api ver. 0.20.0 ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation` + * [#2224](https://github.com/open-telemetry/opentelemetry-js/pull/2224) feat(opentelemetry-instrumentation): getConfig and setConfig ([@mottibec](https://github.com/mottibec)) +* `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing` + * [#2202](https://github.com/open-telemetry/opentelemetry-js/pull/2202) Move suppress tracing context key to SDK ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#2100](https://github.com/open-telemetry/opentelemetry-js/pull/2100) feat(tracing): allow to configure exporter by environment #1676 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#2117](https://github.com/open-telemetry/opentelemetry-js/pull/2117) feat(exporter-collector): support config from env #2099 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-tracing` + * [#2183](https://github.com/open-telemetry/opentelemetry-js/pull/2183) chore: removing usage of timed event from api ([@obecny](https://github.com/obecny)) +* Other + * [#2195](https://github.com/open-telemetry/opentelemetry-js/pull/2195) fix: remove redundant try-catch from http/https server examples ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-exporter-collector-grpc` + * [#2130](https://github.com/open-telemetry/opentelemetry-js/pull/2130) chore: url validation & README to prevent gRPC footguns. ([@lizthegrey](https://github.com/lizthegrey)) +* `opentelemetry-semantic-conventions` + * [#2167](https://github.com/open-telemetry/opentelemetry-js/pull/2167) semantic-conventions: include built esm files in package ([@t2t2](https://github.com/t2t2)) +* `opentelemetry-instrumentation-xml-http-request` + * [#2134](https://github.com/open-telemetry/opentelemetry-js/pull/2134) feat(instrumentation-xhr): add applyCustomAttributesOnSpan hook ([@mhennoch](https://github.com/mhennoch)) +* `opentelemetry-exporter-prometheus` + * [#2122](https://github.com/open-telemetry/opentelemetry-js/pull/2122) feat: add diag warning when metric name is invalid ([@weyert](https://github.com/weyert)) +* `opentelemetry-api-metrics`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` + * [#2118](https://github.com/open-telemetry/opentelemetry-js/pull/2118) chore(deps): support cumulative, delta, and pass-through exporters ([@sergeylanzman](https://github.com/sergeylanzman)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-collector-grpc` - - [#2214](https://github.com/open-telemetry/opentelemetry-js/pull/2214) chore: fixes after last changes to url ([@obecny](https://github.com/obecny)) -- `opentelemetry-tracing` - - [#2185](https://github.com/open-telemetry/opentelemetry-js/pull/2185) fix: use invalid parent for sampler when options.root ([@dyladan](https://github.com/dyladan)) - - [#2171](https://github.com/open-telemetry/opentelemetry-js/pull/2171) fix: move initialization of const above first use #2170 ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-instrumentation-grpc` - - [#2179](https://github.com/open-telemetry/opentelemetry-js/pull/2179) chore(grpc-instrumentation): fix grpc example #2160 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-core` - - [#2165](https://github.com/open-telemetry/opentelemetry-js/pull/2165) [sampler] treat invalid SpanContext as no SpanContext ([@thisthat](https://github.com/thisthat)) +* `opentelemetry-exporter-collector-grpc` + * [#2214](https://github.com/open-telemetry/opentelemetry-js/pull/2214) chore: fixes after last changes to url ([@obecny](https://github.com/obecny)) +* `opentelemetry-tracing` + * [#2185](https://github.com/open-telemetry/opentelemetry-js/pull/2185) fix: use invalid parent for sampler when options.root ([@dyladan](https://github.com/dyladan)) + * [#2171](https://github.com/open-telemetry/opentelemetry-js/pull/2171) fix: move initialization of const above first use #2170 ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation-grpc` + * [#2179](https://github.com/open-telemetry/opentelemetry-js/pull/2179) chore(grpc-instrumentation): fix grpc example #2160 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-core` + * [#2165](https://github.com/open-telemetry/opentelemetry-js/pull/2165) [sampler] treat invalid SpanContext as no SpanContext ([@thisthat](https://github.com/thisthat)) ### :books: (Refine Doc) -- `opentelemetry-node` - - [#2180](https://github.com/open-telemetry/opentelemetry-js/pull/2180) fix docs typo ([@sbrichardson](https://github.com/sbrichardson)) -- Other - - [#2168](https://github.com/open-telemetry/opentelemetry-js/pull/2168) chore: update feature status in readme ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` - - [#2127](https://github.com/open-telemetry/opentelemetry-js/pull/2127) chore: prefer use of global TracerProvider/MeterProvider ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-node` + * [#2180](https://github.com/open-telemetry/opentelemetry-js/pull/2180) fix docs typo ([@sbrichardson](https://github.com/sbrichardson)) +* Other + * [#2168](https://github.com/open-telemetry/opentelemetry-js/pull/2168) chore: update feature status in readme ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` + * [#2127](https://github.com/open-telemetry/opentelemetry-js/pull/2127) chore: prefer use of global TracerProvider/MeterProvider ([@Flarna](https://github.com/Flarna)) ### :house: (Internal) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` - - [#2241](https://github.com/open-telemetry/opentelemetry-js/pull/2241) chore: update typescript to 4.3 and enable noImplicitOverride ([@Flarna](https://github.com/Flarna)) - - [#2204](https://github.com/open-telemetry/opentelemetry-js/pull/2204) Remove GTS and prettier ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation`, `opentelemetry-tracing` - - [#2229](https://github.com/open-telemetry/opentelemetry-js/pull/2229) chore: remove references to NOOP singletons ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` - - [#2230](https://github.com/open-telemetry/opentelemetry-js/pull/2230) chore: remove references to Noop classes from API ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2234](https://github.com/open-telemetry/opentelemetry-js/pull/2234) chore: downgrade karma-webpack ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-sdk-node` - - [#2219](https://github.com/open-telemetry/opentelemetry-js/pull/2219) fix(opentelemetry-sdk-node): move nock to dev dependencies ([@nflaig](https://github.com/nflaig)) -- `opentelemetry-core` - - [#2155](https://github.com/open-telemetry/opentelemetry-js/pull/2155) chore: move tracecontext propagator into trace ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web`, `template` - - [#2112](https://github.com/open-telemetry/opentelemetry-js/pull/2112) feat: add ESM builds for packages used in browser ([@t2t2](https://github.com/t2t2)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web`, `template` + * [#2241](https://github.com/open-telemetry/opentelemetry-js/pull/2241) chore: update typescript to 4.3 and enable noImplicitOverride ([@Flarna](https://github.com/Flarna)) + * [#2204](https://github.com/open-telemetry/opentelemetry-js/pull/2204) Remove GTS and prettier ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation`, `opentelemetry-tracing` + * [#2229](https://github.com/open-telemetry/opentelemetry-js/pull/2229) chore: remove references to NOOP singletons ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` + * [#2230](https://github.com/open-telemetry/opentelemetry-js/pull/2230) chore: remove references to Noop classes from API ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-propagator-jaeger`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2234](https://github.com/open-telemetry/opentelemetry-js/pull/2234) chore: downgrade karma-webpack ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-sdk-node` + * [#2219](https://github.com/open-telemetry/opentelemetry-js/pull/2219) fix(opentelemetry-sdk-node): move nock to dev dependencies ([@nflaig](https://github.com/nflaig)) +* `opentelemetry-core` + * [#2155](https://github.com/open-telemetry/opentelemetry-js/pull/2155) chore: move tracecontext propagator into trace ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web`, `template` + * [#2112](https://github.com/open-telemetry/opentelemetry-js/pull/2112) feat: add ESM builds for packages used in browser ([@t2t2](https://github.com/t2t2)) ### Committers: 18 -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Giovanni Liva ([@thisthat](https://github.com/thisthat)) -- Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) -- MartenH ([@mhennoch](https://github.com/mhennoch)) -- Motti Bechhofer ([@mottibec](https://github.com/mottibec)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Nico Flaig ([@nflaig](https://github.com/nflaig)) -- Sergey Lanzman ([@sergeylanzman](https://github.com/sergeylanzman)) -- Severin Neumann ([@svrnm](https://github.com/svrnm)) -- Stephen Richardson ([@sbrichardson](https://github.com/sbrichardson)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) -- andrew quartey ([@drexler](https://github.com/drexler)) -- legendecas ([@legendecas](https://github.com/legendecas)) -- t2t2 ([@t2t2](https://github.com/t2t2)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Giovanni Liva ([@thisthat](https://github.com/thisthat)) +* Liz Fong-Jones ([@lizthegrey](https://github.com/lizthegrey)) +* MartenH ([@mhennoch](https://github.com/mhennoch)) +* Motti Bechhofer ([@mottibec](https://github.com/mottibec)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Nico Flaig ([@nflaig](https://github.com/nflaig)) +* Sergey Lanzman ([@sergeylanzman](https://github.com/sergeylanzman)) +* Severin Neumann ([@svrnm](https://github.com/svrnm)) +* Stephen Richardson ([@sbrichardson](https://github.com/sbrichardson)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) +* andrew quartey ([@drexler](https://github.com/drexler)) +* legendecas ([@legendecas](https://github.com/legendecas)) +* t2t2 ([@t2t2](https://github.com/t2t2)) ## 0.19.0 ### :boom: Breaking Change -- `opentelemetry-core`, `opentelemetry-tracing` - - [#2111](https://github.com/open-telemetry/opentelemetry-js/pull/2111) feat: handle OTEL_TRACES_SAMPLER env var ([@jtmalinowski](https://github.com/jtmalinowski)) - - [#2098](https://github.com/open-telemetry/opentelemetry-js/pull/2098) chore(env): update default value for span's attributes/links/events count #1675 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2083](https://github.com/open-telemetry/opentelemetry-js/pull/2083) feat: add semconv generator for `semantic-conventions`-package ([@weyert](https://github.com/weyert)) -- `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-web` - - [#2081](https://github.com/open-telemetry/opentelemetry-js/pull/2081) remove plugins ([@obecny](https://github.com/obecny)) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2074](https://github.com/open-telemetry/opentelemetry-js/pull/2074) chore: peer depend on API ([@dyladan](https://github.com/dyladan)) - - [#2063](https://github.com/open-telemetry/opentelemetry-js/pull/2063) chore: update API dependency to 1.0.0-rc.0 ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core`, `opentelemetry-propagator-b3` - - [#2054](https://github.com/open-telemetry/opentelemetry-js/pull/2054) refactor: simplify b3 options ([@mwear](https://github.com/mwear)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#2111](https://github.com/open-telemetry/opentelemetry-js/pull/2111) feat: handle OTEL_TRACES_SAMPLER env var ([@jtmalinowski](https://github.com/jtmalinowski)) + * [#2098](https://github.com/open-telemetry/opentelemetry-js/pull/2098) chore(env): update default value for span's attributes/links/events count #1675 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2083](https://github.com/open-telemetry/opentelemetry-js/pull/2083) feat: add semconv generator for `semantic-conventions`-package ([@weyert](https://github.com/weyert)) +* `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-web` + * [#2081](https://github.com/open-telemetry/opentelemetry-js/pull/2081) remove plugins ([@obecny](https://github.com/obecny)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2074](https://github.com/open-telemetry/opentelemetry-js/pull/2074) chore: peer depend on API ([@dyladan](https://github.com/dyladan)) + * [#2063](https://github.com/open-telemetry/opentelemetry-js/pull/2063) chore: update API dependency to 1.0.0-rc.0 ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core`, `opentelemetry-propagator-b3` + * [#2054](https://github.com/open-telemetry/opentelemetry-js/pull/2054) refactor: simplify b3 options ([@mwear](https://github.com/mwear)) ### :rocket: (Enhancement) -- `opentelemetry-instrumentation` - - [#2135](https://github.com/open-telemetry/opentelemetry-js/pull/2135) fix: add isEnabled to InstrumentationBase ([@seemk](https://github.com/seemk)) -- `opentelemetry-semantic-conventions` - - [#2115](https://github.com/open-telemetry/opentelemetry-js/pull/2115) feat: upgrade semantic conventions to v1.2.0 of spec ([@weyert](https://github.com/weyert)) -- `opentelemetry-core`, `opentelemetry-exporter-zipkin` - - [#2097](https://github.com/open-telemetry/opentelemetry-js/pull/2097) feat(zipkin): allow to configure url via environment #1675 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-exporter-zipkin` - - [#2050](https://github.com/open-telemetry/opentelemetry-js/pull/2050) chore: adding interceptor for getting headers before each request ([@obecny](https://github.com/obecny)) -- `opentelemetry-exporter-collector-grpc` - - [#2092](https://github.com/open-telemetry/opentelemetry-js/pull/2092) Migrate exporter-collector-grpc to grpc-js ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation-http` - - [#2043](https://github.com/open-telemetry/opentelemetry-js/pull/2043) chore: avoid unneeded context.with in http instrumentation ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request` - - [#2061](https://github.com/open-telemetry/opentelemetry-js/pull/2061) chore: adding info to debug whenever headers are being skipped due to cors policy ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation` + * [#2135](https://github.com/open-telemetry/opentelemetry-js/pull/2135) fix: add isEnabled to InstrumentationBase ([@seemk](https://github.com/seemk)) +* `opentelemetry-semantic-conventions` + * [#2115](https://github.com/open-telemetry/opentelemetry-js/pull/2115) feat: upgrade semantic conventions to v1.2.0 of spec ([@weyert](https://github.com/weyert)) +* `opentelemetry-core`, `opentelemetry-exporter-zipkin` + * [#2097](https://github.com/open-telemetry/opentelemetry-js/pull/2097) feat(zipkin): allow to configure url via environment #1675 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-exporter-zipkin` + * [#2050](https://github.com/open-telemetry/opentelemetry-js/pull/2050) chore: adding interceptor for getting headers before each request ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector-grpc` + * [#2092](https://github.com/open-telemetry/opentelemetry-js/pull/2092) Migrate exporter-collector-grpc to grpc-js ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation-http` + * [#2043](https://github.com/open-telemetry/opentelemetry-js/pull/2043) chore: avoid unneeded context.with in http instrumentation ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request` + * [#2061](https://github.com/open-telemetry/opentelemetry-js/pull/2061) chore: adding info to debug whenever headers are being skipped due to cors policy ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-prometheus` - - [#2121](https://github.com/open-telemetry/opentelemetry-js/pull/2121) fix: ensure the label names are sanitised ([@weyert](https://github.com/weyert)) -- `opentelemetry-instrumentation` - - [#2120](https://github.com/open-telemetry/opentelemetry-js/pull/2120) fix(instrumentation): support multiple module definitions with different versions ([@seemk](https://github.com/seemk)) -- `opentelemetry-instrumentation-http`, `opentelemetry-tracing` - - [#2105](https://github.com/open-telemetry/opentelemetry-js/pull/2105) fix: don't use spanId from invalid parent ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-context-async-hooks` - - [#2088](https://github.com/open-telemetry/opentelemetry-js/pull/2088) fix: correct removeAllListeners in case no event is passed ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-resource-detector-aws` - - [#2076](https://github.com/open-telemetry/opentelemetry-js/pull/2076) fix: await http response in AWS EKS detector ([@vreynolds](https://github.com/vreynolds)) -- `opentelemetry-core`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger` - - [#2082](https://github.com/open-telemetry/opentelemetry-js/pull/2082) chore: do not inject span context when instrumentation is suppressed ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core` - - [#2080](https://github.com/open-telemetry/opentelemetry-js/pull/2080) fix: do not inject invalid span context ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-tracing` - - [#2086](https://github.com/open-telemetry/opentelemetry-js/pull/2086) fix: exception.type should always be a string ([@YanivD](https://github.com/YanivD)) -- `opentelemetry-propagator-jaeger` - - [#1986](https://github.com/open-telemetry/opentelemetry-js/pull/1986) fix(propagator-jaeger): zero pad extracted trace id to 32 characters ([@sid-maddy](https://github.com/sid-maddy)) +* `opentelemetry-exporter-prometheus` + * [#2121](https://github.com/open-telemetry/opentelemetry-js/pull/2121) fix: ensure the label names are sanitised ([@weyert](https://github.com/weyert)) +* `opentelemetry-instrumentation` + * [#2120](https://github.com/open-telemetry/opentelemetry-js/pull/2120) fix(instrumentation): support multiple module definitions with different versions ([@seemk](https://github.com/seemk)) +* `opentelemetry-instrumentation-http`, `opentelemetry-tracing` + * [#2105](https://github.com/open-telemetry/opentelemetry-js/pull/2105) fix: don't use spanId from invalid parent ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-context-async-hooks` + * [#2088](https://github.com/open-telemetry/opentelemetry-js/pull/2088) fix: correct removeAllListeners in case no event is passed ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-resource-detector-aws` + * [#2076](https://github.com/open-telemetry/opentelemetry-js/pull/2076) fix: await http response in AWS EKS detector ([@vreynolds](https://github.com/vreynolds)) +* `opentelemetry-core`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger` + * [#2082](https://github.com/open-telemetry/opentelemetry-js/pull/2082) chore: do not inject span context when instrumentation is suppressed ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core` + * [#2080](https://github.com/open-telemetry/opentelemetry-js/pull/2080) fix: do not inject invalid span context ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-tracing` + * [#2086](https://github.com/open-telemetry/opentelemetry-js/pull/2086) fix: exception.type should always be a string ([@YanivD](https://github.com/YanivD)) +* `opentelemetry-propagator-jaeger` + * [#1986](https://github.com/open-telemetry/opentelemetry-js/pull/1986) fix(propagator-jaeger): zero pad extracted trace id to 32 characters ([@sid-maddy](https://github.com/sid-maddy)) ### :books: (Refine Doc) -- [#2094](https://github.com/open-telemetry/opentelemetry-js/pull/2094) chore: fixing readme info ([@obecny](https://github.com/obecny)) -- [#2051](https://github.com/open-telemetry/opentelemetry-js/pull/2051) Add opentelemetry.io docs ([@austinlparker](https://github.com/austinlparker)) +* [#2094](https://github.com/open-telemetry/opentelemetry-js/pull/2094) chore: fixing readme info ([@obecny](https://github.com/obecny)) +* [#2051](https://github.com/open-telemetry/opentelemetry-js/pull/2051) Add opentelemetry.io docs ([@austinlparker](https://github.com/austinlparker)) ### :house: (Internal) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-metrics`, `opentelemetry-tracing` - - [#1780](https://github.com/open-telemetry/opentelemetry-js/pull/1780) chore: no-floating-promises ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2073](https://github.com/open-telemetry/opentelemetry-js/pull/2073) chore: pin own deps ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-metrics`, `opentelemetry-tracing` + * [#1780](https://github.com/open-telemetry/opentelemetry-js/pull/1780) chore: no-floating-promises ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2073](https://github.com/open-telemetry/opentelemetry-js/pull/2073) chore: pin own deps ([@dyladan](https://github.com/dyladan)) ### Committers: 15 -- Anuraag Agrawal ([@anuraaga](https://github.com/anuraaga)) -- Austin Parker ([@austinlparker](https://github.com/austinlparker)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Niek Kruse ([@niekert](https://github.com/niekert)) -- Siddhesh Mhadnak ([@sid-maddy](https://github.com/sid-maddy)) -- Siim Kallas ([@seemk](https://github.com/seemk)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) -- Yaniv Davidi ([@YanivD](https://github.com/YanivD)) +* Anuraag Agrawal ([@anuraaga](https://github.com/anuraaga)) +* Austin Parker ([@austinlparker](https://github.com/austinlparker)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Niek Kruse ([@niekert](https://github.com/niekert)) +* Siddhesh Mhadnak ([@sid-maddy](https://github.com/sid-maddy)) +* Siim Kallas ([@seemk](https://github.com/seemk)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Vera Reynolds ([@vreynolds](https://github.com/vreynolds)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) +* Yaniv Davidi ([@YanivD](https://github.com/YanivD)) ## 0.18.2 ### :bug: (Bug Fix) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2056](https://github.com/open-telemetry/opentelemetry-js/pull/2056) chore: downgrade API for patch release ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-propagator-jaeger`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2056](https://github.com/open-telemetry/opentelemetry-js/pull/2056) chore: downgrade API for patch release ([@dyladan](https://github.com/dyladan)) ### Committers: 1 -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) ## 0.18.1 ### :rocket: (Enhancement) -- `opentelemetry-instrumentation-fetch`, `opentelemetry-web` - - [#2010](https://github.com/open-telemetry/opentelemetry-js/pull/2010) Server side rendering support ([@ryhinchey](https://github.com/ryhinchey)) -- `opentelemetry-semantic-conventions` - - [#2026](https://github.com/open-telemetry/opentelemetry-js/pull/2026) feat: add NET_TRANSPORT IPC attributes ([@seemk](https://github.com/seemk)) -- `opentelemetry-instrumentation` - - [#1999](https://github.com/open-telemetry/opentelemetry-js/pull/1999) chore: fixing path of instrumentation file for different systems ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation-grpc` - - [#2005](https://github.com/open-telemetry/opentelemetry-js/pull/2005) chore: exporting grpc instrumentation config ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation-fetch`, `opentelemetry-web` + * [#2010](https://github.com/open-telemetry/opentelemetry-js/pull/2010) Server side rendering support ([@ryhinchey](https://github.com/ryhinchey)) +* `opentelemetry-semantic-conventions` + * [#2026](https://github.com/open-telemetry/opentelemetry-js/pull/2026) feat: add NET_TRANSPORT IPC attributes ([@seemk](https://github.com/seemk)) +* `opentelemetry-instrumentation` + * [#1999](https://github.com/open-telemetry/opentelemetry-js/pull/1999) chore: fixing path of instrumentation file for different systems ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation-grpc` + * [#2005](https://github.com/open-telemetry/opentelemetry-js/pull/2005) chore: exporting grpc instrumentation config ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-sdk-node` - - [#2006](https://github.com/open-telemetry/opentelemetry-js/pull/2006) chore: replacing console with diag ([@obecny](https://github.com/obecny)) +* `opentelemetry-sdk-node` + * [#2006](https://github.com/open-telemetry/opentelemetry-js/pull/2006) chore: replacing console with diag ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -- `opentelemetry-resource-detector-gcp` - - [#2002](https://github.com/open-telemetry/opentelemetry-js/pull/2002) doc: add usage to README.md of gcp detector ([@weyert](https://github.com/weyert)) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2040](https://github.com/open-telemetry/opentelemetry-js/pull/2040) chore: fixing broken links, updating to correct base url ([@obecny](https://github.com/obecny)) -- `opentelemetry-resources` - - [#2031](https://github.com/open-telemetry/opentelemetry-js/pull/2031) chore: add resource example ([@vknelluri](https://github.com/vknelluri)) -- Other - - [#2021](https://github.com/open-telemetry/opentelemetry-js/pull/2021) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) -- `opentelemetry-core` - - [#2011](https://github.com/open-telemetry/opentelemetry-js/pull/2011) docs: fix links & headings about built-in samplers ([@pokutuna](https://github.com/pokutuna)) +* `opentelemetry-resource-detector-gcp` + * [#2002](https://github.com/open-telemetry/opentelemetry-js/pull/2002) doc: add usage to README.md of gcp detector ([@weyert](https://github.com/weyert)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2040](https://github.com/open-telemetry/opentelemetry-js/pull/2040) chore: fixing broken links, updating to correct base url ([@obecny](https://github.com/obecny)) +* `opentelemetry-resources` + * [#2031](https://github.com/open-telemetry/opentelemetry-js/pull/2031) chore: add resource example ([@vknelluri](https://github.com/vknelluri)) +* Other + * [#2021](https://github.com/open-telemetry/opentelemetry-js/pull/2021) chore: updating compatibility matrix ([@obecny](https://github.com/obecny)) +* `opentelemetry-core` + * [#2011](https://github.com/open-telemetry/opentelemetry-js/pull/2011) docs: fix links & headings about built-in samplers ([@pokutuna](https://github.com/pokutuna)) ### :house: (Internal) -- Other - - [#2028](https://github.com/open-telemetry/opentelemetry-js/pull/2028) chore: removing examples of packages that are part of contrib repo ([@obecny](https://github.com/obecny)) - - [#2033](https://github.com/open-telemetry/opentelemetry-js/pull/2033) chore: add husky to renovate ignore ([@dyladan](https://github.com/dyladan)) - - [#1985](https://github.com/open-telemetry/opentelemetry-js/pull/1985) chore: fix renovate config ([@dyladan](https://github.com/dyladan)) - - [#1992](https://github.com/open-telemetry/opentelemetry-js/pull/1992) chore: update eslint ([@Flarna](https://github.com/Flarna)) - - [#1981](https://github.com/open-telemetry/opentelemetry-js/pull/1981) chore: do not pin the api package ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#2038](https://github.com/open-telemetry/opentelemetry-js/pull/2038) chore: use api release candidate ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-zipkin` - - [#2039](https://github.com/open-telemetry/opentelemetry-js/pull/2039) Check type of navigator.sendBeacon ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-fetch`, `opentelemetry-metrics`, `opentelemetry-propagator-b3` - - [#1978](https://github.com/open-telemetry/opentelemetry-js/pull/1978) chore: don't disable rule eqeqeq ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-propagator-jaeger` - - [#1931](https://github.com/open-telemetry/opentelemetry-js/pull/1931) adopt opentelemetry-propagator-jaeger ([@jtmalinowski](https://github.com/jtmalinowski)) +* Other + * [#2028](https://github.com/open-telemetry/opentelemetry-js/pull/2028) chore: removing examples of packages that are part of contrib repo ([@obecny](https://github.com/obecny)) + * [#2033](https://github.com/open-telemetry/opentelemetry-js/pull/2033) chore: add husky to renovate ignore ([@dyladan](https://github.com/dyladan)) + * [#1985](https://github.com/open-telemetry/opentelemetry-js/pull/1985) chore: fix renovate config ([@dyladan](https://github.com/dyladan)) + * [#1992](https://github.com/open-telemetry/opentelemetry-js/pull/1992) chore: update eslint ([@Flarna](https://github.com/Flarna)) + * [#1981](https://github.com/open-telemetry/opentelemetry-js/pull/1981) chore: do not pin the api package ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#2038](https://github.com/open-telemetry/opentelemetry-js/pull/2038) chore: use api release candidate ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-zipkin` + * [#2039](https://github.com/open-telemetry/opentelemetry-js/pull/2039) Check type of navigator.sendBeacon ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-fetch`, `opentelemetry-metrics`, `opentelemetry-propagator-b3` + * [#1978](https://github.com/open-telemetry/opentelemetry-js/pull/1978) chore: don't disable rule eqeqeq ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-propagator-jaeger` + * [#1931](https://github.com/open-telemetry/opentelemetry-js/pull/1931) adopt opentelemetry-propagator-jaeger ([@jtmalinowski](https://github.com/jtmalinowski)) ### Committers: 12 -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -- Neil Fordyce ([@neilfordyce](https://github.com/neilfordyce)) -- Nir Hadassi ([@nirsky](https://github.com/nirsky)) -- Ryan Hinchey ([@ryhinchey](https://github.com/ryhinchey)) -- SJ ([@skjindal93](https://github.com/skjindal93)) -- Siim Kallas ([@seemk](https://github.com/seemk)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) -- [@vknelluri](https://github.com/vknelluri) -- pokutuna ([@pokutuna](https://github.com/pokutuna)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +* Neil Fordyce ([@neilfordyce](https://github.com/neilfordyce)) +* Nir Hadassi ([@nirsky](https://github.com/nirsky)) +* Ryan Hinchey ([@ryhinchey](https://github.com/ryhinchey)) +* SJ ([@skjindal93](https://github.com/skjindal93)) +* Siim Kallas ([@seemk](https://github.com/seemk)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) +* [@vknelluri](https://github.com/vknelluri) +* pokutuna ([@pokutuna](https://github.com/pokutuna)) ## 0.18.0 ### :boom: Breaking Change -- `opentelemetry-resources` - - [#1975](https://github.com/open-telemetry/opentelemetry-js/pull/1975) fix: specification compliant resource collision precedence ([@lonewolf3739](https://github.com/lonewolf3739)) +* `opentelemetry-resources` + * [#1975](https://github.com/open-telemetry/opentelemetry-js/pull/1975) fix: specification compliant resource collision precedence ([@lonewolf3739](https://github.com/lonewolf3739)) ### :rocket: (Enhancement) -- `opentelemetry-semantic-conventions` - - [#1976](https://github.com/open-telemetry/opentelemetry-js/pull/1976) feat(semantic-conventions): add missing RpcAttributes from spec ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-semantic-conventions` + * [#1976](https://github.com/open-telemetry/opentelemetry-js/pull/1976) feat(semantic-conventions): add missing RpcAttributes from spec ([@blumamir](https://github.com/blumamir)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector` - - [#1938](https://github.com/open-telemetry/opentelemetry-js/pull/1938) fix(exporter-collector): wrong data type for numbers ([@kudlatyamroth](https://github.com/kudlatyamroth)) -- `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` - - [#1939](https://github.com/open-telemetry/opentelemetry-js/pull/1939) fix: use socket from the request ([@mzahor](https://github.com/mzahor)) -- `opentelemetry-context-async-hooks` - - [#1937](https://github.com/open-telemetry/opentelemetry-js/pull/1937) fix: isolate binding EventEmitter ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector` + * [#1938](https://github.com/open-telemetry/opentelemetry-js/pull/1938) fix(exporter-collector): wrong data type for numbers ([@kudlatyamroth](https://github.com/kudlatyamroth)) +* `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` + * [#1939](https://github.com/open-telemetry/opentelemetry-js/pull/1939) fix: use socket from the request ([@mzahor](https://github.com/mzahor)) +* `opentelemetry-context-async-hooks` + * [#1937](https://github.com/open-telemetry/opentelemetry-js/pull/1937) fix: isolate binding EventEmitter ([@Flarna](https://github.com/Flarna)) ### :books: (Refine Doc) -- [#1973](https://github.com/open-telemetry/opentelemetry-js/pull/1973) docs(readme): fix @opentelemetry/instrumentation-http link ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -- [#1941](https://github.com/open-telemetry/opentelemetry-js/pull/1941) fix: update readme upgrade guidelines version setting ([@MSNev](https://github.com/MSNev)) +* [#1973](https://github.com/open-telemetry/opentelemetry-js/pull/1973) docs(readme): fix @opentelemetry/instrumentation-http link ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +* [#1941](https://github.com/open-telemetry/opentelemetry-js/pull/1941) fix: update readme upgrade guidelines version setting ([@MSNev](https://github.com/MSNev)) ### :house: (Internal) -- `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1977](https://github.com/open-telemetry/opentelemetry-js/pull/1977) chore: update API to 0.18.0 ([@Flarna](https://github.com/Flarna)) -- Other - - [#1960](https://github.com/open-telemetry/opentelemetry-js/pull/1960) chore: updating current state of compatibility matrix ([@obecny](https://github.com/obecny)) -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1942](https://github.com/open-telemetry/opentelemetry-js/pull/1942) chore: remove API and context-base ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-plugin-http` - - [#1922](https://github.com/open-telemetry/opentelemetry-js/pull/1922) chore: lint on shadowing in non-test sources, fix a few of them ([@johnbley](https://github.com/johnbley)) +* `opentelemetry-api-metrics`, `opentelemetry-context-async-hooks`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1977](https://github.com/open-telemetry/opentelemetry-js/pull/1977) chore: update API to 0.18.0 ([@Flarna](https://github.com/Flarna)) +* Other + * [#1960](https://github.com/open-telemetry/opentelemetry-js/pull/1960) chore: updating current state of compatibility matrix ([@obecny](https://github.com/obecny)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1942](https://github.com/open-telemetry/opentelemetry-js/pull/1942) chore: remove API and context-base ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-plugin-http` + * [#1922](https://github.com/open-telemetry/opentelemetry-js/pull/1922) chore: lint on shadowing in non-test sources, fix a few of them ([@johnbley](https://github.com/johnbley)) ### Committers: 10 -- Amir Blum ([@blumamir](https://github.com/blumamir)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -- John Bley ([@johnbley](https://github.com/johnbley)) -- Karol Fuksiewicz ([@kudlatyamroth](https://github.com/kudlatyamroth)) -- Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) -- Nev ([@MSNev](https://github.com/MSNev)) -- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +* Amir Blum ([@blumamir](https://github.com/blumamir)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +* John Bley ([@johnbley](https://github.com/johnbley)) +* Karol Fuksiewicz ([@kudlatyamroth](https://github.com/kudlatyamroth)) +* Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) +* Nev ([@MSNev](https://github.com/MSNev)) +* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) ## 0.17.0 ### :boom: Breaking Change -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1925](https://github.com/open-telemetry/opentelemetry-js/pull/1925) feat(diag-logger): replace logger with diag logger ([@MSNev](https://github.com/MSNev)) -- `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - - [#1899](https://github.com/open-telemetry/opentelemetry-js/pull/1899) chore: create NoopSpan instead reusing NOOP_SPAN ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-tracing` - - [#1908](https://github.com/open-telemetry/opentelemetry-js/pull/1908) chore: remove config from BasicTracerProvider#getTracer ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - - [#1900](https://github.com/open-telemetry/opentelemetry-js/pull/1900) chore: remove NoRecordingSpan ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` - - [#1855](https://github.com/open-telemetry/opentelemetry-js/pull/1855) Use instrumentation loader to load plugins and instrumentations ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` - - [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1874](https://github.com/open-telemetry/opentelemetry-js/pull/1874) More specific api type names ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1925](https://github.com/open-telemetry/opentelemetry-js/pull/1925) feat(diag-logger): replace logger with diag logger ([@MSNev](https://github.com/MSNev)) +* `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + * [#1899](https://github.com/open-telemetry/opentelemetry-js/pull/1899) chore: create NoopSpan instead reusing NOOP_SPAN ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-tracing` + * [#1908](https://github.com/open-telemetry/opentelemetry-js/pull/1908) chore: remove config from BasicTracerProvider#getTracer ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + * [#1900](https://github.com/open-telemetry/opentelemetry-js/pull/1900) chore: remove NoRecordingSpan ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-node`, `opentelemetry-sdk-node`, `opentelemetry-web` + * [#1855](https://github.com/open-telemetry/opentelemetry-js/pull/1855) Use instrumentation loader to load plugins and instrumentations ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` + * [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1874](https://github.com/open-telemetry/opentelemetry-js/pull/1874) More specific api type names ([@dyladan](https://github.com/dyladan)) ### :rocket: (Enhancement) -- `opentelemetry-exporter-prometheus` - - [#1857](https://github.com/open-telemetry/opentelemetry-js/pull/1857) feat: add prometheus exporter host and port env vars ([@naseemkullah](https://github.com/naseemkullah)) - - [#1879](https://github.com/open-telemetry/opentelemetry-js/pull/1879) feat(prometheus): add `getMetricsRequestHandler`-method to Prometheus ([@weyert](https://github.com/weyert)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1918](https://github.com/open-telemetry/opentelemetry-js/pull/1918) chore: batch processor, aligning with latest spec changes for environments variables ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation-grpc` - - [#1806](https://github.com/open-telemetry/opentelemetry-js/pull/1806) feat: merge grpc-js into grpc instrumentation #1657 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-api`, `opentelemetry-core` - - [#1880](https://github.com/open-telemetry/opentelemetry-js/pull/1880) feat(diag-logger): introduce a new global level api.diag for internal diagnostic logging ([@MSNev](https://github.com/MSNev)) -- Other - - [#1920](https://github.com/open-telemetry/opentelemetry-js/pull/1920) chore: adding compatibility matrix for core and contrib versions ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1883](https://github.com/open-telemetry/opentelemetry-js/pull/1883) feat: add support to forward args in context.with ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` - - [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-prometheus` + * [#1857](https://github.com/open-telemetry/opentelemetry-js/pull/1857) feat: add prometheus exporter host and port env vars ([@naseemkullah](https://github.com/naseemkullah)) + * [#1879](https://github.com/open-telemetry/opentelemetry-js/pull/1879) feat(prometheus): add `getMetricsRequestHandler`-method to Prometheus ([@weyert](https://github.com/weyert)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1918](https://github.com/open-telemetry/opentelemetry-js/pull/1918) chore: batch processor, aligning with latest spec changes for environments variables ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation-grpc` + * [#1806](https://github.com/open-telemetry/opentelemetry-js/pull/1806) feat: merge grpc-js into grpc instrumentation #1657 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-api`, `opentelemetry-core` + * [#1880](https://github.com/open-telemetry/opentelemetry-js/pull/1880) feat(diag-logger): introduce a new global level api.diag for internal diagnostic logging ([@MSNev](https://github.com/MSNev)) +* Other + * [#1920](https://github.com/open-telemetry/opentelemetry-js/pull/1920) chore: adding compatibility matrix for core and contrib versions ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1883](https://github.com/open-telemetry/opentelemetry-js/pull/1883) feat: add support to forward args in context.with ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing` + * [#1876](https://github.com/open-telemetry/opentelemetry-js/pull/1876) refactor!: specification compliant baggage ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -- Other - - [#1904](https://github.com/open-telemetry/opentelemetry-js/pull/1904) chore: fix upgrade guideline ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api` - - [#1901](https://github.com/open-telemetry/opentelemetry-js/pull/1901) doc: correct tracer docs ([@Flarna](https://github.com/Flarna)) +* Other + * [#1904](https://github.com/open-telemetry/opentelemetry-js/pull/1904) chore: fix upgrade guideline ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api` + * [#1901](https://github.com/open-telemetry/opentelemetry-js/pull/1901) doc: correct tracer docs ([@Flarna](https://github.com/Flarna)) ### Committers: 8 -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Nev ([@MSNev](https://github.com/MSNev)) -- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Weyert de Boer ([@weyert](https://github.com/weyert)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Nev ([@MSNev](https://github.com/MSNev)) +* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Weyert de Boer ([@weyert](https://github.com/weyert)) ## 0.16.0 ### :boom: Breaking Change -- `opentelemetry-exporter-collector` - - [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) -- `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` - - [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector` + * [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` + * [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) ### :rocket: (Enhancement) -- `opentelemetry-core` - - [#1837](https://github.com/open-telemetry/opentelemetry-js/pull/1837) chore(http-propagation): reduce complexity of traceparent parsing ([@marcbachmann](https://github.com/marcbachmann)) -- `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` - - [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) +* `opentelemetry-core` + * [#1837](https://github.com/open-telemetry/opentelemetry-js/pull/1837) chore(http-propagation): reduce complexity of traceparent parsing ([@marcbachmann](https://github.com/marcbachmann)) +* `opentelemetry-api`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger` + * [#1860](https://github.com/open-telemetry/opentelemetry-js/pull/1860) chore: fixing status code aligning it with proto ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-collector` - - [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-exporter-collector` + * [#1863](https://github.com/open-telemetry/opentelemetry-js/pull/1863) fix(exporter-collector): all http export requests should share same a… ([@blumamir](https://github.com/blumamir)) ### :books: (Refine Doc) -- `opentelemetry-api` - - [#1864](https://github.com/open-telemetry/opentelemetry-js/pull/1864) chore: export API singleton types ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1866](https://github.com/open-telemetry/opentelemetry-js/pull/1866) chore: remove all gitter links and replace with dicussions ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-jaeger` - - [#1869](https://github.com/open-telemetry/opentelemetry-js/pull/1869) Add info that the project only works with Node.js ([@JapuDCret](https://github.com/JapuDCret)) -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1865](https://github.com/open-telemetry/opentelemetry-js/pull/1865) Fix all links to point to main ([@dyladan](https://github.com/dyladan)) -- Other - - [#1858](https://github.com/open-telemetry/opentelemetry-js/pull/1858) docs: update contribution documentation ([@drexler](https://github.com/drexler)) +* `opentelemetry-api` + * [#1864](https://github.com/open-telemetry/opentelemetry-js/pull/1864) chore: export API singleton types ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1866](https://github.com/open-telemetry/opentelemetry-js/pull/1866) chore: remove all gitter links and replace with dicussions ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-jaeger` + * [#1869](https://github.com/open-telemetry/opentelemetry-js/pull/1869) Add info that the project only works with Node.js ([@JapuDCret](https://github.com/JapuDCret)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-fetch`, `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-sdk-node`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1865](https://github.com/open-telemetry/opentelemetry-js/pull/1865) Fix all links to point to main ([@dyladan](https://github.com/dyladan)) +* Other + * [#1858](https://github.com/open-telemetry/opentelemetry-js/pull/1858) docs: update contribution documentation ([@drexler](https://github.com/drexler)) ### Committers: 6 -- Amir Blum ([@blumamir](https://github.com/blumamir)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Marc Bachmann ([@marcbachmann](https://github.com/marcbachmann)) -- [@JapuDCret](https://github.com/JapuDCret) -- andrew quartey ([@drexler](https://github.com/drexler)) +* Amir Blum ([@blumamir](https://github.com/blumamir)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Marc Bachmann ([@marcbachmann](https://github.com/marcbachmann)) +* [@JapuDCret](https://github.com/JapuDCret) +* andrew quartey ([@drexler](https://github.com/drexler)) ## 0.15.0 ### :boom: Breaking Change -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - - [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1764](https://github.com/open-telemetry/opentelemetry-js/pull/1764) chore: remove tracer apis not part of spec ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` - - [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - - [#1749](https://github.com/open-telemetry/opentelemetry-js/pull/1749) chore: improve naming of span related context APIs ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + * [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1764](https://github.com/open-telemetry/opentelemetry-js/pull/1764) chore: remove tracer apis not part of spec ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` + * [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-instrumentation-http`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + * [#1749](https://github.com/open-telemetry/opentelemetry-js/pull/1749) chore: improve naming of span related context APIs ([@Flarna](https://github.com/Flarna)) ### :rocket: (Enhancement) -- `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - - [#1838](https://github.com/open-telemetry/opentelemetry-js/pull/1838) improv(instrumentation-http): supressInstrumentation when we get a request on ignoredPath [#1831] ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-web` - - [#1769](https://github.com/open-telemetry/opentelemetry-js/pull/1769) Allow zero/negative performance timings ([@johnbley](https://github.com/johnbley)) -- `opentelemetry-instrumentation-fetch` - - [#1662](https://github.com/open-telemetry/opentelemetry-js/pull/1662) fix(plugin-fetch): check if PerformanceObserver exists ([@mhennoch](https://github.com/mhennoch)) - - [#1796](https://github.com/open-telemetry/opentelemetry-js/pull/1796) Convert fetch plugin to instrumentation ([@obecny](https://github.com/obecny)) -- `opentelemetry-exporter-zipkin` - - [#1789](https://github.com/open-telemetry/opentelemetry-js/pull/1789) feat(exporter-zipkin): per-span service name ([@sfishel-splunk](https://github.com/sfishel-splunk)) -- `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - - [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-collector` - - [#1822](https://github.com/open-telemetry/opentelemetry-js/pull/1822) chore: remove unused dependency ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api` - - [#1815](https://github.com/open-telemetry/opentelemetry-js/pull/1815) chore: change SpanOptions startTime to TimeInput ([@dyladan](https://github.com/dyladan)) - - [#1813](https://github.com/open-telemetry/opentelemetry-js/pull/1813) fix(api): add public 'fields' function to api.propagator ([@blumamir](https://github.com/blumamir)) -- `opentelemetry-instrumentation` - - [#1803](https://github.com/open-telemetry/opentelemetry-js/pull/1803) chore: adding async function for safe execute in instrumentation ([@obecny](https://github.com/obecny)) - - [#1731](https://github.com/open-telemetry/opentelemetry-js/pull/1731) feat: creating one auto loader for instrumentation and old plugins ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation`, `opentelemetry-node` - - [#1807](https://github.com/open-telemetry/opentelemetry-js/pull/1807) perf(opentelemetry-node): plugin loader search required cache ([@blumamir](https://github.com/blumamir)) -- Other - - [#1785](https://github.com/open-telemetry/opentelemetry-js/pull/1785) Add CodeQL security scans ([@amanbrar1999](https://github.com/amanbrar1999)) -- `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation` - - [#1744](https://github.com/open-telemetry/opentelemetry-js/pull/1744) feat(grpc-instrumentation): migrate grpc to instrumentation #1656 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1755](https://github.com/open-telemetry/opentelemetry-js/pull/1755) feat: batch span processor environment config ([@mwear](https://github.com/mwear)) -- `opentelemetry-instrumentation-http` - - [#1771](https://github.com/open-telemetry/opentelemetry-js/pull/1771) feat(http-instrumentation): add content size attributes to spans ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1746](https://github.com/open-telemetry/opentelemetry-js/pull/1746) chore: remove NoopLogger from sdk and use from api ([@lonewolf3739](https://github.com/lonewolf3739)) +* `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + * [#1838](https://github.com/open-telemetry/opentelemetry-js/pull/1838) improv(instrumentation-http): supressInstrumentation when we get a request on ignoredPath [#1831] ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-web` + * [#1769](https://github.com/open-telemetry/opentelemetry-js/pull/1769) Allow zero/negative performance timings ([@johnbley](https://github.com/johnbley)) +* `opentelemetry-instrumentation-fetch` + * [#1662](https://github.com/open-telemetry/opentelemetry-js/pull/1662) fix(plugin-fetch): check if PerformanceObserver exists ([@mhennoch](https://github.com/mhennoch)) + * [#1796](https://github.com/open-telemetry/opentelemetry-js/pull/1796) Convert fetch plugin to instrumentation ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-zipkin` + * [#1789](https://github.com/open-telemetry/opentelemetry-js/pull/1789) feat(exporter-zipkin): per-span service name ([@sfishel-splunk](https://github.com/sfishel-splunk)) +* `opentelemetry-api-metrics`, `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-instrumentation`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + * [#1797](https://github.com/open-telemetry/opentelemetry-js/pull/1797) chore!: split metrics into its own api package ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-collector` + * [#1822](https://github.com/open-telemetry/opentelemetry-js/pull/1822) chore: remove unused dependency ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api` + * [#1815](https://github.com/open-telemetry/opentelemetry-js/pull/1815) chore: change SpanOptions startTime to TimeInput ([@dyladan](https://github.com/dyladan)) + * [#1813](https://github.com/open-telemetry/opentelemetry-js/pull/1813) fix(api): add public 'fields' function to api.propagator ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-instrumentation` + * [#1803](https://github.com/open-telemetry/opentelemetry-js/pull/1803) chore: adding async function for safe execute in instrumentation ([@obecny](https://github.com/obecny)) + * [#1731](https://github.com/open-telemetry/opentelemetry-js/pull/1731) feat: creating one auto loader for instrumentation and old plugins ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation`, `opentelemetry-node` + * [#1807](https://github.com/open-telemetry/opentelemetry-js/pull/1807) perf(opentelemetry-node): plugin loader search required cache ([@blumamir](https://github.com/blumamir)) +* Other + * [#1785](https://github.com/open-telemetry/opentelemetry-js/pull/1785) Add CodeQL security scans ([@amanbrar1999](https://github.com/amanbrar1999)) +* `opentelemetry-instrumentation-grpc`, `opentelemetry-instrumentation` + * [#1744](https://github.com/open-telemetry/opentelemetry-js/pull/1744) feat(grpc-instrumentation): migrate grpc to instrumentation #1656 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1755](https://github.com/open-telemetry/opentelemetry-js/pull/1755) feat: batch span processor environment config ([@mwear](https://github.com/mwear)) +* `opentelemetry-instrumentation-http` + * [#1771](https://github.com/open-telemetry/opentelemetry-js/pull/1771) feat(http-instrumentation): add content size attributes to spans ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-instrumentation-http`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-resource-detector-aws`, `opentelemetry-resource-detector-gcp`, `opentelemetry-resources`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1746](https://github.com/open-telemetry/opentelemetry-js/pull/1746) chore: remove NoopLogger from sdk and use from api ([@lonewolf3739](https://github.com/lonewolf3739)) ### :bug: (Bug Fix) -- `opentelemetry-core` - - [#1784](https://github.com/open-telemetry/opentelemetry-js/pull/1784) fix(opentelemetry-core): fixed timeInputToHrTime when time is Date type ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` - - [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) +* `opentelemetry-core` + * [#1784](https://github.com/open-telemetry/opentelemetry-js/pull/1784) fix(opentelemetry-core): fixed timeInputToHrTime when time is Date type ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` + * [#1725](https://github.com/open-telemetry/opentelemetry-js/pull/1725) Use new gRPC default port ([@jufab](https://github.com/jufab)) ### :books: (Refine Doc) -- `opentelemetry-exporter-collector` - - [#1791](https://github.com/open-telemetry/opentelemetry-js/pull/1791) docs: fix readme MetricProvider -> MeterProvider ([@aabmass](https://github.com/aabmass)) +* `opentelemetry-exporter-collector` + * [#1791](https://github.com/open-telemetry/opentelemetry-js/pull/1791) docs: fix readme MetricProvider -> MeterProvider ([@aabmass](https://github.com/aabmass)) ### Committers: 17 -- Aaron Abbott ([@aabmass](https://github.com/aabmass)) -- Aman Brar ([@amanbrar1999](https://github.com/amanbrar1999)) -- Amir Blum ([@blumamir](https://github.com/blumamir)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -- John Bley ([@johnbley](https://github.com/johnbley)) -- Julien Fabre ([@jufab](https://github.com/jufab)) -- MartenH ([@mhennoch](https://github.com/mhennoch)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Paul Draper ([@pauldraper](https://github.com/pauldraper)) -- Simon Fishel ([@sfishel-splunk](https://github.com/sfishel-splunk)) -- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Zoom Chan ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) +* Aaron Abbott ([@aabmass](https://github.com/aabmass)) +* Aman Brar ([@amanbrar1999](https://github.com/amanbrar1999)) +* Amir Blum ([@blumamir](https://github.com/blumamir)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +* John Bley ([@johnbley](https://github.com/johnbley)) +* Julien Fabre ([@jufab](https://github.com/jufab)) +* MartenH ([@mhennoch](https://github.com/mhennoch)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Paul Draper ([@pauldraper](https://github.com/pauldraper)) +* Simon Fishel ([@sfishel-splunk](https://github.com/sfishel-splunk)) +* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Zoom Chan ([@zoomchan-cxj](https://github.com/zoomchan-cxj)) ## 0.14.0 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-metrics` - - [#1709](https://github.com/open-telemetry/opentelemetry-js/pull/1709) refactor: batch observer to be independent from metric types ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-shim-opentracing` - - [#1734](https://github.com/open-telemetry/opentelemetry-js/pull/1734) chore: requires user to pass context to propagation APIs ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` - - [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#1709](https://github.com/open-telemetry/opentelemetry-js/pull/1709) refactor: batch observer to be independent from metric types ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-api`, `opentelemetry-instrumentation-http`, `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-shim-opentracing` + * [#1734](https://github.com/open-telemetry/opentelemetry-js/pull/1734) chore: requires user to pass context to propagation APIs ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` + * [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) ### :rocket: (Enhancement) -- `opentelemetry-semantic-conventions` - - [#1684](https://github.com/open-telemetry/opentelemetry-js/pull/1684) feat(semantic-conventions): messaging specifications ([@nirsky](https://github.com/nirsky)) -- `opentelemetry-tracing` - - [#1685](https://github.com/open-telemetry/opentelemetry-js/pull/1685) chore: remove ordered attribute dropping ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - - [#1687](https://github.com/open-telemetry/opentelemetry-js/pull/1687) chore: rename CorrelationContext to Baggage ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-prometheus` - - [#1697](https://github.com/open-telemetry/opentelemetry-js/pull/1697) fix(exporter-prometheus): add appendTimestamp option to ExporterConfig ([@antoniomrfranco](https://github.com/antoniomrfranco)) -- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#1661](https://github.com/open-telemetry/opentelemetry-js/pull/1661) Use http keep-alive in collector exporter ([@lonewolf3739](https://github.com/lonewolf3739)) -- `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions` - - [#1625](https://github.com/open-telemetry/opentelemetry-js/pull/1625) feat(opentelemetry-js): add content size attributes to HTTP spans ([@nijotz](https://github.com/nijotz)) -- `opentelemetry-exporter-collector` - - [#1708](https://github.com/open-telemetry/opentelemetry-js/pull/1708) feat(exporter-collector): implement concurrencyLimit option ([@dobesv](https://github.com/dobesv)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` - - [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) +* `opentelemetry-semantic-conventions` + * [#1684](https://github.com/open-telemetry/opentelemetry-js/pull/1684) feat(semantic-conventions): messaging specifications ([@nirsky](https://github.com/nirsky)) +* `opentelemetry-tracing` + * [#1685](https://github.com/open-telemetry/opentelemetry-js/pull/1685) chore: remove ordered attribute dropping ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-sdk-node`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + * [#1687](https://github.com/open-telemetry/opentelemetry-js/pull/1687) chore: rename CorrelationContext to Baggage ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-prometheus` + * [#1697](https://github.com/open-telemetry/opentelemetry-js/pull/1697) fix(exporter-prometheus): add appendTimestamp option to ExporterConfig ([@antoniomrfranco](https://github.com/antoniomrfranco)) +* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#1661](https://github.com/open-telemetry/opentelemetry-js/pull/1661) Use http keep-alive in collector exporter ([@lonewolf3739](https://github.com/lonewolf3739)) +* `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions` + * [#1625](https://github.com/open-telemetry/opentelemetry-js/pull/1625) feat(opentelemetry-js): add content size attributes to HTTP spans ([@nijotz](https://github.com/nijotz)) +* `opentelemetry-exporter-collector` + * [#1708](https://github.com/open-telemetry/opentelemetry-js/pull/1708) feat(exporter-collector): implement concurrencyLimit option ([@dobesv](https://github.com/dobesv)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-grpc-utils`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http` + * [#1715](https://github.com/open-telemetry/opentelemetry-js/pull/1715) chore: moving plugin from api to core ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-jaeger` - - [#1758](https://github.com/open-telemetry/opentelemetry-js/pull/1758) fix(@opentelemetry/exporter-jaeger): fixed issue #1757 ([@debagger](https://github.com/debagger)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#1751](https://github.com/open-telemetry/opentelemetry-js/pull/1751) Fixing Span status when exporting span ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` - - [#1747](https://github.com/open-telemetry/opentelemetry-js/pull/1747) feat: fixing failing test ([@obecny](https://github.com/obecny)) -- `opentelemetry-instrumentation-xml-http-request` - - [#1720](https://github.com/open-telemetry/opentelemetry-js/pull/1720) fix(xhr): check for resource timing support ([@bradfrosty](https://github.com/bradfrosty)) +* `opentelemetry-exporter-jaeger` + * [#1758](https://github.com/open-telemetry/opentelemetry-js/pull/1758) fix(@opentelemetry/exporter-jaeger): fixed issue #1757 ([@debagger](https://github.com/debagger)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#1751](https://github.com/open-telemetry/opentelemetry-js/pull/1751) Fixing Span status when exporting span ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation-http`, `opentelemetry-plugin-http` + * [#1747](https://github.com/open-telemetry/opentelemetry-js/pull/1747) feat: fixing failing test ([@obecny](https://github.com/obecny)) +* `opentelemetry-instrumentation-xml-http-request` + * [#1720](https://github.com/open-telemetry/opentelemetry-js/pull/1720) fix(xhr): check for resource timing support ([@bradfrosty](https://github.com/bradfrosty)) ### Committers: 13 -- Antônio Franco ([@antoniomrfranco](https://github.com/antoniomrfranco)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Dobes Vandermeer ([@dobesv](https://github.com/dobesv)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Mikhail Sokolov ([@debagger](https://github.com/debagger)) -- Nik Zap ([@nijotz](https://github.com/nijotz)) -- Nir Hadassi ([@nirsky](https://github.com/nirsky)) -- Shovnik Bhattacharya ([@shovnik](https://github.com/shovnik)) -- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Antônio Franco ([@antoniomrfranco](https://github.com/antoniomrfranco)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Dobes Vandermeer ([@dobesv](https://github.com/dobesv)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Mikhail Sokolov ([@debagger](https://github.com/debagger)) +* Nik Zap ([@nijotz](https://github.com/nijotz)) +* Nir Hadassi ([@nirsky](https://github.com/nirsky)) +* Shovnik Bhattacharya ([@shovnik](https://github.com/shovnik)) +* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 0.13.0 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - - [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - - [#1644](https://github.com/open-telemetry/opentelemetry-js/pull/1644) fix!: change status codes from grpc status codes ([@lonewolf3739](https://github.com/lonewolf3739)) -- `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` - - [#1643](https://github.com/open-telemetry/opentelemetry-js/pull/1643) refactor: new interface for ExportResult #1569 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-web` - - [#1595](https://github.com/open-telemetry/opentelemetry-js/pull/1595) chore!: move b3 into its own package ([@mwear](https://github.com/mwear)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-shim-opentracing` - - [#1576](https://github.com/open-telemetry/opentelemetry-js/pull/1576) feat: add keys operation to getter ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + * [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + * [#1644](https://github.com/open-telemetry/opentelemetry-js/pull/1644) fix!: change status codes from grpc status codes ([@lonewolf3739](https://github.com/lonewolf3739)) +* `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` + * [#1643](https://github.com/open-telemetry/opentelemetry-js/pull/1643) refactor: new interface for ExportResult #1569 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-propagator-b3`, `opentelemetry-web` + * [#1595](https://github.com/open-telemetry/opentelemetry-js/pull/1595) chore!: move b3 into its own package ([@mwear](https://github.com/mwear)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-shim-opentracing` + * [#1576](https://github.com/open-telemetry/opentelemetry-js/pull/1576) feat: add keys operation to getter ([@dyladan](https://github.com/dyladan)) ### :rocket: (Enhancement) -- `opentelemetry-resource-detector-aws` - - [#1669](https://github.com/open-telemetry/opentelemetry-js/pull/1669) Feat: Added Amazon EKS Resource Detector ([@KKelvinLo](https://github.com/KKelvinLo)) -- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` - - [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) -- `opentelemetry-tracing` - - [#1692](https://github.com/open-telemetry/opentelemetry-js/pull/1692) chore: remove unused tracer config gracefulShutdown ([@Flarna](https://github.com/Flarna)) - - [#1622](https://github.com/open-telemetry/opentelemetry-js/pull/1622) fix(tracing): use globalErrorHandler when flushing fails ([@johanneswuerbach](https://github.com/johanneswuerbach)) -- `opentelemetry-semantic-conventions` - - [#1670](https://github.com/open-telemetry/opentelemetry-js/pull/1670) feat(semantic-conventions): FaaS specifications ([@nirsky](https://github.com/nirsky)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1628](https://github.com/open-telemetry/opentelemetry-js/pull/1628) fix: boundaries option propagation in ValueRecorder Metric ([@AndrewGrachov](https://github.com/AndrewGrachov)) -- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#1607](https://github.com/open-telemetry/opentelemetry-js/pull/1607) feat(exporter-collector): log upstream error #1459 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-instrumentation-xml-http-request` - - [#1651](https://github.com/open-telemetry/opentelemetry-js/pull/1651) chore: use performance directly in xhr plugin ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-web` - - [#1659](https://github.com/open-telemetry/opentelemetry-js/pull/1659) feat: replacing base plugin with instrumentation for xml-http-request ([@obecny](https://github.com/obecny)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1653](https://github.com/open-telemetry/opentelemetry-js/pull/1653) chore: env vars for span limit as per specification ([@jtmalinowski](https://github.com/jtmalinowski)) -- `opentelemetry-exporter-zipkin` - - [#1474](https://github.com/open-telemetry/opentelemetry-js/pull/1474) chore(zipkin): export ExporterConfig ([@shivkanya9146](https://github.com/shivkanya9146)) -- `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-tracing` - - [#1612](https://github.com/open-telemetry/opentelemetry-js/pull/1612) chore: remove explicit parent option ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - - [#1632](https://github.com/open-telemetry/opentelemetry-js/pull/1632) feat: span processor onstart recieves context ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` - - [#1631](https://github.com/open-telemetry/opentelemetry-js/pull/1631) chore: sampler gets a full context ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3` - - [#1615](https://github.com/open-telemetry/opentelemetry-js/pull/1615) chore: add fields operation to TextMapPropagator ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` - - [#1621](https://github.com/open-telemetry/opentelemetry-js/pull/1621) chore: ensure onStart is called with a writeable span ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-core` - - [#1597](https://github.com/open-telemetry/opentelemetry-js/pull/1597) fix: make TraceState immutable ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-resource-detector-aws` + * [#1669](https://github.com/open-telemetry/opentelemetry-js/pull/1669) Feat: Added Amazon EKS Resource Detector ([@KKelvinLo](https://github.com/KKelvinLo)) +* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node` + * [#1700](https://github.com/open-telemetry/opentelemetry-js/pull/1700) Metrics updates ([@obecny](https://github.com/obecny)) +* `opentelemetry-tracing` + * [#1692](https://github.com/open-telemetry/opentelemetry-js/pull/1692) chore: remove unused tracer config gracefulShutdown ([@Flarna](https://github.com/Flarna)) + * [#1622](https://github.com/open-telemetry/opentelemetry-js/pull/1622) fix(tracing): use globalErrorHandler when flushing fails ([@johanneswuerbach](https://github.com/johanneswuerbach)) +* `opentelemetry-semantic-conventions` + * [#1670](https://github.com/open-telemetry/opentelemetry-js/pull/1670) feat(semantic-conventions): FaaS specifications ([@nirsky](https://github.com/nirsky)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1628](https://github.com/open-telemetry/opentelemetry-js/pull/1628) fix: boundaries option propagation in ValueRecorder Metric ([@AndrewGrachov](https://github.com/AndrewGrachov)) +* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#1607](https://github.com/open-telemetry/opentelemetry-js/pull/1607) feat(exporter-collector): log upstream error #1459 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-instrumentation-xml-http-request` + * [#1651](https://github.com/open-telemetry/opentelemetry-js/pull/1651) chore: use performance directly in xhr plugin ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation-xml-http-request`, `opentelemetry-instrumentation`, `opentelemetry-web` + * [#1659](https://github.com/open-telemetry/opentelemetry-js/pull/1659) feat: replacing base plugin with instrumentation for xml-http-request ([@obecny](https://github.com/obecny)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1653](https://github.com/open-telemetry/opentelemetry-js/pull/1653) chore: env vars for span limit as per specification ([@jtmalinowski](https://github.com/jtmalinowski)) +* `opentelemetry-exporter-zipkin` + * [#1474](https://github.com/open-telemetry/opentelemetry-js/pull/1474) chore(zipkin): export ExporterConfig ([@shivkanya9146](https://github.com/shivkanya9146)) +* `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-tracing` + * [#1612](https://github.com/open-telemetry/opentelemetry-js/pull/1612) chore: remove explicit parent option ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + * [#1632](https://github.com/open-telemetry/opentelemetry-js/pull/1632) feat: span processor onstart recieves context ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` + * [#1631](https://github.com/open-telemetry/opentelemetry-js/pull/1631) chore: sampler gets a full context ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-propagator-b3` + * [#1615](https://github.com/open-telemetry/opentelemetry-js/pull/1615) chore: add fields operation to TextMapPropagator ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` + * [#1621](https://github.com/open-telemetry/opentelemetry-js/pull/1621) chore: ensure onStart is called with a writeable span ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-core` + * [#1597](https://github.com/open-telemetry/opentelemetry-js/pull/1597) fix: make TraceState immutable ([@Flarna](https://github.com/Flarna)) ### :bug: (Bug Fix) -- `opentelemetry-tracing` - - [#1666](https://github.com/open-telemetry/opentelemetry-js/pull/1666) fix: clear BatchSpanProcessor internal spans buffer before exporting ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#1641](https://github.com/open-telemetry/opentelemetry-js/pull/1641) fix: do not access promise before resolve ([@obecny](https://github.com/obecny)) - - [#1627](https://github.com/open-telemetry/opentelemetry-js/pull/1627) chore: fixing conversion of id to hex and base64 ([@obecny](https://github.com/obecny)) +* `opentelemetry-tracing` + * [#1666](https://github.com/open-telemetry/opentelemetry-js/pull/1666) fix: clear BatchSpanProcessor internal spans buffer before exporting ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#1641](https://github.com/open-telemetry/opentelemetry-js/pull/1641) fix: do not access promise before resolve ([@obecny](https://github.com/obecny)) + * [#1627](https://github.com/open-telemetry/opentelemetry-js/pull/1627) chore: fixing conversion of id to hex and base64 ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -- `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-instrumentation-xml-http-request` - - [#1696](https://github.com/open-telemetry/opentelemetry-js/pull/1696) chore: use WebTracerProvider instead of WebTracer in docs ([@bradfrosty](https://github.com/bradfrosty)) -- `opentelemetry-api` - - [#1650](https://github.com/open-telemetry/opentelemetry-js/pull/1650) docs: document null and undefined attribute values undefined behavior ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` - - [#1616](https://github.com/open-telemetry/opentelemetry-js/pull/1616) docs: zone ctx manager can only be used with es2015 ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-instrumentation-xml-http-request` + * [#1696](https://github.com/open-telemetry/opentelemetry-js/pull/1696) chore: use WebTracerProvider instead of WebTracer in docs ([@bradfrosty](https://github.com/bradfrosty)) +* `opentelemetry-api` + * [#1650](https://github.com/open-telemetry/opentelemetry-js/pull/1650) docs: document null and undefined attribute values undefined behavior ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-zone-peer-dep`, `opentelemetry-web` + * [#1616](https://github.com/open-telemetry/opentelemetry-js/pull/1616) docs: zone ctx manager can only be used with es2015 ([@dyladan](https://github.com/dyladan)) ### Committers: 16 -- Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) -- Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) -- Kelvin Lo ([@KKelvinLo](https://github.com/KKelvinLo)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Naga ([@tannaga](https://github.com/tannaga)) -- Nir Hadassi ([@nirsky](https://github.com/nirsky)) -- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) -- Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) -- Tsvetan Milanov ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- [@snyder114](https://github.com/snyder114) +* Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Brad Frost ([@bradfrosty](https://github.com/bradfrosty)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Jakub Malinowski ([@jtmalinowski](https://github.com/jtmalinowski)) +* Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) +* Kelvin Lo ([@KKelvinLo](https://github.com/KKelvinLo)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Naga ([@tannaga](https://github.com/tannaga)) +* Nir Hadassi ([@nirsky](https://github.com/nirsky)) +* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +* Srikanth Chekuri ([@lonewolf3739](https://github.com/lonewolf3739)) +* Tsvetan Milanov ([@TsvetanMilanov](https://github.com/TsvetanMilanov)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* [@snyder114](https://github.com/snyder114) ## 0.12.0 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing` - - [#1589](https://github.com/open-telemetry/opentelemetry-js/pull/1589) feat: simplify active span logic ([@mwear](https://github.com/mwear)) -- `opentelemetry-resource-detector-aws`, `opentelemetry-resources` - - [#1581](https://github.com/open-telemetry/opentelemetry-js/pull/1581) chore: remove duplicate hostname resource attribute ([@mwear](https://github.com/mwear)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request` - - [#1560](https://github.com/open-telemetry/opentelemetry-js/pull/1560) feat: b3 single header support ([@mwear](https://github.com/mwear)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1562](https://github.com/open-telemetry/opentelemetry-js/pull/1562) feat(core): rename ProbabilitySampler to TraceIdRatioBasedSampler ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-exporter-prometheus` - - [#1375](https://github.com/open-telemetry/opentelemetry-js/pull/1375) feat: make prometheus config preventServerStart optional ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-core`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node`, `opentelemetry-tracing` - - [#1522](https://github.com/open-telemetry/opentelemetry-js/pull/1522) Remove process listener ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing` + * [#1589](https://github.com/open-telemetry/opentelemetry-js/pull/1589) feat: simplify active span logic ([@mwear](https://github.com/mwear)) +* `opentelemetry-resource-detector-aws`, `opentelemetry-resources` + * [#1581](https://github.com/open-telemetry/opentelemetry-js/pull/1581) chore: remove duplicate hostname resource attribute ([@mwear](https://github.com/mwear)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request` + * [#1560](https://github.com/open-telemetry/opentelemetry-js/pull/1560) feat: b3 single header support ([@mwear](https://github.com/mwear)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1562](https://github.com/open-telemetry/opentelemetry-js/pull/1562) feat(core): rename ProbabilitySampler to TraceIdRatioBasedSampler ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-exporter-prometheus` + * [#1375](https://github.com/open-telemetry/opentelemetry-js/pull/1375) feat: make prometheus config preventServerStart optional ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-core`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics`, `opentelemetry-sdk-node`, `opentelemetry-tracing` + * [#1522](https://github.com/open-telemetry/opentelemetry-js/pull/1522) Remove process listener ([@dyladan](https://github.com/dyladan)) ### :rocket: (Enhancement) -- `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1577](https://github.com/open-telemetry/opentelemetry-js/pull/1577) feat: implement parent based sampler ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-instrumentation` - - [#1572](https://github.com/open-telemetry/opentelemetry-js/pull/1572) feat: adding function for checking wrapped into instrumentation ([@obecny](https://github.com/obecny)) -- `opentelemetry-core` - - [#1579](https://github.com/open-telemetry/opentelemetry-js/pull/1579) fix: correlation-context header ([@Asafb26](https://github.com/Asafb26)) - - [#1503](https://github.com/open-telemetry/opentelemetry-js/pull/1503) feat: add deep-merge util ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-exporter-prometheus` - - [#1570](https://github.com/open-telemetry/opentelemetry-js/pull/1570) fix: make prometheus histogram export cumulative ([@AndrewGrachov](https://github.com/AndrewGrachov)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` - - [#1514](https://github.com/open-telemetry/opentelemetry-js/pull/1514) feat: add global error handler ([@mwear](https://github.com/mwear)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - - [#1527](https://github.com/open-telemetry/opentelemetry-js/pull/1527) feat(api): propagate spanContext only using API #1456 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-node`, `opentelemetry-sdk-node` - - [#1525](https://github.com/open-telemetry/opentelemetry-js/pull/1525) feat(node-tracer): use AsyncLocalStorageContextManager by default starting Node 14.8 #1511 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - - [#1548](https://github.com/open-telemetry/opentelemetry-js/pull/1548) chore(http): remove `x-opentelemetry-outgoing-request` header #1547 ([@vmarchaud](https://github.com/vmarchaud)) -- Other - - [#1553](https://github.com/open-telemetry/opentelemetry-js/pull/1553) docs: fix and update getting-started ([@svrnm](https://github.com/svrnm)) - - [#1550](https://github.com/open-telemetry/opentelemetry-js/pull/1550) EOL semantics by adding .gitattributes and changing tsconfig.json ([@MarkSeufert](https://github.com/MarkSeufert)) -- `opentelemetry-api`, `opentelemetry-instrumentation`, `opentelemetry-node` - - [#1540](https://github.com/open-telemetry/opentelemetry-js/pull/1540) Plugins refactoring - new instrumentation package for plugins ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-tracing` - - [#1555](https://github.com/open-telemetry/opentelemetry-js/pull/1555) chore: disallow null attribute values ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-resource-detector-aws`, `opentelemetry-resources` - - [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) -- `opentelemetry-node` - - [#1543](https://github.com/open-telemetry/opentelemetry-js/pull/1543) feat: enable dns instrumentation by default ([@naseemkullah](https://github.com/naseemkullah)) - - [#1532](https://github.com/open-telemetry/opentelemetry-js/pull/1532) fix: decrease level of unsupported-version logs to warn ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-resources`, `opentelemetry-sdk-node` - - [#1531](https://github.com/open-telemetry/opentelemetry-js/pull/1531) feat: process resource detector ([@mihirsoni](https://github.com/mihirsoni)) -- `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1515](https://github.com/open-telemetry/opentelemetry-js/pull/1515) chore: use interface for context types ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-zipkin` - - [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` - - [#1439](https://github.com/open-telemetry/opentelemetry-js/pull/1439) unifying shutdown across code base ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1588](https://github.com/open-telemetry/opentelemetry-js/pull/1588) Update to Proto v0.5.0 ([@obecny](https://github.com/obecny)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1577](https://github.com/open-telemetry/opentelemetry-js/pull/1577) feat: implement parent based sampler ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-instrumentation` + * [#1572](https://github.com/open-telemetry/opentelemetry-js/pull/1572) feat: adding function for checking wrapped into instrumentation ([@obecny](https://github.com/obecny)) +* `opentelemetry-core` + * [#1579](https://github.com/open-telemetry/opentelemetry-js/pull/1579) fix: correlation-context header ([@Asafb26](https://github.com/Asafb26)) + * [#1503](https://github.com/open-telemetry/opentelemetry-js/pull/1503) feat: add deep-merge util ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-exporter-prometheus` + * [#1570](https://github.com/open-telemetry/opentelemetry-js/pull/1570) fix: make prometheus histogram export cumulative ([@AndrewGrachov](https://github.com/AndrewGrachov)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` + * [#1514](https://github.com/open-telemetry/opentelemetry-js/pull/1514) feat: add global error handler ([@mwear](https://github.com/mwear)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + * [#1527](https://github.com/open-telemetry/opentelemetry-js/pull/1527) feat(api): propagate spanContext only using API #1456 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-node`, `opentelemetry-sdk-node` + * [#1525](https://github.com/open-telemetry/opentelemetry-js/pull/1525) feat(node-tracer): use AsyncLocalStorageContextManager by default starting Node 14.8 #1511 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-grpc-utils`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + * [#1548](https://github.com/open-telemetry/opentelemetry-js/pull/1548) chore(http): remove `x-opentelemetry-outgoing-request` header #1547 ([@vmarchaud](https://github.com/vmarchaud)) +* Other + * [#1553](https://github.com/open-telemetry/opentelemetry-js/pull/1553) docs: fix and update getting-started ([@svrnm](https://github.com/svrnm)) + * [#1550](https://github.com/open-telemetry/opentelemetry-js/pull/1550) EOL semantics by adding .gitattributes and changing tsconfig.json ([@MarkSeufert](https://github.com/MarkSeufert)) +* `opentelemetry-api`, `opentelemetry-instrumentation`, `opentelemetry-node` + * [#1540](https://github.com/open-telemetry/opentelemetry-js/pull/1540) Plugins refactoring - new instrumentation package for plugins ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-tracing` + * [#1555](https://github.com/open-telemetry/opentelemetry-js/pull/1555) chore: disallow null attribute values ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-resource-detector-aws`, `opentelemetry-resources` + * [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) +* `opentelemetry-node` + * [#1543](https://github.com/open-telemetry/opentelemetry-js/pull/1543) feat: enable dns instrumentation by default ([@naseemkullah](https://github.com/naseemkullah)) + * [#1532](https://github.com/open-telemetry/opentelemetry-js/pull/1532) fix: decrease level of unsupported-version logs to warn ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-resources`, `opentelemetry-sdk-node` + * [#1531](https://github.com/open-telemetry/opentelemetry-js/pull/1531) feat: process resource detector ([@mihirsoni](https://github.com/mihirsoni)) +* `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1515](https://github.com/open-telemetry/opentelemetry-js/pull/1515) chore: use interface for context types ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-zipkin` + * [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing` + * [#1439](https://github.com/open-telemetry/opentelemetry-js/pull/1439) unifying shutdown across code base ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-plugin-http` - - [#1546](https://github.com/open-telemetry/opentelemetry-js/pull/1546) fix(http): do not set outgoing http span as active in the context #1479 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-metrics` - - [#1567](https://github.com/open-telemetry/opentelemetry-js/pull/1567) fix: histogram aggregator lastUpdateTime ([@AndrewGrachov](https://github.com/AndrewGrachov)) - - [#1470](https://github.com/open-telemetry/opentelemetry-js/pull/1470) IMPORTANT - Fixing collecting data from observers when using batch observer in first run ([@obecny](https://github.com/obecny)) -- `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - - [#1551](https://github.com/open-telemetry/opentelemetry-js/pull/1551) fix: avoid circular require in plugins ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-context-async-hooks` - - [#1530](https://github.com/open-telemetry/opentelemetry-js/pull/1530) fix: ignore TIMERWRAP in AsyncHooksContextManager ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` - - [#1539](https://github.com/open-telemetry/opentelemetry-js/pull/1539) fix: include missing proto files in npm distribution ([@blumamir](https://github.com/blumamir)) +* `opentelemetry-plugin-http` + * [#1546](https://github.com/open-telemetry/opentelemetry-js/pull/1546) fix(http): do not set outgoing http span as active in the context #1479 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-metrics` + * [#1567](https://github.com/open-telemetry/opentelemetry-js/pull/1567) fix: histogram aggregator lastUpdateTime ([@AndrewGrachov](https://github.com/AndrewGrachov)) + * [#1470](https://github.com/open-telemetry/opentelemetry-js/pull/1470) IMPORTANT - Fixing collecting data from observers when using batch observer in first run ([@obecny](https://github.com/obecny)) +* `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + * [#1551](https://github.com/open-telemetry/opentelemetry-js/pull/1551) fix: avoid circular require in plugins ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-async-hooks` + * [#1530](https://github.com/open-telemetry/opentelemetry-js/pull/1530) fix: ignore TIMERWRAP in AsyncHooksContextManager ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto` + * [#1539](https://github.com/open-telemetry/opentelemetry-js/pull/1539) fix: include missing proto files in npm distribution ([@blumamir](https://github.com/blumamir)) ### :books: (Refine Doc) -- Other - - [#1536](https://github.com/open-telemetry/opentelemetry-js/pull/1536) chore: variable names cleanup ([@DarkPurple141](https://github.com/DarkPurple141)) -- `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` - - [#1483](https://github.com/open-telemetry/opentelemetry-js/pull/1483) docs: change CollectorExporter to CollectorTraceExporter ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +* Other + * [#1536](https://github.com/open-telemetry/opentelemetry-js/pull/1536) chore: variable names cleanup ([@DarkPurple141](https://github.com/DarkPurple141)) +* `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector` + * [#1483](https://github.com/open-telemetry/opentelemetry-js/pull/1483) docs: change CollectorExporter to CollectorTraceExporter ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) ### :sparkles: (Feature) -- `opentelemetry-resource-detector-aws`, `opentelemetry-resources` - - [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) -- `opentelemetry-exporter-zipkin` - - [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) +* `opentelemetry-resource-detector-aws`, `opentelemetry-resources` + * [#1404](https://github.com/open-telemetry/opentelemetry-js/pull/1404) Feat: Added AWS ECS Plugins Resource Detector ([@EdZou](https://github.com/EdZou)) +* `opentelemetry-exporter-zipkin` + * [#1399](https://github.com/open-telemetry/opentelemetry-js/pull/1399) chore: refactoring zipkin to be able to use it in web ([@obecny](https://github.com/obecny)) ### Committers: 19 -- Alex Hinds ([@DarkPurple141](https://github.com/DarkPurple141)) -- Amir Blum ([@blumamir](https://github.com/blumamir)) -- Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) -- Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Cong Zou ([@EdZou](https://github.com/EdZou)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -- Igor Morozov ([@morigs](https://github.com/morigs)) -- Justin Walz ([@justinwalz](https://github.com/justinwalz)) -- Mark ([@MarkSeufert](https://github.com/MarkSeufert)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Mihir Soni ([@mihirsoni](https://github.com/mihirsoni)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Severin Neumann ([@svrnm](https://github.com/svrnm)) -- Steve Flanders ([@flands](https://github.com/flands)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Alex Hinds ([@DarkPurple141](https://github.com/DarkPurple141)) +* Amir Blum ([@blumamir](https://github.com/blumamir)) +* Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) +* Asaf Ben Aharon ([@Asafb26](https://github.com/Asafb26)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Cong Zou ([@EdZou](https://github.com/EdZou)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +* Igor Morozov ([@morigs](https://github.com/morigs)) +* Justin Walz ([@justinwalz](https://github.com/justinwalz)) +* Mark ([@MarkSeufert](https://github.com/MarkSeufert)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Mihir Soni ([@mihirsoni](https://github.com/mihirsoni)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Severin Neumann ([@svrnm](https://github.com/svrnm)) +* Steve Flanders ([@flands](https://github.com/flands)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 0.11.0 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1458](https://github.com/open-telemetry/opentelemetry-js/pull/1458) refactor: rename HttpText to TextMap propagator ([@dengliming](https://github.com/dengliming)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` - - [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) -- `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resources`, `opentelemetry-web` - - [#1419](https://github.com/open-telemetry/opentelemetry-js/pull/1419) chore!: refer to resource labels as attributes ([@mwear](https://github.com/mwear)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-sdk-node`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1458](https://github.com/open-telemetry/opentelemetry-js/pull/1458) refactor: rename HttpText to TextMap propagator ([@dengliming](https://github.com/dengliming)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` + * [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-resources`, `opentelemetry-web` + * [#1419](https://github.com/open-telemetry/opentelemetry-js/pull/1419) chore!: refer to resource labels as attributes ([@mwear](https://github.com/mwear)) ### :rocket: (Enhancement) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` - - [#1447](https://github.com/open-telemetry/opentelemetry-js/pull/1447) Move SpanContext isValid to the API ([@srjames90](https://github.com/srjames90)) -- `opentelemetry-plugin-xml-http-request` - - [#1476](https://github.com/open-telemetry/opentelemetry-js/pull/1476) Align xhr span name with spec ([@johnbley](https://github.com/johnbley)) -- `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` - - [#1469](https://github.com/open-telemetry/opentelemetry-js/pull/1469) chore: bump gcp-metadata ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-prometheus` - - [#1310](https://github.com/open-telemetry/opentelemetry-js/pull/1310) feat: prometheus serializer ([@legendecas](https://github.com/legendecas)) - - [#1428](https://github.com/open-telemetry/opentelemetry-js/pull/1428) feat: Add missing prometheus exports for ValueRecorder, SumObserver & UpDownSumObserver ([@paulfairless](https://github.com/paulfairless)) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1344](https://github.com/open-telemetry/opentelemetry-js/pull/1344) feat: introduces ability to suppress tracing via context ([@michaelgoin](https://github.com/michaelgoin)) -- `opentelemetry-api`, `opentelemetry-exporter-collector-proto`, `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing` - - [#1372](https://github.com/open-telemetry/opentelemetry-js/pull/1372) feat: adding possibility of recording exception ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` - - [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) -- `opentelemetry-metrics` - - [#1366](https://github.com/open-telemetry/opentelemetry-js/pull/1366) fix: ignore non-number value on BaseBoundInstrument.update ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-node` - - [#1440](https://github.com/open-telemetry/opentelemetry-js/pull/1440) fix: add Hapi and Koa to default supported plugins ([@carolinee21](https://github.com/carolinee21)) -- `opentelemetry-resources` - - [#1408](https://github.com/open-telemetry/opentelemetry-js/pull/1408) Feat: Migrate EC2 Plugin Resource Detector from IMDSv1 to IMDSv2 ([@EdZou](https://github.com/EdZou)) -- `opentelemetry-core` - - [#1349](https://github.com/open-telemetry/opentelemetry-js/pull/1349) feat: faster span and trace id generation ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-context-async-hooks` - - [#1356](https://github.com/open-telemetry/opentelemetry-js/pull/1356) feat: use a symbol to store patched listeners ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-semantic-conventions` - - [#1407](https://github.com/open-telemetry/opentelemetry-js/pull/1407) semantic conventions for operating system ([@obecny](https://github.com/obecny)) - - [#1409](https://github.com/open-telemetry/opentelemetry-js/pull/1409) removing semantic conventions from code coverage ([@obecny](https://github.com/obecny)) - - [#1388](https://github.com/open-telemetry/opentelemetry-js/pull/1388) chore: transpile semantic conventions to es5 ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing` + * [#1447](https://github.com/open-telemetry/opentelemetry-js/pull/1447) Move SpanContext isValid to the API ([@srjames90](https://github.com/srjames90)) +* `opentelemetry-plugin-xml-http-request` + * [#1476](https://github.com/open-telemetry/opentelemetry-js/pull/1476) Align xhr span name with spec ([@johnbley](https://github.com/johnbley)) +* `opentelemetry-resource-detector-gcp`, `opentelemetry-sdk-node` + * [#1469](https://github.com/open-telemetry/opentelemetry-js/pull/1469) chore: bump gcp-metadata ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-prometheus` + * [#1310](https://github.com/open-telemetry/opentelemetry-js/pull/1310) feat: prometheus serializer ([@legendecas](https://github.com/legendecas)) + * [#1428](https://github.com/open-telemetry/opentelemetry-js/pull/1428) feat: Add missing prometheus exports for ValueRecorder, SumObserver & UpDownSumObserver ([@paulfairless](https://github.com/paulfairless)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1344](https://github.com/open-telemetry/opentelemetry-js/pull/1344) feat: introduces ability to suppress tracing via context ([@michaelgoin](https://github.com/michaelgoin)) +* `opentelemetry-api`, `opentelemetry-exporter-collector-proto`, `opentelemetry-plugin-http`, `opentelemetry-semantic-conventions`, `opentelemetry-tracing` + * [#1372](https://github.com/open-telemetry/opentelemetry-js/pull/1372) feat: adding possibility of recording exception ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-exporter-collector-grpc`, `opentelemetry-exporter-collector-proto`, `opentelemetry-exporter-collector`, `opentelemetry-metrics` + * [#1446](https://github.com/open-telemetry/opentelemetry-js/pull/1446) Collector split ([@obecny](https://github.com/obecny)) +* `opentelemetry-metrics` + * [#1366](https://github.com/open-telemetry/opentelemetry-js/pull/1366) fix: ignore non-number value on BaseBoundInstrument.update ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-node` + * [#1440](https://github.com/open-telemetry/opentelemetry-js/pull/1440) fix: add Hapi and Koa to default supported plugins ([@carolinee21](https://github.com/carolinee21)) +* `opentelemetry-resources` + * [#1408](https://github.com/open-telemetry/opentelemetry-js/pull/1408) Feat: Migrate EC2 Plugin Resource Detector from IMDSv1 to IMDSv2 ([@EdZou](https://github.com/EdZou)) +* `opentelemetry-core` + * [#1349](https://github.com/open-telemetry/opentelemetry-js/pull/1349) feat: faster span and trace id generation ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-async-hooks` + * [#1356](https://github.com/open-telemetry/opentelemetry-js/pull/1356) feat: use a symbol to store patched listeners ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-semantic-conventions` + * [#1407](https://github.com/open-telemetry/opentelemetry-js/pull/1407) semantic conventions for operating system ([@obecny](https://github.com/obecny)) + * [#1409](https://github.com/open-telemetry/opentelemetry-js/pull/1409) removing semantic conventions from code coverage ([@obecny](https://github.com/obecny)) + * [#1388](https://github.com/open-telemetry/opentelemetry-js/pull/1388) chore: transpile semantic conventions to es5 ([@dyladan](https://github.com/dyladan)) ### :bug: (Bug Fix) -- `opentelemetry-api`, `opentelemetry-metrics` - - [#1373](https://github.com/open-telemetry/opentelemetry-js/pull/1373) fix: updates ValueRecorder to allow negative values ([@michaelgoin](https://github.com/michaelgoin)) -- `opentelemetry-metrics` - - [#1475](https://github.com/open-telemetry/opentelemetry-js/pull/1475) fix: proper histogram boundaries sort ([@AndrewGrachov](https://github.com/AndrewGrachov)) -- `opentelemetry-core` - - [#1336](https://github.com/open-telemetry/opentelemetry-js/pull/1336) fix: correlation context propagation extract for a single entry ([@rubenvp8510](https://github.com/rubenvp8510)) - - [#1406](https://github.com/open-telemetry/opentelemetry-js/pull/1406) Pass W3C Trace Context test suite at strictness 1 ([@michaelgoin](https://github.com/michaelgoin)) -- `opentelemetry-context-base` - - [#1387](https://github.com/open-telemetry/opentelemetry-js/pull/1387) fix: allow multiple instances of core to interact with context ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#1373](https://github.com/open-telemetry/opentelemetry-js/pull/1373) fix: updates ValueRecorder to allow negative values ([@michaelgoin](https://github.com/michaelgoin)) +* `opentelemetry-metrics` + * [#1475](https://github.com/open-telemetry/opentelemetry-js/pull/1475) fix: proper histogram boundaries sort ([@AndrewGrachov](https://github.com/AndrewGrachov)) +* `opentelemetry-core` + * [#1336](https://github.com/open-telemetry/opentelemetry-js/pull/1336) fix: correlation context propagation extract for a single entry ([@rubenvp8510](https://github.com/rubenvp8510)) + * [#1406](https://github.com/open-telemetry/opentelemetry-js/pull/1406) Pass W3C Trace Context test suite at strictness 1 ([@michaelgoin](https://github.com/michaelgoin)) +* `opentelemetry-context-base` + * [#1387](https://github.com/open-telemetry/opentelemetry-js/pull/1387) fix: allow multiple instances of core to interact with context ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -- `opentelemetry-exporter-collector` - - [#1432](https://github.com/open-telemetry/opentelemetry-js/pull/1432) docs(exporter-collector): CollectorTransportNode should be CollectorProtocolNode ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) - - [#1361](https://github.com/open-telemetry/opentelemetry-js/pull/1361) chore: adding info about collector compatible version, removing duplicated doc after merge ([@obecny](https://github.com/obecny)) -- `opentelemetry-metrics` - - [#1427](https://github.com/open-telemetry/opentelemetry-js/pull/1427) chore: fix histogram type documentation ([@TigerHe7](https://github.com/TigerHe7)) -- Other - - [#1431](https://github.com/open-telemetry/opentelemetry-js/pull/1431) Fix typo in document. ([@dengliming](https://github.com/dengliming)) +* `opentelemetry-exporter-collector` + * [#1432](https://github.com/open-telemetry/opentelemetry-js/pull/1432) docs(exporter-collector): CollectorTransportNode should be CollectorProtocolNode ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) + * [#1361](https://github.com/open-telemetry/opentelemetry-js/pull/1361) chore: adding info about collector compatible version, removing duplicated doc after merge ([@obecny](https://github.com/obecny)) +* `opentelemetry-metrics` + * [#1427](https://github.com/open-telemetry/opentelemetry-js/pull/1427) chore: fix histogram type documentation ([@TigerHe7](https://github.com/TigerHe7)) +* Other + * [#1431](https://github.com/open-telemetry/opentelemetry-js/pull/1431) Fix typo in document. ([@dengliming](https://github.com/dengliming)) ### Committers: 21 -- Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Cong Zou ([@EdZou](https://github.com/EdZou)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) -- Igor Konforti ([@confiq](https://github.com/confiq)) -- John Bley ([@johnbley](https://github.com/johnbley)) -- Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) -- Mark Wolff ([@markwolff](https://github.com/markwolff)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Michael Goin ([@michaelgoin](https://github.com/michaelgoin)) -- Paul Fairless ([@paulfairless](https://github.com/paulfairless)) -- Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) -- Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) -- Sergio Regueira ([@sergioregueira](https://github.com/sergioregueira)) -- Tiger He ([@TigerHe7](https://github.com/TigerHe7)) -- [@carolinee21](https://github.com/carolinee21) -- [@dengliming](https://github.com/dengliming) -- [@srjames90](https://github.com/srjames90) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Andrew ([@AndrewGrachov](https://github.com/AndrewGrachov)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Cong Zou ([@EdZou](https://github.com/EdZou)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Hongbo Miao ([@Hongbo-Miao](https://github.com/Hongbo-Miao)) +* Igor Konforti ([@confiq](https://github.com/confiq)) +* John Bley ([@johnbley](https://github.com/johnbley)) +* Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) +* Mark Wolff ([@markwolff](https://github.com/markwolff)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Michael Goin ([@michaelgoin](https://github.com/michaelgoin)) +* Paul Fairless ([@paulfairless](https://github.com/paulfairless)) +* Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) +* Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) +* Sergio Regueira ([@sergioregueira](https://github.com/sergioregueira)) +* Tiger He ([@TigerHe7](https://github.com/TigerHe7)) +* [@carolinee21](https://github.com/carolinee21) +* [@dengliming](https://github.com/dengliming) +* [@srjames90](https://github.com/srjames90) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 0.10.2 ### :rocket: (Enhancement) -- `opentelemetry-core`, `opentelemetry-tracing` - - [#1331](https://github.com/open-telemetry/opentelemetry-js/pull/1331) Feat: Make ID generator configurable ([@EdZou](https://github.com/EdZou)) -- `opentelemetry-api`, `opentelemetry-context-base` - - [#1368](https://github.com/open-telemetry/opentelemetry-js/pull/1368) feat(api/context-base): change compile target to es5 ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-core`, `opentelemetry-tracing` + * [#1331](https://github.com/open-telemetry/opentelemetry-js/pull/1331) Feat: Make ID generator configurable ([@EdZou](https://github.com/EdZou)) +* `opentelemetry-api`, `opentelemetry-context-base` + * [#1368](https://github.com/open-telemetry/opentelemetry-js/pull/1368) feat(api/context-base): change compile target to es5 ([@markwolff](https://github.com/markwolff)) ### Committers: 3 -- Cong Zou ([@EdZou](https://github.com/EdZou)) -- Mark Wolff ([@markwolff](https://github.com/markwolff)) -- Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) +* Cong Zou ([@EdZou](https://github.com/EdZou)) +* Mark Wolff ([@markwolff](https://github.com/markwolff)) +* Reginald McDonald ([@reggiemcdonald](https://github.com/reggiemcdonald)) ## 0.10.1 ### :bug: (Bug Fix) -- `opentelemetry-plugin-grpc-js` - - [#1358](https://github.com/open-telemetry/opentelemetry-js/pull/1358) fix: add missing grpc-js index ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-grpc-js` + * [#1358](https://github.com/open-telemetry/opentelemetry-js/pull/1358) fix: add missing grpc-js index ([@dyladan](https://github.com/dyladan)) ### Committers: 1 -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) ## 0.10.0 ### :boom: Breaking Change -- `opentelemetry-exporter-collector`, `opentelemetry-metrics` - - [#1292](https://github.com/open-telemetry/opentelemetry-js/pull/1292) feat: remove HistogramAggregator.reset ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) -- `opentelemetry-exporter-collector` - - [#1256](https://github.com/open-telemetry/opentelemetry-js/pull/1256) feat: [Collector Metric Exporter][1/x] Rename CollectorExporter to CollectorTraceExporter ([@davidwitten](https://github.com/davidwitten)) +* `opentelemetry-exporter-collector`, `opentelemetry-metrics` + * [#1292](https://github.com/open-telemetry/opentelemetry-js/pull/1292) feat: remove HistogramAggregator.reset ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector` + * [#1256](https://github.com/open-telemetry/opentelemetry-js/pull/1256) feat: [Collector Metric Exporter][1/x] Rename CollectorExporter to CollectorTraceExporter ([@davidwitten](https://github.com/davidwitten)) ### :rocket: (Enhancement) -- `opentelemetry-exporter-collector` - - [#1339](https://github.com/open-telemetry/opentelemetry-js/pull/1339) Proto update to latest to support arrays and maps ([@obecny](https://github.com/obecny)) - - [#1302](https://github.com/open-telemetry/opentelemetry-js/pull/1302) feat: adding proto over http for collector exporter ([@obecny](https://github.com/obecny)) - - [#1247](https://github.com/open-telemetry/opentelemetry-js/pull/1247) feat: adding json over http for collector exporter ([@obecny](https://github.com/obecny)) -- `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-tracing` - - [#974](https://github.com/open-telemetry/opentelemetry-js/pull/974) feat: add OTEL_LOG_LEVEL env var ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-sdk-node` - - [#1187](https://github.com/open-telemetry/opentelemetry-js/pull/1187) Add nodejs sdk package ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-shim-opentracing` - - [#918](https://github.com/open-telemetry/opentelemetry-js/pull/918) feat: add baggage support to the opentracing shim ([@rubenvp8510](https://github.com/rubenvp8510)) -- `opentelemetry-tracing` - - [#1069](https://github.com/open-telemetry/opentelemetry-js/pull/1069) feat: add OTEL_SAMPLING_PROBABILITY env var ([@naseemkullah](https://github.com/naseemkullah)) - - [#1296](https://github.com/open-telemetry/opentelemetry-js/pull/1296) feat: force flush and shutdown callback for span exporters ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-node` - - [#1343](https://github.com/open-telemetry/opentelemetry-js/pull/1343) feat(grpc-js): enable autoinstrumentation by default ([@markwolff](https://github.com/markwolff)) -- `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1276](https://github.com/open-telemetry/opentelemetry-js/pull/1276) chore: updating aggregator MinMaxLastSumCount and use it for value observer and value recorder ([@obecny](https://github.com/obecny)) -- `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-web` - - [#1262](https://github.com/open-telemetry/opentelemetry-js/pull/1262) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length ([@johnbley](https://github.com/johnbley)) -- `opentelemetry-resources` - - [#1211](https://github.com/open-telemetry/opentelemetry-js/pull/1211) Resource auto detection logging ([@adamegyed](https://github.com/adamegyed)) -- `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) -- `opentelemetry-core` - - [#1191](https://github.com/open-telemetry/opentelemetry-js/pull/1191) Add platform agnostic way to read environment variables ([@obecny](https://github.com/obecny)) -- `opentelemetry-context-async-hooks` - - [#1210](https://github.com/open-telemetry/opentelemetry-js/pull/1210) AsyncLocalStorage based ContextManager ([@johanneswuerbach](https://github.com/johanneswuerbach)) -- `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1237](https://github.com/open-telemetry/opentelemetry-js/pull/1237) fix(package.json): publish source maps ([@markwolff](https://github.com/markwolff)) -- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` - - [#1171](https://github.com/open-telemetry/opentelemetry-js/pull/1171) feat: add instrumentation library and update collector exporter ([@mwear](https://github.com/mwear)) -- `opentelemetry-plugin-xml-http-request` - - [#1216](https://github.com/open-telemetry/opentelemetry-js/pull/1216) Increase Test Coverage for XML Http Plugin ([@thgao](https://github.com/thgao)) -- `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-web` - - [#1218](https://github.com/open-telemetry/opentelemetry-js/pull/1218) fix: change default propagator to match spec ([@jonahrosenblum](https://github.com/jonahrosenblum)) +* `opentelemetry-exporter-collector` + * [#1339](https://github.com/open-telemetry/opentelemetry-js/pull/1339) Proto update to latest to support arrays and maps ([@obecny](https://github.com/obecny)) + * [#1302](https://github.com/open-telemetry/opentelemetry-js/pull/1302) feat: adding proto over http for collector exporter ([@obecny](https://github.com/obecny)) + * [#1247](https://github.com/open-telemetry/opentelemetry-js/pull/1247) feat: adding json over http for collector exporter ([@obecny](https://github.com/obecny)) +* `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-tracing` + * [#974](https://github.com/open-telemetry/opentelemetry-js/pull/974) feat: add OTEL_LOG_LEVEL env var ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-sdk-node` + * [#1187](https://github.com/open-telemetry/opentelemetry-js/pull/1187) Add nodejs sdk package ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-shim-opentracing` + * [#918](https://github.com/open-telemetry/opentelemetry-js/pull/918) feat: add baggage support to the opentracing shim ([@rubenvp8510](https://github.com/rubenvp8510)) +* `opentelemetry-tracing` + * [#1069](https://github.com/open-telemetry/opentelemetry-js/pull/1069) feat: add OTEL_SAMPLING_PROBABILITY env var ([@naseemkullah](https://github.com/naseemkullah)) + * [#1296](https://github.com/open-telemetry/opentelemetry-js/pull/1296) feat: force flush and shutdown callback for span exporters ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-node` + * [#1343](https://github.com/open-telemetry/opentelemetry-js/pull/1343) feat(grpc-js): enable autoinstrumentation by default ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-exporter-collector`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1276](https://github.com/open-telemetry/opentelemetry-js/pull/1276) chore: updating aggregator MinMaxLastSumCount and use it for value observer and value recorder ([@obecny](https://github.com/obecny)) +* `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-semantic-conventions`, `opentelemetry-web` + * [#1262](https://github.com/open-telemetry/opentelemetry-js/pull/1262) feat(opentelemetry-web): capture decodedBodySize / http.response_content_length ([@johnbley](https://github.com/johnbley)) +* `opentelemetry-resources` + * [#1211](https://github.com/open-telemetry/opentelemetry-js/pull/1211) Resource auto detection logging ([@adamegyed](https://github.com/adamegyed)) +* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1137](https://github.com/open-telemetry/opentelemetry-js/pull/1137) Batch observer ([@obecny](https://github.com/obecny)) +* `opentelemetry-core` + * [#1191](https://github.com/open-telemetry/opentelemetry-js/pull/1191) Add platform agnostic way to read environment variables ([@obecny](https://github.com/obecny)) +* `opentelemetry-context-async-hooks` + * [#1210](https://github.com/open-telemetry/opentelemetry-js/pull/1210) AsyncLocalStorage based ContextManager ([@johanneswuerbach](https://github.com/johanneswuerbach)) +* `opentelemetry-api`, `opentelemetry-context-async-hooks`, `opentelemetry-context-base`, `opentelemetry-context-zone-peer-dep`, `opentelemetry-context-zone`, `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-prometheus`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-node`, `opentelemetry-plugin-fetch`, `opentelemetry-plugin-grpc-js`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-resources`, `opentelemetry-semantic-conventions`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1237](https://github.com/open-telemetry/opentelemetry-js/pull/1237) fix(package.json): publish source maps ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-jaeger`, `opentelemetry-exporter-zipkin`, `opentelemetry-metrics`, `opentelemetry-tracing` + * [#1171](https://github.com/open-telemetry/opentelemetry-js/pull/1171) feat: add instrumentation library and update collector exporter ([@mwear](https://github.com/mwear)) +* `opentelemetry-plugin-xml-http-request` + * [#1216](https://github.com/open-telemetry/opentelemetry-js/pull/1216) Increase Test Coverage for XML Http Plugin ([@thgao](https://github.com/thgao)) +* `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-web` + * [#1218](https://github.com/open-telemetry/opentelemetry-js/pull/1218) fix: change default propagator to match spec ([@jonahrosenblum](https://github.com/jonahrosenblum)) ### :bug: (Bug Fix) -- `opentelemetry-plugin-grpc` - - [#1289](https://github.com/open-telemetry/opentelemetry-js/pull/1289) fix(grpc): camelCase methods can be double patched ([@markwolff](https://github.com/markwolff)) -- `opentelemetry-plugin-fetch` - - [#1274](https://github.com/open-telemetry/opentelemetry-js/pull/1274) fix: do not crash on fetch(new Request(url)) ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-core` - - [#1269](https://github.com/open-telemetry/opentelemetry-js/pull/1269) fix(opentelemetry-core): modify regex to allow future versions ([@srjames90](https://github.com/srjames90)) -- `opentelemetry-exporter-collector` - - [#1254](https://github.com/open-telemetry/opentelemetry-js/pull/1254) fix: default url for otelcol ([@jufab](https://github.com/jufab)) +* `opentelemetry-plugin-grpc` + * [#1289](https://github.com/open-telemetry/opentelemetry-js/pull/1289) fix(grpc): camelCase methods can be double patched ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-plugin-fetch` + * [#1274](https://github.com/open-telemetry/opentelemetry-js/pull/1274) fix: do not crash on fetch(new Request(url)) ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-core` + * [#1269](https://github.com/open-telemetry/opentelemetry-js/pull/1269) fix(opentelemetry-core): modify regex to allow future versions ([@srjames90](https://github.com/srjames90)) +* `opentelemetry-exporter-collector` + * [#1254](https://github.com/open-telemetry/opentelemetry-js/pull/1254) fix: default url for otelcol ([@jufab](https://github.com/jufab)) ### :books: (Refine Doc) -- `opentelemetry-metrics` - - [#1239](https://github.com/open-telemetry/opentelemetry-js/pull/1239) chore: update metrics example with UpDownCounter ([@mayurkale22](https://github.com/mayurkale22)) -- `opentelemetry-exporter-jaeger` - - [#1234](https://github.com/open-telemetry/opentelemetry-js/pull/1234) docs: add note about endpoint config option ([@danielmbarlow](https://github.com/danielmbarlow)) -- `opentelemetry-api` - - [#1231](https://github.com/open-telemetry/opentelemetry-js/pull/1231) fix(jsdoc): change null to undefined ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-metrics` + * [#1239](https://github.com/open-telemetry/opentelemetry-js/pull/1239) chore: update metrics example with UpDownCounter ([@mayurkale22](https://github.com/mayurkale22)) +* `opentelemetry-exporter-jaeger` + * [#1234](https://github.com/open-telemetry/opentelemetry-js/pull/1234) docs: add note about endpoint config option ([@danielmbarlow](https://github.com/danielmbarlow)) +* `opentelemetry-api` + * [#1231](https://github.com/open-telemetry/opentelemetry-js/pull/1231) fix(jsdoc): change null to undefined ([@markwolff](https://github.com/markwolff)) ### :sparkles: (Feature) -- `opentelemetry-api`, `opentelemetry-metrics` - - [#1272](https://github.com/open-telemetry/opentelemetry-js/pull/1272) feat: adding new metric: up down sum observer ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#1272](https://github.com/open-telemetry/opentelemetry-js/pull/1272) feat: adding new metric: up down sum observer ([@obecny](https://github.com/obecny)) ### Committers: 21 -- Adam Egyed ([@adamegyed](https://github.com/adamegyed)) -- Aravin ([@aravinsiva](https://github.com/aravinsiva)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Bryan Clement ([@lykkin](https://github.com/lykkin)) -- Connor Lindsey ([@connorlindsey](https://github.com/connorlindsey)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Daniel M Barlow ([@danielmbarlow](https://github.com/danielmbarlow)) -- David W. ([@davidwitten](https://github.com/davidwitten)) -- Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) -- John Bley ([@johnbley](https://github.com/johnbley)) -- Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) -- Julien FABRE ([@jufab](https://github.com/jufab)) -- Mark Wolff ([@markwolff](https://github.com/markwolff)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) -- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) -- Tina Gao ([@thgao](https://github.com/thgao)) -- [@srjames90](https://github.com/srjames90) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Adam Egyed ([@adamegyed](https://github.com/adamegyed)) +* Aravin ([@aravinsiva](https://github.com/aravinsiva)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Bryan Clement ([@lykkin](https://github.com/lykkin)) +* Connor Lindsey ([@connorlindsey](https://github.com/connorlindsey)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Daniel M Barlow ([@danielmbarlow](https://github.com/danielmbarlow)) +* David W. ([@davidwitten](https://github.com/davidwitten)) +* Johannes Würbach ([@johanneswuerbach](https://github.com/johanneswuerbach)) +* John Bley ([@johnbley](https://github.com/johnbley)) +* Jonah Rosenblum ([@jonahrosenblum](https://github.com/jonahrosenblum)) +* Julien FABRE ([@jufab](https://github.com/jufab)) +* Mark Wolff ([@markwolff](https://github.com/markwolff)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) +* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +* Tina Gao ([@thgao](https://github.com/thgao)) +* [@srjames90](https://github.com/srjames90) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 0.9.0 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#1120](https://github.com/open-telemetry/opentelemetry-js/pull/1120) feat: add the UpDownCounter instrument ([@mayurkale22](https://github.com/mayurkale22)) - - [#1126](https://github.com/open-telemetry/opentelemetry-js/pull/1126) feat!: remove label keys as they are no longer part of the spec ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-api`, `opentelemetry-metrics` - - [#1117](https://github.com/open-telemetry/opentelemetry-js/pull/1117) chore: rename meaure to value recorder ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` - - [#1058](https://github.com/open-telemetry/opentelemetry-js/pull/1058) feat: spec compliant sampling result support ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-api`, `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#1120](https://github.com/open-telemetry/opentelemetry-js/pull/1120) feat: add the UpDownCounter instrument ([@mayurkale22](https://github.com/mayurkale22)) + * [#1126](https://github.com/open-telemetry/opentelemetry-js/pull/1126) feat!: remove label keys as they are no longer part of the spec ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#1117](https://github.com/open-telemetry/opentelemetry-js/pull/1117) chore: rename meaure to value recorder ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-core`, `opentelemetry-tracing` + * [#1058](https://github.com/open-telemetry/opentelemetry-js/pull/1058) feat: spec compliant sampling result support ([@legendecas](https://github.com/legendecas)) ### :rocket: (Enhancement) -- Other - - [#1181](https://github.com/open-telemetry/opentelemetry-js/pull/1181) feat: add node-plugins-all package ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-web` - - [#1121](https://github.com/open-telemetry/opentelemetry-js/pull/1121) chore: adding plugin-fetch and example ([@obecny](https://github.com/obecny)) -- `opentelemetry-node` - - [#1153](https://github.com/open-telemetry/opentelemetry-js/pull/1153) feat: add OPENTELEMETRY_NO_PATCH_MODULES ([@markwolff](https://github.com/markwolff)) - - [#1151](https://github.com/open-telemetry/opentelemetry-js/pull/1151) chore(todo): add missing span sampling test ([@markwolff](https://github.com/markwolff)) -- `opentelemetry-exporter-jaeger` - - [#965](https://github.com/open-telemetry/opentelemetry-js/pull/965) feat(opentelemetry-exporter-jaeger): http sender ([@leonardodalcin](https://github.com/leonardodalcin)) -- `opentelemetry-exporter-zipkin` - - [#1138](https://github.com/open-telemetry/opentelemetry-js/pull/1138) feat(opentelemetry-js): infer zipkin service name from resource ([@rezakrimi](https://github.com/rezakrimi)) -- `opentelemetry-plugin-xml-http-request` - - [#1133](https://github.com/open-telemetry/opentelemetry-js/pull/1133) fix(plugin-xml-http-request): support sync requests ([@johnbley](https://github.com/johnbley)) -- `opentelemetry-metrics` - - [#1145](https://github.com/open-telemetry/opentelemetry-js/pull/1145) chore: creating new metric kind ([@obecny](https://github.com/obecny)) -- `opentelemetry-exporter-collector` - - [#1204](https://github.com/open-telemetry/opentelemetry-js/pull/1204) feat: collector exporter custom headers and metadata ([@mwear](https://github.com/mwear)) -- `opentelemetry-exporter-zipkin` - - [#1202](https://github.com/open-telemetry/opentelemetry-js/pull/1202) Adds possibility to set headers to zipkin exporter ([@obecny](https://github.com/obecny)) +* Other + * [#1181](https://github.com/open-telemetry/opentelemetry-js/pull/1181) feat: add node-plugins-all package ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-fetch`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-web` + * [#1121](https://github.com/open-telemetry/opentelemetry-js/pull/1121) chore: adding plugin-fetch and example ([@obecny](https://github.com/obecny)) +* `opentelemetry-node` + * [#1153](https://github.com/open-telemetry/opentelemetry-js/pull/1153) feat: add OPENTELEMETRY_NO_PATCH_MODULES ([@markwolff](https://github.com/markwolff)) + * [#1151](https://github.com/open-telemetry/opentelemetry-js/pull/1151) chore(todo): add missing span sampling test ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-exporter-jaeger` + * [#965](https://github.com/open-telemetry/opentelemetry-js/pull/965) feat(opentelemetry-exporter-jaeger): http sender ([@leonardodalcin](https://github.com/leonardodalcin)) +* `opentelemetry-exporter-zipkin` + * [#1138](https://github.com/open-telemetry/opentelemetry-js/pull/1138) feat(opentelemetry-js): infer zipkin service name from resource ([@rezakrimi](https://github.com/rezakrimi)) +* `opentelemetry-plugin-xml-http-request` + * [#1133](https://github.com/open-telemetry/opentelemetry-js/pull/1133) fix(plugin-xml-http-request): support sync requests ([@johnbley](https://github.com/johnbley)) +* `opentelemetry-metrics` + * [#1145](https://github.com/open-telemetry/opentelemetry-js/pull/1145) chore: creating new metric kind ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector` + * [#1204](https://github.com/open-telemetry/opentelemetry-js/pull/1204) feat: collector exporter custom headers and metadata ([@mwear](https://github.com/mwear)) +* `opentelemetry-exporter-zipkin` + * [#1202](https://github.com/open-telemetry/opentelemetry-js/pull/1202) Adds possibility to set headers to zipkin exporter ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-exporter-collector` - - [#1197](https://github.com/open-telemetry/opentelemetry-js/pull/1197) fix(exporter-collector): default endpoint for node and browser ([@davidwitten](https://github.com/davidwitten)) -- `opentelemetry-context-zone-peer-dep` - - [#1209](https://github.com/open-telemetry/opentelemetry-js/pull/1209) chore: fixing zone from which to fork a new zone ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector` + * [#1197](https://github.com/open-telemetry/opentelemetry-js/pull/1197) fix(exporter-collector): default endpoint for node and browser ([@davidwitten](https://github.com/davidwitten)) +* `opentelemetry-context-zone-peer-dep` + * [#1209](https://github.com/open-telemetry/opentelemetry-js/pull/1209) chore: fixing zone from which to fork a new zone ([@obecny](https://github.com/obecny)) ### :sparkles: (Feature) -- `opentelemetry-semantic-conventions` - - [#1160](https://github.com/open-telemetry/opentelemetry-js/pull/1160) refactor(attributes): move enums to @opentelemetry/semantic-conventions ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-semantic-conventions` + * [#1160](https://github.com/open-telemetry/opentelemetry-js/pull/1160) refactor(attributes): move enums to @opentelemetry/semantic-conventions ([@markwolff](https://github.com/markwolff)) ### :books: (Refine Doc) -- Other - - [#1192](https://github.com/open-telemetry/opentelemetry-js/pull/1192) Fix_typo ([@shivkanya9146](https://github.com/shivkanya9146)) - - [#1147](https://github.com/open-telemetry/opentelemetry-js/pull/1147) ci: lint markdown files ([@naseemkullah](https://github.com/naseemkullah)) - - [#1142](https://github.com/open-telemetry/opentelemetry-js/pull/1142) chore: template prometheus endpoint in examples rather than hardcode ([@naseemkullah](https://github.com/naseemkullah)) - - [#1217](https://github.com/open-telemetry/opentelemetry-js/pull/1217) chore: fix markdown linting and add npm script ([@dyladan](https://github.com/dyladan)) +* Other + * [#1192](https://github.com/open-telemetry/opentelemetry-js/pull/1192) Fix_typo ([@shivkanya9146](https://github.com/shivkanya9146)) + * [#1147](https://github.com/open-telemetry/opentelemetry-js/pull/1147) ci: lint markdown files ([@naseemkullah](https://github.com/naseemkullah)) + * [#1142](https://github.com/open-telemetry/opentelemetry-js/pull/1142) chore: template prometheus endpoint in examples rather than hardcode ([@naseemkullah](https://github.com/naseemkullah)) + * [#1217](https://github.com/open-telemetry/opentelemetry-js/pull/1217) chore: fix markdown linting and add npm script ([@dyladan](https://github.com/dyladan)) ### Committers: 13 -- David W. ([@davidwitten](https://github.com/davidwitten)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Mark Wolff ([@markwolff](https://github.com/markwolff)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- legendecas ([@legendecas](https://github.com/legendecas)) -- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) -- Leonardo Dalcin ([@leonardodalcin](https://github.com/leonardodalcin)) -- [@rezakrimi](https://github.com/rezakrimi) -- John Bley ([@johnbley](https://github.com/johnbley)) -- Matthew Wear ([@mwear](https://github.com/mwear)) +* David W. ([@davidwitten](https://github.com/davidwitten)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Mark Wolff ([@markwolff](https://github.com/markwolff)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* legendecas ([@legendecas](https://github.com/legendecas)) +* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +* Leonardo Dalcin ([@leonardodalcin](https://github.com/leonardodalcin)) +* [@rezakrimi](https://github.com/rezakrimi) +* John Bley ([@johnbley](https://github.com/johnbley)) +* Matthew Wear ([@mwear](https://github.com/mwear)) ## 0.8.3 ### :rocket: (Enhancement) -- `opentelemetry-node` - - [#980](https://github.com/open-telemetry/opentelemetry-js/pull/980) feat: merge user supplied and default plugin configs ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-node` + * [#980](https://github.com/open-telemetry/opentelemetry-js/pull/980) feat: merge user supplied and default plugin configs ([@naseemkullah](https://github.com/naseemkullah)) ### :bug: (Bug Fix) -- `opentelemetry-context-async-hooks` - - [#1099](https://github.com/open-telemetry/opentelemetry-js/pull/1099) fix(asynchooks-scope): fix context loss using .with() #1101 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-context-async-hooks` + * [#1099](https://github.com/open-telemetry/opentelemetry-js/pull/1099) fix(asynchooks-scope): fix context loss using .with() #1101 ([@vmarchaud](https://github.com/vmarchaud)) ### :books: (Refine Doc) -- Other - - [#1100](https://github.com/open-telemetry/opentelemetry-js/pull/1100) docs(batcher): document how to configure custom aggregators #989 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-api` - - [#1106](https://github.com/open-telemetry/opentelemetry-js/pull/1106) chore: improve API documentation ([@mayurkale22](https://github.com/mayurkale22)) +* Other + * [#1100](https://github.com/open-telemetry/opentelemetry-js/pull/1100) docs(batcher): document how to configure custom aggregators #989 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-api` + * [#1106](https://github.com/open-telemetry/opentelemetry-js/pull/1106) chore: improve API documentation ([@mayurkale22](https://github.com/mayurkale22)) ### Committers: 7 -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Kanika Shah ([@kanikashah90](https://github.com/kanikashah90)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- [@shivkanya9146](https://github.com/shivkanya9146) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Kanika Shah ([@kanikashah90](https://github.com/kanikashah90)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* [@shivkanya9146](https://github.com/shivkanya9146) ## 0.8.2 ### :rocket: (Enhancement) -- `opentelemetry-exporter-collector` - - [#1063](https://github.com/open-telemetry/opentelemetry-js/pull/1063) feat: exporter collector TLS option ([@mzahor](https://github.com/mzahor)) -- `opentelemetry-core` - - [#838](https://github.com/open-telemetry/opentelemetry-js/pull/838) feat: implement W3C Correlation Context propagator ([@rubenvp8510](https://github.com/rubenvp8510)) +* `opentelemetry-exporter-collector` + * [#1063](https://github.com/open-telemetry/opentelemetry-js/pull/1063) feat: exporter collector TLS option ([@mzahor](https://github.com/mzahor)) +* `opentelemetry-core` + * [#838](https://github.com/open-telemetry/opentelemetry-js/pull/838) feat: implement W3C Correlation Context propagator ([@rubenvp8510](https://github.com/rubenvp8510)) ### :bug: (Bug Fix) -- `opentelemetry-api` - - [#1067](https://github.com/open-telemetry/opentelemetry-js/pull/1067) fix: missing `global` in browser environments ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-api` + * [#1067](https://github.com/open-telemetry/opentelemetry-js/pull/1067) fix: missing `global` in browser environments ([@legendecas](https://github.com/legendecas)) ### :books: (Refine Doc) -- Other - - [#1057](https://github.com/open-telemetry/opentelemetry-js/pull/1057) chore: add examples README.md ([@mayurkale22](https://github.com/mayurkale22)) -- `opentelemetry-core` - - [#1080](https://github.com/open-telemetry/opentelemetry-js/pull/1080) docs: document CorrelationContext propagator under Built-in Implement… ([@rubenvp8510](https://github.com/rubenvp8510)) +* Other + * [#1057](https://github.com/open-telemetry/opentelemetry-js/pull/1057) chore: add examples README.md ([@mayurkale22](https://github.com/mayurkale22)) +* `opentelemetry-core` + * [#1080](https://github.com/open-telemetry/opentelemetry-js/pull/1080) docs: document CorrelationContext propagator under Built-in Implement… ([@rubenvp8510](https://github.com/rubenvp8510)) ### Committers: 5 -- Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) -- Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) -- legendecas ([@legendecas](https://github.com/legendecas)) +* Marian Zagoruiko ([@mzahor](https://github.com/mzahor)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Olivier Albertini ([@OlivierAlbertini](https://github.com/OlivierAlbertini)) +* Ruben Vargas Palma ([@rubenvp8510](https://github.com/rubenvp8510)) +* legendecas ([@legendecas](https://github.com/legendecas)) ## 0.8.1 ### :rocket: (Enhancement) -- Other - - [#1050](https://github.com/open-telemetry/opentelemetry-js/pull/1050) feat: add plugin metapackages ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-resources` - - [#1055](https://github.com/open-telemetry/opentelemetry-js/pull/1055) chore(opentelemetry-resources): add instance type and az to aws detector ([@justinwalz](https://github.com/justinwalz)) -- `opentelemetry-plugin-http` - - [#963](https://github.com/open-telemetry/opentelemetry-js/pull/963) feat(plugin-http): add plugin hooks before processing req and res ([@BlumAmir](https://github.com/BlumAmir)) -- `opentelemetry-metrics` - - [#1049](https://github.com/open-telemetry/opentelemetry-js/pull/1049) chore: pipe resource through to MetricRecord ([@mwear](https://github.com/mwear)) -- `opentelemetry-api`, `opentelemetry-metrics` - - [#1032](https://github.com/open-telemetry/opentelemetry-js/pull/1032) Make Labels Optional for CounterMetric::add ([@astorm](https://github.com/astorm)) +* Other + * [#1050](https://github.com/open-telemetry/opentelemetry-js/pull/1050) feat: add plugin metapackages ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-resources` + * [#1055](https://github.com/open-telemetry/opentelemetry-js/pull/1055) chore(opentelemetry-resources): add instance type and az to aws detector ([@justinwalz](https://github.com/justinwalz)) +* `opentelemetry-plugin-http` + * [#963](https://github.com/open-telemetry/opentelemetry-js/pull/963) feat(plugin-http): add plugin hooks before processing req and res ([@BlumAmir](https://github.com/BlumAmir)) +* `opentelemetry-metrics` + * [#1049](https://github.com/open-telemetry/opentelemetry-js/pull/1049) chore: pipe resource through to MetricRecord ([@mwear](https://github.com/mwear)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#1032](https://github.com/open-telemetry/opentelemetry-js/pull/1032) Make Labels Optional for CounterMetric::add ([@astorm](https://github.com/astorm)) ### :bug: (Bug Fix) -- `opentelemetry-plugin-http` - - [#1060](https://github.com/open-telemetry/opentelemetry-js/pull/1060) fix(http-plugin): don't modify user's headers object in plugin ([@BlumAmir](https://github.com/BlumAmir)) -- `opentelemetry-exporter-collector` - - [#1053](https://github.com/open-telemetry/opentelemetry-js/pull/1053) fix: include proto files in deployment package ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-http` + * [#1060](https://github.com/open-telemetry/opentelemetry-js/pull/1060) fix(http-plugin): don't modify user's headers object in plugin ([@BlumAmir](https://github.com/BlumAmir)) +* `opentelemetry-exporter-collector` + * [#1053](https://github.com/open-telemetry/opentelemetry-js/pull/1053) fix: include proto files in deployment package ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -- Other - - [#1065](https://github.com/open-telemetry/opentelemetry-js/pull/1065) style: format README ([@naseemkullah](https://github.com/naseemkullah)) - - [#1064](https://github.com/open-telemetry/opentelemetry-js/pull/1064) chore: update README ([@mayurkale22](https://github.com/mayurkale22)) - - [#1051](https://github.com/open-telemetry/opentelemetry-js/pull/1051) chore: deploy docs using github action ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-prometheus` - - [#1056](https://github.com/open-telemetry/opentelemetry-js/pull/1056) fix readme: setting labelKeys when creating the counter ([@luebken](https://github.com/luebken)) +* Other + * [#1065](https://github.com/open-telemetry/opentelemetry-js/pull/1065) style: format README ([@naseemkullah](https://github.com/naseemkullah)) + * [#1064](https://github.com/open-telemetry/opentelemetry-js/pull/1064) chore: update README ([@mayurkale22](https://github.com/mayurkale22)) + * [#1051](https://github.com/open-telemetry/opentelemetry-js/pull/1051) chore: deploy docs using github action ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-prometheus` + * [#1056](https://github.com/open-telemetry/opentelemetry-js/pull/1056) fix readme: setting labelKeys when creating the counter ([@luebken](https://github.com/luebken)) ### Committers: 9 -- Alan Storm ([@astorm](https://github.com/astorm)) -- Amir Blum ([@BlumAmir](https://github.com/BlumAmir)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Justin Walz ([@justinwalz](https://github.com/justinwalz)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Matthias Lübken ([@luebken](https://github.com/luebken)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- [@shivkanya9146](https://github.com/shivkanya9146) +* Alan Storm ([@astorm](https://github.com/astorm)) +* Amir Blum ([@BlumAmir](https://github.com/BlumAmir)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Justin Walz ([@justinwalz](https://github.com/justinwalz)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Matthias Lübken ([@luebken](https://github.com/luebken)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* [@shivkanya9146](https://github.com/shivkanya9146) ## 0.8.0 @@ -1918,58 +1918,58 @@ Released 2020-05-12 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-metrics` - - [#1001](https://github.com/open-telemetry/opentelemetry-js/pull/1001) fix: observers should not expose bind/unbind method ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#1001](https://github.com/open-telemetry/opentelemetry-js/pull/1001) fix: observers should not expose bind/unbind method ([@legendecas](https://github.com/legendecas)) ### :bug: (Bug Fix) -- `opentelemetry-plugin-http` - - [#984](https://github.com/open-telemetry/opentelemetry-js/pull/984) fix(http-plugin): strip otel custom http header #983 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-core` - - [#1021](https://github.com/open-telemetry/opentelemetry-js/pull/1021) fix: left pad short b3 trace identifiers ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-plugin-xml-http-reques` - - [#1002](https://github.com/open-telemetry/opentelemetry-js/pull/1002) fix(opentelemetry-plugin-xml-http-request): define span kind as CLIENT for xmlhttprequests ([@ivansenic](https://github.com/ivansenic)) -- `opentelemetry-plugin-grpc` - - [#1005](https://github.com/open-telemetry/opentelemetry-js/pull/1005) fix: add missing error status handler ([@markwolff](https://github.com/markwolff)) -- `opentelemetry-exporter-collector` - - [#1008](https://github.com/open-telemetry/opentelemetry-js/pull/1008) fix: permission denied error when cloning submodules ([@sleighzy](https://github.com/sleighzy)) +* `opentelemetry-plugin-http` + * [#984](https://github.com/open-telemetry/opentelemetry-js/pull/984) fix(http-plugin): strip otel custom http header #983 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-core` + * [#1021](https://github.com/open-telemetry/opentelemetry-js/pull/1021) fix: left pad short b3 trace identifiers ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-xml-http-reques` + * [#1002](https://github.com/open-telemetry/opentelemetry-js/pull/1002) fix(opentelemetry-plugin-xml-http-request): define span kind as CLIENT for xmlhttprequests ([@ivansenic](https://github.com/ivansenic)) +* `opentelemetry-plugin-grpc` + * [#1005](https://github.com/open-telemetry/opentelemetry-js/pull/1005) fix: add missing error status handler ([@markwolff](https://github.com/markwolff)) +* `opentelemetry-exporter-collector` + * [#1008](https://github.com/open-telemetry/opentelemetry-js/pull/1008) fix: permission denied error when cloning submodules ([@sleighzy](https://github.com/sleighzy)) ### :rocket: (Enhancement) -- `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` - - [#1037](https://github.com/open-telemetry/opentelemetry-js/pull/1037) fix(tracing): span processor should receive a readable span as parameters ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-tracing` - - [#1024](https://github.com/open-telemetry/opentelemetry-js/pull/1024) fix: multi span processor should flush child span processors ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-metrics`, `opentelemetry-tracing` - - [#1015](https://github.com/open-telemetry/opentelemetry-js/pull/1015) fix: prevent duplicated resource creation ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-metrics` - - [#1014](https://github.com/open-telemetry/opentelemetry-js/pull/1014) feat(metrics): use MetricDescriptor to determine aggregator #989 ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-plugin-http` - - [#948](https://github.com/open-telemetry/opentelemetry-js/pull/948) feat(http-plugin): add options to disable new spans if no parent ([@vmarchaud](https://github.com/vmarchaud)) -- `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing`, `opentelemetry-web` - - [#943](https://github.com/open-telemetry/opentelemetry-js/pull/943) Use global API instances ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api` - - [#1016](https://github.com/open-telemetry/opentelemetry-js/pull/1016) refactor: normalize namespace import name for @opentelemetry/api ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-core`, `opentelemetry-base` - - [#991](https://github.com/open-telemetry/opentelemetry-js/pull/991) refactor: merge opentelemetry-base to opentelemetry-core ([@legendecas](https://github.com/legendecas)) -- `opentelemetry-core` - - [#981](https://github.com/open-telemetry/opentelemetry-js/pull/981) chore: splitting BasePlugin into browser and node ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-zipkin`, `opentelemetry-plugin-http`, `opentelemetry-tracing` + * [#1037](https://github.com/open-telemetry/opentelemetry-js/pull/1037) fix(tracing): span processor should receive a readable span as parameters ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-tracing` + * [#1024](https://github.com/open-telemetry/opentelemetry-js/pull/1024) fix: multi span processor should flush child span processors ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-metrics`, `opentelemetry-tracing` + * [#1015](https://github.com/open-telemetry/opentelemetry-js/pull/1015) fix: prevent duplicated resource creation ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-metrics` + * [#1014](https://github.com/open-telemetry/opentelemetry-js/pull/1014) feat(metrics): use MetricDescriptor to determine aggregator #989 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-plugin-http` + * [#948](https://github.com/open-telemetry/opentelemetry-js/pull/948) feat(http-plugin): add options to disable new spans if no parent ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-api`, `opentelemetry-node`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-tracing`, `opentelemetry-web` + * [#943](https://github.com/open-telemetry/opentelemetry-js/pull/943) Use global API instances ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api` + * [#1016](https://github.com/open-telemetry/opentelemetry-js/pull/1016) refactor: normalize namespace import name for @opentelemetry/api ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-core`, `opentelemetry-base` + * [#991](https://github.com/open-telemetry/opentelemetry-js/pull/991) refactor: merge opentelemetry-base to opentelemetry-core ([@legendecas](https://github.com/legendecas)) +* `opentelemetry-core` + * [#981](https://github.com/open-telemetry/opentelemetry-js/pull/981) chore: splitting BasePlugin into browser and node ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -- Other - - [#1003](https://github.com/open-telemetry/opentelemetry-js/pull/1003) chore: test on node 14 ([@dyladan](https://github.com/dyladan)) - - [#990](https://github.com/open-telemetry/opentelemetry-js/pull/990) fix(opentracing-shim): update opentracing shim example ([@sleighzy](https://github.com/sleighzy)) +* Other + * [#1003](https://github.com/open-telemetry/opentelemetry-js/pull/1003) chore: test on node 14 ([@dyladan](https://github.com/dyladan)) + * [#990](https://github.com/open-telemetry/opentelemetry-js/pull/990) fix(opentracing-shim): update opentracing shim example ([@sleighzy](https://github.com/sleighzy)) ### Committers: 7 -- legendecas ([@legendecas](https://github.com/legendecas)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Ivan Senic ([@ivansenic](https://github.com/ivansenic)) -- Mark Wolff ([@markwolff](https://github.com/markwolff)) -- Simon Leigh ([@sleighzy](https://github.com/sleighzy)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* legendecas ([@legendecas](https://github.com/legendecas)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Ivan Senic ([@ivansenic](https://github.com/ivansenic)) +* Mark Wolff ([@markwolff](https://github.com/markwolff)) +* Simon Leigh ([@sleighzy](https://github.com/sleighzy)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) ## 0.7.0 @@ -1977,32 +1977,32 @@ Released 2020-04-23 ### :boom: Breaking Change -- `opentelemetry-exporter-collector` - - [#901](https://github.com/open-telemetry/opentelemetry-js/pull/901) grpc for node and support for new proto format for node and browser ([@obecny](https://github.com/obecny)) -- `opentelemetry-api`, `opentelemetry-metrics` - - [#964](https://github.com/open-telemetry/opentelemetry-js/pull/964) chore: adding metric observable to be able to support async update ([@obecny](https://github.com/obecny)) +* `opentelemetry-exporter-collector` + * [#901](https://github.com/open-telemetry/opentelemetry-js/pull/901) grpc for node and support for new proto format for node and browser ([@obecny](https://github.com/obecny)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#964](https://github.com/open-telemetry/opentelemetry-js/pull/964) chore: adding metric observable to be able to support async update ([@obecny](https://github.com/obecny)) ### :bug: (Bug Fix) -- `opentelemetry-plugin-http` - - [#960](https://github.com/open-telemetry/opentelemetry-js/pull/960) [http] fix: use url.URL ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-core` - - [#977](https://github.com/open-telemetry/opentelemetry-js/pull/977) fix(B3Propagator): B3 sampled causing gRPC error ([@mayurkale22](https://github.com/mayurkale22)) +* `opentelemetry-plugin-http` + * [#960](https://github.com/open-telemetry/opentelemetry-js/pull/960) [http] fix: use url.URL ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-core` + * [#977](https://github.com/open-telemetry/opentelemetry-js/pull/977) fix(B3Propagator): B3 sampled causing gRPC error ([@mayurkale22](https://github.com/mayurkale22)) ### :rocket: (Enhancement) -- `opentelemetry-resources` - - [#899](https://github.com/open-telemetry/opentelemetry-js/pull/899) feat: resource auto-detection ([@mwear](https://github.com/mwear)) -- `opentelemetry-metrics` - - [#930](https://github.com/open-telemetry/opentelemetry-js/pull/930) feat(aggregators): implement histogram aggregator ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-resources` + * [#899](https://github.com/open-telemetry/opentelemetry-js/pull/899) feat: resource auto-detection ([@mwear](https://github.com/mwear)) +* `opentelemetry-metrics` + * [#930](https://github.com/open-telemetry/opentelemetry-js/pull/930) feat(aggregators): implement histogram aggregator ([@vmarchaud](https://github.com/vmarchaud)) ### Committers: 5 -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Matthew Wear ([@mwear](https://github.com/mwear)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Matthew Wear ([@mwear](https://github.com/mwear)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) ## 0.6.1 @@ -2010,29 +2010,29 @@ Released 2020-04-08 ### :rocket: (Enhancement) -- `opentelemetry-exporter-jaeger` - - [#924](https://github.com/open-telemetry/opentelemetry-js/pull/924) [Jaeger-Exporter] host default env var ([@naseemkullah](https://github.com/naseemkullah)) -- `opentelemetry-metrics` - - [#933](https://github.com/open-telemetry/opentelemetry-js/pull/933) feat(meter): allow custom batcher #932 ([@vmarchaud](https://github.com/vmarchaud)) +* `opentelemetry-exporter-jaeger` + * [#924](https://github.com/open-telemetry/opentelemetry-js/pull/924) [Jaeger-Exporter] host default env var ([@naseemkullah](https://github.com/naseemkullah)) +* `opentelemetry-metrics` + * [#933](https://github.com/open-telemetry/opentelemetry-js/pull/933) feat(meter): allow custom batcher #932 ([@vmarchaud](https://github.com/vmarchaud)) ### :bug: (Bug Fix) -- `opentelemetry-plugin-http` - - [#946](https://github.com/open-telemetry/opentelemetry-js/pull/946) Remove bad null check ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#941](https://github.com/open-telemetry/opentelemetry-js/pull/941) fix: do not clear other labelsets when updating metrics ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-http` + * [#946](https://github.com/open-telemetry/opentelemetry-js/pull/946) Remove bad null check ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#941](https://github.com/open-telemetry/opentelemetry-js/pull/941) fix: do not clear other labelsets when updating metrics ([@dyladan](https://github.com/dyladan)) ### :books: (Refine Doc) -- `opentelemetry-propagator-jaeger` - - [#937](https://github.com/open-telemetry/opentelemetry-js/pull/937) fix: Jaeger propagator example of usage" ([@shivkanya9146](https://github.com/shivkanya9146)) +* `opentelemetry-propagator-jaeger` + * [#937](https://github.com/open-telemetry/opentelemetry-js/pull/937) fix: Jaeger propagator example of usage" ([@shivkanya9146](https://github.com/shivkanya9146)) ### Committers: 4 -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Naseem ([@naseemkullah](https://github.com/naseemkullah)) -- Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) -- [@shivkanya9146](https://github.com/shivkanya9146) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Naseem ([@naseemkullah](https://github.com/naseemkullah)) +* Valentin Marchaud ([@vmarchaud](https://github.com/vmarchaud)) +* [@shivkanya9146](https://github.com/shivkanya9146) ## 0.6.0 @@ -2040,27 +2040,27 @@ Released 2020-04-01 ### :boom: Breaking Change -- `opentelemetry-api`, `opentelemetry-metrics` - - [#915](https://github.com/open-telemetry/opentelemetry-js/pull/915) Remove label set from metrics API ([@mayurkale22](https://github.com/mayurkale22)) +* `opentelemetry-api`, `opentelemetry-metrics` + * [#915](https://github.com/open-telemetry/opentelemetry-js/pull/915) Remove label set from metrics API ([@mayurkale22](https://github.com/mayurkale22)) ### :rocket: (Enhancement) -- `opentelemetry-tracing` - - [#913](https://github.com/open-telemetry/opentelemetry-js/pull/913) chore: remove unused default argument in Tracer ([@Flarna](https://github.com/Flarna)) -- `opentelemetry-exporter-jaeger` - - [#916](https://github.com/open-telemetry/opentelemetry-js/pull/916) chore: removing force flush ([@obecny](https://github.com/obecny)) +* `opentelemetry-tracing` + * [#913](https://github.com/open-telemetry/opentelemetry-js/pull/913) chore: remove unused default argument in Tracer ([@Flarna](https://github.com/Flarna)) +* `opentelemetry-exporter-jaeger` + * [#916](https://github.com/open-telemetry/opentelemetry-js/pull/916) chore: removing force flush ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -- `opentelemetry-node` - - [#921](https://github.com/open-telemetry/opentelemetry-js/pull/921) chore: fix Require Path in README [@shivkanya9146](https://github.com/shivkanya9146)) +* `opentelemetry-node` + * [#921](https://github.com/open-telemetry/opentelemetry-js/pull/921) chore: fix Require Path in README [@shivkanya9146](https://github.com/shivkanya9146)) ### Committers: 4 -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) -- Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Gerhard Stöbich ([@Flarna](https://github.com/Flarna)) +* Shivkanya Andhare ([@shivkanya9146](https://github.com/shivkanya9146)) ## 0.5.2 @@ -2068,33 +2068,33 @@ Released 2020-03-27 ### :rocket: (Enhancement) -- `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` - - [#893](https://github.com/open-telemetry/opentelemetry-js/pull/893) Metrics: Add lastUpdateTimestamp associated with point ([@mayurkale22](https://github.com/mayurkale22)) -- `opentelemetry-tracing` - - [#896](https://github.com/open-telemetry/opentelemetry-js/pull/896) Do not export empty span lists ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-api`, `opentelemetry-tracing` - - [#889](https://github.com/open-telemetry/opentelemetry-js/pull/889) feat: start a root span with spanOptions.parent = null ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-exporter-prometheus`, `opentelemetry-metrics` + * [#893](https://github.com/open-telemetry/opentelemetry-js/pull/893) Metrics: Add lastUpdateTimestamp associated with point ([@mayurkale22](https://github.com/mayurkale22)) +* `opentelemetry-tracing` + * [#896](https://github.com/open-telemetry/opentelemetry-js/pull/896) Do not export empty span lists ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-api`, `opentelemetry-tracing` + * [#889](https://github.com/open-telemetry/opentelemetry-js/pull/889) feat: start a root span with spanOptions.parent = null ([@dyladan](https://github.com/dyladan)) ### :bug: (Bug Fix) -- `opentelemetry-core`, `opentelemetry-propagator-jaeger` - - [#904](https://github.com/open-telemetry/opentelemetry-js/pull/904) fix: add type checking in propagators ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` - - [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) -- Other - - [#884](https://github.com/open-telemetry/opentelemetry-js/pull/884) chore: fixing main package.json version ([@obecny](https://github.com/obecny)) +* `opentelemetry-core`, `opentelemetry-propagator-jaeger` + * [#904](https://github.com/open-telemetry/opentelemetry-js/pull/904) fix: add type checking in propagators ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` + * [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) +* Other + * [#884](https://github.com/open-telemetry/opentelemetry-js/pull/884) chore: fixing main package.json version ([@obecny](https://github.com/obecny)) ### :books: (Refine Doc) -- `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` - - [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) +* `opentelemetry-context-base`, `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-user-interaction`, `opentelemetry-web` + * [#906](https://github.com/open-telemetry/opentelemetry-js/pull/906) chore: fixing documentation for web tracer provider, fixing examples … ([@obecny](https://github.com/obecny)) ### Committers: 4 -- Bartlomiej Obecny ([@obecny](https://github.com/obecny)) -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Mark Robert Henderson ([@aphelionz](https://github.com/aphelionz)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Bartlomiej Obecny ([@obecny](https://github.com/obecny)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Mark Robert Henderson ([@aphelionz](https://github.com/aphelionz)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) ## 0.5.1 @@ -2102,17 +2102,17 @@ Released 2020-03-19 ### :bug: (Bug Fix) -- `opentelemetry-web` - - [#873](https://github.com/open-telemetry/opentelemetry-js/pull/873) Remove unnecessary `this` overwrite in stack context manager ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-plugin-mysql` - - [#880](https://github.com/open-telemetry/opentelemetry-js/pull/880) Do not multiwrap pool queries ([@dyladan](https://github.com/dyladan)) -- `opentelemetry-metrics` - - [#881](https://github.com/open-telemetry/opentelemetry-js/pull/881) fix: @opentelemetry/metrics fails to run due to bad import ([@mayurkale22](https://github.com/mayurkale22)) +* `opentelemetry-web` + * [#873](https://github.com/open-telemetry/opentelemetry-js/pull/873) Remove unnecessary `this` overwrite in stack context manager ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-plugin-mysql` + * [#880](https://github.com/open-telemetry/opentelemetry-js/pull/880) Do not multiwrap pool queries ([@dyladan](https://github.com/dyladan)) +* `opentelemetry-metrics` + * [#881](https://github.com/open-telemetry/opentelemetry-js/pull/881) fix: @opentelemetry/metrics fails to run due to bad import ([@mayurkale22](https://github.com/mayurkale22)) ### Committers: 2 -- Daniel Dyla ([@dyladan](https://github.com/dyladan)) -- Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) +* Daniel Dyla ([@dyladan](https://github.com/dyladan)) +* Mayur Kale ([@mayurkale22](https://github.com/mayurkale22)) ## 0.5.0 @@ -2122,42 +2122,42 @@ Released 2020-03-16 ### :boom: Breaking Change -- [#853](https://github.com/open-telemetry/opentelemetry-js/pull/853) Rename scope to context -- [#851](https://github.com/open-telemetry/opentelemetry-js/pull/851) Rename formatter to propagator +* [#853](https://github.com/open-telemetry/opentelemetry-js/pull/853) Rename scope to context +* [#851](https://github.com/open-telemetry/opentelemetry-js/pull/851) Rename formatter to propagator ### :rocket: (Enhancement) -- [#828](https://github.com/open-telemetry/opentelemetry-js/pull/828) feat: metric observer -- [#858](https://github.com/open-telemetry/opentelemetry-js/pull/858) chore: update out-of-date dependencies -- [#856](https://github.com/open-telemetry/opentelemetry-js/pull/856) fix: change loglevel for beta -- [#843](https://github.com/open-telemetry/opentelemetry-js/pull/843) export resource to exporters -- [#846](https://github.com/open-telemetry/opentelemetry-js/pull/846) SDK Resource -- [#625](https://github.com/open-telemetry/opentelemetry-js/pull/625) feat: introduce ended property on Span -- [#837](https://github.com/open-telemetry/opentelemetry-js/pull/837) Simplify SDK registration -- [#818](https://github.com/open-telemetry/opentelemetry-js/pull/818) fix: change SpanContext.traceFlags to mandatory -- [#827](https://github.com/open-telemetry/opentelemetry-js/pull/827) Add getter and setter arguments to propagation API -- [#821](https://github.com/open-telemetry/opentelemetry-js/pull/821) feat: add composite propagator -- [#824](https://github.com/open-telemetry/opentelemetry-js/pull/824) Faster trace id generation -- [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing -- [#802](https://github.com/open-telemetry/opentelemetry-js/pull/802) chore: adding force flush to span processors -- [#816](https://github.com/open-telemetry/opentelemetry-js/pull/816) feat: use context-based tracing -- [#815](https://github.com/open-telemetry/opentelemetry-js/pull/815) Resources API: package, semantic conventions, and test utils -- [#797](https://github.com/open-telemetry/opentelemetry-js/pull/797) Add propagation API -- [#792](https://github.com/open-telemetry/opentelemetry-js/pull/792) Add context API -- [#685](https://github.com/open-telemetry/opentelemetry-js/pull/685) feat: add express plugin #666 -- [#769](https://github.com/open-telemetry/opentelemetry-js/pull/769) Separate context propagation (OTEP 66) -- [#653](https://github.com/open-telemetry/opentelemetry-js/pull/653) Prevent loading plugins for incorrect module #626 -- [#654](https://github.com/open-telemetry/opentelemetry-js/pull/654) feat: warn user when a instrumented package was already required #636 -- [#772](https://github.com/open-telemetry/opentelemetry-js/pull/772) chore: add typing to propagator carrier -- [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header -- [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode -- [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) feat: add jaeger http trace format (#696) +* [#828](https://github.com/open-telemetry/opentelemetry-js/pull/828) feat: metric observer +* [#858](https://github.com/open-telemetry/opentelemetry-js/pull/858) chore: update out-of-date dependencies +* [#856](https://github.com/open-telemetry/opentelemetry-js/pull/856) fix: change loglevel for beta +* [#843](https://github.com/open-telemetry/opentelemetry-js/pull/843) export resource to exporters +* [#846](https://github.com/open-telemetry/opentelemetry-js/pull/846) SDK Resource +* [#625](https://github.com/open-telemetry/opentelemetry-js/pull/625) feat: introduce ended property on Span +* [#837](https://github.com/open-telemetry/opentelemetry-js/pull/837) Simplify SDK registration +* [#818](https://github.com/open-telemetry/opentelemetry-js/pull/818) fix: change SpanContext.traceFlags to mandatory +* [#827](https://github.com/open-telemetry/opentelemetry-js/pull/827) Add getter and setter arguments to propagation API +* [#821](https://github.com/open-telemetry/opentelemetry-js/pull/821) feat: add composite propagator +* [#824](https://github.com/open-telemetry/opentelemetry-js/pull/824) Faster trace id generation +* [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing +* [#802](https://github.com/open-telemetry/opentelemetry-js/pull/802) chore: adding force flush to span processors +* [#816](https://github.com/open-telemetry/opentelemetry-js/pull/816) feat: use context-based tracing +* [#815](https://github.com/open-telemetry/opentelemetry-js/pull/815) Resources API: package, semantic conventions, and test utils +* [#797](https://github.com/open-telemetry/opentelemetry-js/pull/797) Add propagation API +* [#792](https://github.com/open-telemetry/opentelemetry-js/pull/792) Add context API +* [#685](https://github.com/open-telemetry/opentelemetry-js/pull/685) feat: add express plugin #666 +* [#769](https://github.com/open-telemetry/opentelemetry-js/pull/769) Separate context propagation (OTEP 66) +* [#653](https://github.com/open-telemetry/opentelemetry-js/pull/653) Prevent loading plugins for incorrect module #626 +* [#654](https://github.com/open-telemetry/opentelemetry-js/pull/654) feat: warn user when a instrumented package was already required #636 +* [#772](https://github.com/open-telemetry/opentelemetry-js/pull/772) chore: add typing to propagator carrier +* [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header +* [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode +* [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) feat: add jaeger http trace format (#696) ### :bug: (Bug Fix) -- [#798](https://github.com/open-telemetry/opentelemetry-js/pull/798) Respect sampled bit in probability sampler -- [#743](https://github.com/open-telemetry/opentelemetry-js/pull/743) fix: left pad jaeger trace ids -- [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely +* [#798](https://github.com/open-telemetry/opentelemetry-js/pull/798) Respect sampled bit in probability sampler +* [#743](https://github.com/open-telemetry/opentelemetry-js/pull/743) fix: left pad jaeger trace ids +* [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely ## 0.4.0 @@ -2165,32 +2165,32 @@ Released 2020-02-05 ### :rocket: (Enhancement) -- `opentelemetry-api` - - [#727](https://github.com/open-telemetry/opentelemetry-js/pull/727) Api separation (deprecate `opentelemetry-types`) - - [#749](https://github.com/open-telemetry/opentelemetry-js/pull/749) chore: rename registry to provider +* `opentelemetry-api` + * [#727](https://github.com/open-telemetry/opentelemetry-js/pull/727) Api separation (deprecate `opentelemetry-types`) + * [#749](https://github.com/open-telemetry/opentelemetry-js/pull/749) chore: rename registry to provider ### :sparkles: (Feature) -- `opentelemetry-plugin-http` - - [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode -- `opentelemetry-exporter-jaeger` - - [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header -- `opentelemetry-plugin-user-interaction` - - [#658](https://github.com/open-telemetry/opentelemetry-js/pull/658) feat: plugin user interaction for web +* `opentelemetry-plugin-http` + * [#719](https://github.com/open-telemetry/opentelemetry-js/pull/719) feat(plugin-http): sync. specs for statuscode +* `opentelemetry-exporter-jaeger` + * [#735](https://github.com/open-telemetry/opentelemetry-js/pull/735) feat: decode jaeger header +* `opentelemetry-plugin-user-interaction` + * [#658](https://github.com/open-telemetry/opentelemetry-js/pull/658) feat: plugin user interaction for web ### :books: (Refine Doc) -- [#689](https://github.com/open-telemetry/opentelemetry-js/pull/689) Add benchmark README and latest numbers -- [#733](https://github.com/open-telemetry/opentelemetry-js/pull/733) chore: add instruction for pg-pool plugin -- [#665](https://github.com/open-telemetry/opentelemetry-js/pull/665) docs: add ioredis example -- [#731](https://github.com/open-telemetry/opentelemetry-js/pull/731) Update Stackdriver exporter example +* [#689](https://github.com/open-telemetry/opentelemetry-js/pull/689) Add benchmark README and latest numbers +* [#733](https://github.com/open-telemetry/opentelemetry-js/pull/733) chore: add instruction for pg-pool plugin +* [#665](https://github.com/open-telemetry/opentelemetry-js/pull/665) docs: add ioredis example +* [#731](https://github.com/open-telemetry/opentelemetry-js/pull/731) Update Stackdriver exporter example ### :bug: (Bug Fix) -- `opentelemetry-exporter-jaeger` - - [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely -- `opentelemetry-plugin-ioredis` - - [#671](https://github.com/open-telemetry/opentelemetry-js/pull/671) [ioredis plugin] fix: change supportedVersions to >1 <5 +* `opentelemetry-exporter-jaeger` + * [#715](https://github.com/open-telemetry/opentelemetry-js/pull/715) fix: unref jaeger socket to prevent process running indefinitely +* `opentelemetry-plugin-ioredis` + * [#671](https://github.com/open-telemetry/opentelemetry-js/pull/671) [ioredis plugin] fix: change supportedVersions to >1 <5 ## 0.3.3 @@ -2198,29 +2198,29 @@ Released 2020-01-22 ### :rocket: (Enhancement) -- `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-ioredis`, `opentelemetry-plugin-mongodb`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` - - [#582](https://github.com/open-telemetry/opentelemetry-js/pull/582) Named Tracers / Tracer Registry -- `opentelemetry-node`, `opentelemetry-plugin-postgres` - - [#662](https://github.com/open-telemetry/opentelemetry-js/pull/662) feat: add pg-pool to default list of instrumented plugins - - [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing -- `opentelemetry-metrics` - - [#700](https://github.com/open-telemetry/opentelemetry-js/pull/700) implement named meter +* `opentelemetry-core`, `opentelemetry-exporter-collector`, `opentelemetry-exporter-zipkin`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-http`, `opentelemetry-plugin-https`, `opentelemetry-plugin-ioredis`, `opentelemetry-plugin-mongodb`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` + * [#582](https://github.com/open-telemetry/opentelemetry-js/pull/582) Named Tracers / Tracer Registry +* `opentelemetry-node`, `opentelemetry-plugin-postgres` + * [#662](https://github.com/open-telemetry/opentelemetry-js/pull/662) feat: add pg-pool to default list of instrumented plugins + * [#708](https://github.com/open-telemetry/opentelemetry-js/pull/708) Simplify and speed up trace context parsing +* `opentelemetry-metrics` + * [#700](https://github.com/open-telemetry/opentelemetry-js/pull/700) implement named meter ### :sparkles: (Feature) -- `opentelemetry-propagator-jaeger` - - [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) add jaeger http trace format -- `opentelemetry-exporter-stackdriver-trace` - - [#648](https://github.com/open-telemetry/opentelemetry-js/pull/648) Stackdriver Trace exporter +* `opentelemetry-propagator-jaeger` + * [#701](https://github.com/open-telemetry/opentelemetry-js/pull/701) add jaeger http trace format +* `opentelemetry-exporter-stackdriver-trace` + * [#648](https://github.com/open-telemetry/opentelemetry-js/pull/648) Stackdriver Trace exporter ### :books: (Refine Doc) -- [#673](https://github.com/open-telemetry/opentelemetry-js/pull/673) chore(getting-started): Added a TypeScript version for Getting Started Guide +* [#673](https://github.com/open-telemetry/opentelemetry-js/pull/673) chore(getting-started): Added a TypeScript version for Getting Started Guide ### :bug: (Bug Fix) -- `opentelemetry-plugin-ioredis` - - [#714](https://github.com/open-telemetry/opentelemetry-js/pull/714) fix: return module exports from ioredis +* `opentelemetry-plugin-ioredis` + * [#714](https://github.com/open-telemetry/opentelemetry-js/pull/714) fix: return module exports from ioredis ## 0.3.2 @@ -2228,31 +2228,31 @@ Released 2020-01-03 ### :rocket: (Enhancement) -- `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - - [#643](https://github.com/open-telemetry/opentelemetry-js/pull/643) feat(plugin-http): add/modify attributes - - [#651](https://github.com/open-telemetry/opentelemetry-js/pull/651) chore: add version script to all packages -- `opentelemetry-plugin-mongodb` - - [#652](https://github.com/open-telemetry/opentelemetry-js/pull/652) feat: port mongodb-core plugin to mongodb -- `opentelemetry-metrics` - - [#634](https://github.com/open-telemetry/opentelemetry-js/pull/634) Rename metric handle to bound instrument -- `opentelemetry-test-utils` - - [#644](https://github.com/open-telemetry/opentelemetry-js/pull/644) feat: test-utils +* `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + * [#643](https://github.com/open-telemetry/opentelemetry-js/pull/643) feat(plugin-http): add/modify attributes + * [#651](https://github.com/open-telemetry/opentelemetry-js/pull/651) chore: add version script to all packages +* `opentelemetry-plugin-mongodb` + * [#652](https://github.com/open-telemetry/opentelemetry-js/pull/652) feat: port mongodb-core plugin to mongodb +* `opentelemetry-metrics` + * [#634](https://github.com/open-telemetry/opentelemetry-js/pull/634) Rename metric handle to bound instrument +* `opentelemetry-test-utils` + * [#644](https://github.com/open-telemetry/opentelemetry-js/pull/644) feat: test-utils ### :sparkles: (Feature) -- `opentelemetry-plugin-ioredis` - - [#558](https://github.com/open-telemetry/opentelemetry-js/pull/558) feat(plugin): add ioredis plugin +* `opentelemetry-plugin-ioredis` + * [#558](https://github.com/open-telemetry/opentelemetry-js/pull/558) feat(plugin): add ioredis plugin ### :books: (Refine Doc) -- `opentelemetry-node`, `opentelemetry-plugin-xml-http-request` - - [#646](https://github.com/open-telemetry/opentelemetry-js/pull/646) chore: update default plugins list and fix npm badge -- `opentelemetry-plugin-document-load`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing` - - [#647](https://github.com/open-telemetry/opentelemetry-js/pull/647) chore: update plugin readme with example links -- `opentelemetry-plugin-postgres` - - [#539](https://github.com/open-telemetry/opentelemetry-js/pull/539) chore(docs:postgres): add usage instructions -- Other - - [#645](https://github.com/open-telemetry/opentelemetry-js/pull/645) chore(plugin-pg): move dev dependencies out of `dependencies` in package.json +* `opentelemetry-node`, `opentelemetry-plugin-xml-http-request` + * [#646](https://github.com/open-telemetry/opentelemetry-js/pull/646) chore: update default plugins list and fix npm badge +* `opentelemetry-plugin-document-load`, `opentelemetry-plugin-mysql`, `opentelemetry-plugin-redis`, `opentelemetry-plugin-xml-http-request`, `opentelemetry-shim-opentracing` + * [#647](https://github.com/open-telemetry/opentelemetry-js/pull/647) chore: update plugin readme with example links +* `opentelemetry-plugin-postgres` + * [#539](https://github.com/open-telemetry/opentelemetry-js/pull/539) chore(docs:postgres): add usage instructions +* Other + * [#645](https://github.com/open-telemetry/opentelemetry-js/pull/645) chore(plugin-pg): move dev dependencies out of `dependencies` in package.json ## 0.3.1 @@ -2260,24 +2260,24 @@ Released 2019-12-20 ### :bug: (Bug Fix) -- `opentelemetry-plugin-grpc` - - [#631](https://github.com/open-telemetry/opentelemetry-js/pull/631) fix(grpc): patch original client methods - - [#593](https://github.com/open-telemetry/opentelemetry-js/pull/593) fix: transpile to es2017 as esnext may result in unsupported JS code +* `opentelemetry-plugin-grpc` + * [#631](https://github.com/open-telemetry/opentelemetry-js/pull/631) fix(grpc): patch original client methods + * [#593](https://github.com/open-telemetry/opentelemetry-js/pull/593) fix: transpile to es2017 as esnext may result in unsupported JS code ### :books: (Refine Doc) -- Other - - [#629](https://github.com/open-telemetry/opentelemetry-js/pull/629) ci: deploy documentation on releases - - [#581](https://github.com/open-telemetry/opentelemetry-js/pull/581) feat: add OpenTracing example +* Other + * [#629](https://github.com/open-telemetry/opentelemetry-js/pull/629) ci: deploy documentation on releases + * [#581](https://github.com/open-telemetry/opentelemetry-js/pull/581) feat: add OpenTracing example ### :rocket: (Enhancement) -- [#633](https://github.com/open-telemetry/opentelemetry-js/pull/633) chore: enable incremental builds +* [#633](https://github.com/open-telemetry/opentelemetry-js/pull/633) chore: enable incremental builds ### :sparkles: (Feature) -- `opentelemetry-plugin-xml-http-request` - - [#595](https://github.com/open-telemetry/opentelemetry-js/pull/595) feat: implement XMLHttpRequest plugin +* `opentelemetry-plugin-xml-http-request` + * [#595](https://github.com/open-telemetry/opentelemetry-js/pull/595) feat: implement XMLHttpRequest plugin ## 0.3.0 @@ -2285,89 +2285,89 @@ Released 2019-12-13 ### :rocket: (Enhancement) -- `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-tracing`, `opentelemetry-types` - - [#569](https://github.com/open-telemetry/opentelemetry-js/pull/569) chore: allow parent span to be null -- `opentelemetry-plugin-document-load` - - [#546](https://github.com/open-telemetry/opentelemetry-js/pull/546) chore: fixing issue when metric time is 0 in document-load plugin - - [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend -- `opentelemetry-plugin-http`, `opentelemetry-plugin-https` - - [#548](https://github.com/open-telemetry/opentelemetry-js/pull/548) fix(plugin-http): adapt to current @types/node -- Other - - [#510](https://github.com/open-telemetry/opentelemetry-js/pull/510) chore(circleci): remove duplicate compile step - - [#514](https://github.com/open-telemetry/opentelemetry-js/pull/514) ci: enumerate caching paths manually - - [#470](https://github.com/open-telemetry/opentelemetry-js/pull/470) chore: remove examples from lerna packages -- `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` - - [#507](https://github.com/open-telemetry/opentelemetry-js/pull/507) feat: direct calling of metric instruments - - [#517](https://github.com/open-telemetry/opentelemetry-js/pull/517) chore: update dependencies gts and codecov - - [#497](https://github.com/open-telemetry/opentelemetry-js/pull/497) chore: bump typescript version to ^3.7.2 -- `opentelemetry-metrics` - - [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface -- `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` - - [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul +* `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-plugin-dns`, `opentelemetry-plugin-document-load`, `opentelemetry-plugin-grpc`, `opentelemetry-plugin-postgres`, `opentelemetry-plugin-redis`, `opentelemetry-tracing`, `opentelemetry-types` + * [#569](https://github.com/open-telemetry/opentelemetry-js/pull/569) chore: allow parent span to be null +* `opentelemetry-plugin-document-load` + * [#546](https://github.com/open-telemetry/opentelemetry-js/pull/546) chore: fixing issue when metric time is 0 in document-load plugin + * [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend +* `opentelemetry-plugin-http`, `opentelemetry-plugin-https` + * [#548](https://github.com/open-telemetry/opentelemetry-js/pull/548) fix(plugin-http): adapt to current @types/node +* Other + * [#510](https://github.com/open-telemetry/opentelemetry-js/pull/510) chore(circleci): remove duplicate compile step + * [#514](https://github.com/open-telemetry/opentelemetry-js/pull/514) ci: enumerate caching paths manually + * [#470](https://github.com/open-telemetry/opentelemetry-js/pull/470) chore: remove examples from lerna packages +* `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` + * [#507](https://github.com/open-telemetry/opentelemetry-js/pull/507) feat: direct calling of metric instruments + * [#517](https://github.com/open-telemetry/opentelemetry-js/pull/517) chore: update dependencies gts and codecov + * [#497](https://github.com/open-telemetry/opentelemetry-js/pull/497) chore: bump typescript version to ^3.7.2 +* `opentelemetry-metrics` + * [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface +* `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` + * [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul ### :bug: (Bug Fix) -- `opentelemetry-exporter-jaeger` - - [#609](https://github.com/open-telemetry/opentelemetry-js/pull/609) Jaeger no flush interval -- `opentelemetry-plugin-dns` - - [#613](https://github.com/open-telemetry/opentelemetry-js/pull/613) fix(plugin-dns): remove from default plugin list -- `opentelemetry-plugin-http` - - [#589](https://github.com/open-telemetry/opentelemetry-js/pull/589) fix(plugin-http): correct handling of WHATWG urls - - [#580](https://github.com/open-telemetry/opentelemetry-js/pull/580) fix(plugin-http): http.url attribute -- `opentelemetry-shim-opentracing` - - [#577](https://github.com/open-telemetry/opentelemetry-js/pull/577) fix: add missing `main` in package.json -- `opentelemetry-exporter-zipkin` - - [#526](https://github.com/open-telemetry/opentelemetry-js/pull/526) fix: zipkin-exporter: don't export after shutdown -- `opentelemetry-plugin-grpc` - - [#487](https://github.com/open-telemetry/opentelemetry-js/pull/487) fix(grpc): use correct supportedVersions -- `opentelemetry-core` - - [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency +* `opentelemetry-exporter-jaeger` + * [#609](https://github.com/open-telemetry/opentelemetry-js/pull/609) Jaeger no flush interval +* `opentelemetry-plugin-dns` + * [#613](https://github.com/open-telemetry/opentelemetry-js/pull/613) fix(plugin-dns): remove from default plugin list +* `opentelemetry-plugin-http` + * [#589](https://github.com/open-telemetry/opentelemetry-js/pull/589) fix(plugin-http): correct handling of WHATWG urls + * [#580](https://github.com/open-telemetry/opentelemetry-js/pull/580) fix(plugin-http): http.url attribute +* `opentelemetry-shim-opentracing` + * [#577](https://github.com/open-telemetry/opentelemetry-js/pull/577) fix: add missing `main` in package.json +* `opentelemetry-exporter-zipkin` + * [#526](https://github.com/open-telemetry/opentelemetry-js/pull/526) fix: zipkin-exporter: don't export after shutdown +* `opentelemetry-plugin-grpc` + * [#487](https://github.com/open-telemetry/opentelemetry-js/pull/487) fix(grpc): use correct supportedVersions +* `opentelemetry-core` + * [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency ### :books: (Refine Doc) -- Other - - [#574](https://github.com/open-telemetry/opentelemetry-js/pull/574) chore: add CHANGELOG.md - - [#575](https://github.com/open-telemetry/opentelemetry-js/pull/575) Add exporter guide - - [#534](https://github.com/open-telemetry/opentelemetry-js/pull/534) feat: add redis plugin example - - [#562](https://github.com/open-telemetry/opentelemetry-js/pull/562) chore(web-example): Added a README for the existing example - - [#537](https://github.com/open-telemetry/opentelemetry-js/pull/537) examples(tracing): add multi exporter example - - [#484](https://github.com/open-telemetry/opentelemetry-js/pull/484) chore: update README for new milestones -- `opentelemetry-plugin-mongodb-core` - - [#564](https://github.com/open-telemetry/opentelemetry-js/pull/564) docs: add usage for mongodb-core plugin #543) -- `opentelemetry-metrics` - - [#490](https://github.com/open-telemetry/opentelemetry-js/pull/490) chore: update metrics README -- `opentelemetry-plugin-redis` - - [#551](https://github.com/open-telemetry/opentelemetry-js/pull/551) chore: fix minor typo -- `opentelemetry-exporter-prometheus` - - [#521](https://github.com/open-telemetry/opentelemetry-js/pull/521) chore: update prometheus exporter readme with usage and links -- `opentelemetry-types` - - [#512](https://github.com/open-telemetry/opentelemetry-js/pull/512) chore: minor name change -- `opentelemetry-plugin-postgres` - - [#473](https://github.com/open-telemetry/opentelemetry-js/pull/473) chore(plugin): postgres-pool plugin skeleton +* Other + * [#574](https://github.com/open-telemetry/opentelemetry-js/pull/574) chore: add CHANGELOG.md + * [#575](https://github.com/open-telemetry/opentelemetry-js/pull/575) Add exporter guide + * [#534](https://github.com/open-telemetry/opentelemetry-js/pull/534) feat: add redis plugin example + * [#562](https://github.com/open-telemetry/opentelemetry-js/pull/562) chore(web-example): Added a README for the existing example + * [#537](https://github.com/open-telemetry/opentelemetry-js/pull/537) examples(tracing): add multi exporter example + * [#484](https://github.com/open-telemetry/opentelemetry-js/pull/484) chore: update README for new milestones +* `opentelemetry-plugin-mongodb-core` + * [#564](https://github.com/open-telemetry/opentelemetry-js/pull/564) docs: add usage for mongodb-core plugin #543) +* `opentelemetry-metrics` + * [#490](https://github.com/open-telemetry/opentelemetry-js/pull/490) chore: update metrics README +* `opentelemetry-plugin-redis` + * [#551](https://github.com/open-telemetry/opentelemetry-js/pull/551) chore: fix minor typo +* `opentelemetry-exporter-prometheus` + * [#521](https://github.com/open-telemetry/opentelemetry-js/pull/521) chore: update prometheus exporter readme with usage and links +* `opentelemetry-types` + * [#512](https://github.com/open-telemetry/opentelemetry-js/pull/512) chore: minor name change +* `opentelemetry-plugin-postgres` + * [#473](https://github.com/open-telemetry/opentelemetry-js/pull/473) chore(plugin): postgres-pool plugin skeleton ### :sparkles: (Feature) -- `opentelemetry-core`, `opentelemetry-exporter-collector` - - [#552](https://github.com/open-telemetry/opentelemetry-js/pull/552) Collector exporter -- `opentelemetry-node`, `opentelemetry-plugin-mysql` - - [#525](https://github.com/open-telemetry/opentelemetry-js/pull/525) feat: mysql support -- `opentelemetry-plugin-redis` - - [#503](https://github.com/open-telemetry/opentelemetry-js/pull/503) feat(plugin): implement redis plugin -- `opentelemetry-plugin-mongodb-core` - - [#205](https://github.com/open-telemetry/opentelemetry-js/pull/205) feat: add mongodb plugin -- `opentelemetry-exporter-prometheus` - - [#483](https://github.com/open-telemetry/opentelemetry-js/pull/483) feat: Add prometheus exporter -- `opentelemetry-metrics` - - [#500](https://github.com/open-telemetry/opentelemetry-js/pull/500) feat: add ConsoleMetricExporter - - [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names -- `opentelemetry-scope-zone-peer-dep`, `opentelemetry-scope-zone`, `opentelemetry-web` - - [#461](https://github.com/open-telemetry/opentelemetry-js/pull/461) feat(scope-zone): new scope manager to support async operations in web -- `opentelemetry-core`, `opentelemetry-plugin-document-load` - - [#477](https://github.com/open-telemetry/opentelemetry-js/pull/477) feat(traceparent): setting parent span from server -- `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` - - [#463](https://github.com/open-telemetry/opentelemetry-js/pull/463) feat: implement labelset -- `opentelemetry-metrics`, `opentelemetry-types` - - [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics +* `opentelemetry-core`, `opentelemetry-exporter-collector` + * [#552](https://github.com/open-telemetry/opentelemetry-js/pull/552) Collector exporter +* `opentelemetry-node`, `opentelemetry-plugin-mysql` + * [#525](https://github.com/open-telemetry/opentelemetry-js/pull/525) feat: mysql support +* `opentelemetry-plugin-redis` + * [#503](https://github.com/open-telemetry/opentelemetry-js/pull/503) feat(plugin): implement redis plugin +* `opentelemetry-plugin-mongodb-core` + * [#205](https://github.com/open-telemetry/opentelemetry-js/pull/205) feat: add mongodb plugin +* `opentelemetry-exporter-prometheus` + * [#483](https://github.com/open-telemetry/opentelemetry-js/pull/483) feat: Add prometheus exporter +* `opentelemetry-metrics` + * [#500](https://github.com/open-telemetry/opentelemetry-js/pull/500) feat: add ConsoleMetricExporter + * [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names +* `opentelemetry-scope-zone-peer-dep`, `opentelemetry-scope-zone`, `opentelemetry-web` + * [#461](https://github.com/open-telemetry/opentelemetry-js/pull/461) feat(scope-zone): new scope manager to support async operations in web +* `opentelemetry-core`, `opentelemetry-plugin-document-load` + * [#477](https://github.com/open-telemetry/opentelemetry-js/pull/477) feat(traceparent): setting parent span from server +* `opentelemetry-core`, `opentelemetry-metrics`, `opentelemetry-types` + * [#463](https://github.com/open-telemetry/opentelemetry-js/pull/463) feat: implement labelset +* `opentelemetry-metrics`, `opentelemetry-types` + * [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics ## 0.2.0 @@ -2375,54 +2375,54 @@ Released 2019-11-04 ### :rocket: (Enhancement) -- `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types` - - [#449](https://github.com/open-telemetry/opentelemetry-js/pull/449) fix: allow recording links only at Span creation time -- `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-types` - - [#454](https://github.com/open-telemetry/opentelemetry-js/pull/454) fix(span): rename span recording flag -- `opentelemetry-metrics` - - [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface -- `opentelemetry-plugin-document-load` - - [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend -- `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` - - [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul +* `opentelemetry-shim-opentracing`, `opentelemetry-tracing`, `opentelemetry-types` + * [#449](https://github.com/open-telemetry/opentelemetry-js/pull/449) fix: allow recording links only at Span creation time +* `opentelemetry-core`, `opentelemetry-node`, `opentelemetry-tracing`, `opentelemetry-types` + * [#454](https://github.com/open-telemetry/opentelemetry-js/pull/454) fix(span): rename span recording flag +* `opentelemetry-metrics` + * [#475](https://github.com/open-telemetry/opentelemetry-js/pull/475) add shutdown method on MetricExporter interface +* `opentelemetry-plugin-document-load` + * [#469](https://github.com/open-telemetry/opentelemetry-js/pull/469) chore: fixing problem with load event and performance for loadend +* `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-web` + * [#466](https://github.com/open-telemetry/opentelemetry-js/pull/466) chore: fixing coverage for karma using istanbul ### :bug: (Bug Fix) -- `opentelemetry-tracing` - - [#444](https://github.com/open-telemetry/opentelemetry-js/pull/444) fix: batchSpanProcessor test failing intermittently -- `opentelemetry-core` - - [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency +* `opentelemetry-tracing` + * [#444](https://github.com/open-telemetry/opentelemetry-js/pull/444) fix: batchSpanProcessor test failing intermittently +* `opentelemetry-core` + * [#472](https://github.com/open-telemetry/opentelemetry-js/pull/472) fix(core): add missing semver dependency ### :books: (Refine Doc) -- [#462](https://github.com/open-telemetry/opentelemetry-js/pull/462) chore: update README -- [#460](https://github.com/open-telemetry/opentelemetry-js/pull/460) chore: move members list out of community repo -- [#445](https://github.com/open-telemetry/opentelemetry-js/pull/445) chore: update CONTRIBUTING.md -- [#459](https://github.com/open-telemetry/opentelemetry-js/pull/459) chore: update API docs +* [#462](https://github.com/open-telemetry/opentelemetry-js/pull/462) chore: update README +* [#460](https://github.com/open-telemetry/opentelemetry-js/pull/460) chore: move members list out of community repo +* [#445](https://github.com/open-telemetry/opentelemetry-js/pull/445) chore: update CONTRIBUTING.md +* [#459](https://github.com/open-telemetry/opentelemetry-js/pull/459) chore: update API docs ### :sparkles: (Feature) -- `opentelemetry-metrics`, `opentelemetry-types` - - [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics -- `opentelemetry-metrics` - - [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names -- `opentelemetry-plugin-postgres` - - [#417](https://github.com/open-telemetry/opentelemetry-js/pull/417) feature(plugin): implement postgres plugin -- `opentelemetry-core`, `opentelemetry-types` - - [#451](https://github.com/open-telemetry/opentelemetry-js/pull/451) feat: add IsRemote field to SpanContext, set by propagators -- `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` - - [#433](https://github.com/open-telemetry/opentelemetry-js/pull/433) feat(plugin-document-load): new plugin for document load for web tracer +* `opentelemetry-metrics`, `opentelemetry-types` + * [#437](https://github.com/open-telemetry/opentelemetry-js/pull/437) feat(metrics): add registerMetric and getMetrics +* `opentelemetry-metrics` + * [#468](https://github.com/open-telemetry/opentelemetry-js/pull/468) feat: validate metric names +* `opentelemetry-plugin-postgres` + * [#417](https://github.com/open-telemetry/opentelemetry-js/pull/417) feature(plugin): implement postgres plugin +* `opentelemetry-core`, `opentelemetry-types` + * [#451](https://github.com/open-telemetry/opentelemetry-js/pull/451) feat: add IsRemote field to SpanContext, set by propagators +* `opentelemetry-core`, `opentelemetry-plugin-document-load`, `opentelemetry-tracing`, `opentelemetry-types`, `opentelemetry-web` + * [#433](https://github.com/open-telemetry/opentelemetry-js/pull/433) feat(plugin-document-load): new plugin for document load for web tracer ## 0.1.1 -- chore: add prepare script and bump the version (#431) -- docs: fix broken links (#428) -- docs(exporter-jaeger): fix jaeger version (#430) -- fix(plugin-http): ensure no leaks (#398) -- Update readme (#421) -- refactor: cal duration once instead of each get duration call (#412) -- chore: add npm version badge (#414) +* chore: add prepare script and bump the version (#431) +* docs: fix broken links (#428) +* docs(exporter-jaeger): fix jaeger version (#430) +* fix(plugin-http): ensure no leaks (#398) +* Update readme (#421) +* refactor: cal duration once instead of each get duration call (#412) +* chore: add npm version badge (#414) ## 0.1.0 -- Initial release +* Initial release From 577b17460b45a4e11160a09330464295a8e17226 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Tue, 28 Feb 2023 22:39:31 +0100 Subject: [PATCH 14/20] fix(changelog): Update experimental changelog --- experimental/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index b85f4c1d5f..1ae6a30f36 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to experimental packages in this project will be documented * feat: use HTTP_ROUTE in span name [#3603](https://github.com/open-telemetry/opentelemetry-js/pull/3603) @Flarna * feat: add HTTP_ROUTE attribute to http incoming metrics if present [#3581](https://github.com/open-telemetry/opentelemetry-js/pull/3581) @hermogenes * feat(sdk-node): install diag logger with OTEL_LOG_LEVEL [#3627](https://github.com/open-telemetry/opentelemetry-js/pull/3627) @legendecas +* feat(otlp-transformer): expose dropped attributes, events and links counts on the transformed otlp span ### :bug: (Bug Fix) From 6dadccbd385f6eb2d7eec9c841dca20d79875c82 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Wed, 1 Mar 2023 14:37:37 +0100 Subject: [PATCH 15/20] Update packages/opentelemetry-sdk-trace-base/src/Span.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gerhard Stöbich --- packages/opentelemetry-sdk-trace-base/src/Span.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 95bb632e5d..c2d05a0d50 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -68,7 +68,7 @@ export class Span implements APISpan, ReadableSpan { readonly resource: IResource; readonly instrumentationLibrary: InstrumentationLibrary; - private _droppedAttributesCount: number = 0; + private _droppedAttributesCount = 0; private _droppedEventsCount: number = 0; private _droppedLinksCount: number = 0; From 17482677d6978ef8e5bfa8a9752a6f568434b65c Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Wed, 1 Mar 2023 14:38:00 +0100 Subject: [PATCH 16/20] Update packages/opentelemetry-sdk-trace-base/src/Span.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gerhard Stöbich --- packages/opentelemetry-sdk-trace-base/src/Span.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index c2d05a0d50..dac8bfb498 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -147,7 +147,7 @@ export class Span implements APISpan, ReadableSpan { this._spanLimits.attributeCountLimit! && !Object.prototype.hasOwnProperty.call(this.attributes, key) ) { - this._droppedAttributesCount += 1; + this._droppedAttributesCount++; return this; } this.attributes[key] = this._truncateToSize(value); From 69b407f50f0fbee21ff7c8c1480e1b5eec288b16 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Wed, 1 Mar 2023 22:00:16 +0100 Subject: [PATCH 17/20] fix(sdk-trace-base): Resolve review comments --- .../packages/otlp-proto-exporter-base/tsconfig.esnext.json | 5 ++++- packages/opentelemetry-sdk-trace-base/src/Span.ts | 5 ++--- packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json index 116769d6fb..2eeda32b24 100644 --- a/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json +++ b/experimental/packages/otlp-proto-exporter-base/tsconfig.esnext.json @@ -6,7 +6,10 @@ "rootDir": "src", "tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" }, - "include": ["src/**/*.ts", "src/generated/*.js"], + "include": [ + "src/**/*.ts", + "src/generated/*.js" + ], "references": [ { "path": "../../../api" diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index dac8bfb498..0f742855d1 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -15,7 +15,6 @@ */ import { - Attributes, Context, diag, Exception, @@ -176,13 +175,13 @@ export class Span implements APISpan, ReadableSpan { if (this._isSpanEnded()) return this; if (this._spanLimits.eventCountLimit === 0) { diag.warn('No events allowed.'); - this._droppedEventsCount += 1; + this._droppedEventsCount++; return this; } if (this.events.length >= this._spanLimits.eventCountLimit!) { diag.warn('Dropping extra events.'); this.events.shift(); - this._droppedEventsCount += 1; + this._droppedEventsCount++; } if (isTimeInput(attributesOrStartTime)) { diff --git a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts index 1f835ba710..fee2f6f0a0 100644 --- a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts +++ b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts @@ -27,5 +27,5 @@ export interface TimedEvent { /** The attributes of the event. */ attributes?: SpanAttributes; /** Count of attributes of the event that were dropped due to collection limits */ - droppedAttributesCount?: number; + droppedAttributesCount: number; } From f260436c30bc34ac45f780822423e103477384b3 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Wed, 1 Mar 2023 22:50:11 +0100 Subject: [PATCH 18/20] fix(sdk-trace-base): Fix failing tests --- .../test/traceHelper.ts | 28 ++++++++++++++++--- .../test/traceHelper.ts | 28 ++++++++++++++++--- .../test/traceHelper.ts | 28 ++++++++++++++++--- .../test/traceHelper.ts | 28 ++++++++++++++++--- .../otlp-transformer/test/trace.test.ts | 1 + .../test/transform.test.ts | 2 ++ .../test/node/zipkin.test.ts | 3 ++ 7 files changed, 102 insertions(+), 16 deletions(-) diff --git a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts index 3ca28ba03f..c89bfa2d79 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts @@ -61,25 +61,45 @@ export const mockedReadableSpan: ReadableSpan = { }, ], events: [ - { name: 'fetchStart', time: [1574120165, 429803070] }, + { + name: 'fetchStart', + time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, { name: 'domainLookupStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'domainLookupEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'domainLookupEnd', time: [1574120165, 429803070] }, { name: 'connectStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'connectEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'connectEnd', time: [1574120165, 429803070] }, { name: 'requestStart', time: [1574120165, 435513070], + droppedAttributesCount: 0, + }, + { + name: 'responseStart', + time: [1574120165, 436923070], + droppedAttributesCount: 0, }, - { name: 'responseStart', time: [1574120165, 436923070] }, { name: 'responseEnd', time: [1574120165, 438688070], + droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts index b3bdddc520..68fd6b7d5f 100644 --- a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts @@ -72,25 +72,45 @@ export const mockedReadableSpan: ReadableSpan = { }, ], events: [ - { name: 'fetchStart', time: [1574120165, 429803070] }, + { + name: 'fetchStart', + time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, { name: 'domainLookupStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'domainLookupEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'domainLookupEnd', time: [1574120165, 429803070] }, { name: 'connectStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'connectEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'connectEnd', time: [1574120165, 429803070] }, { name: 'requestStart', time: [1574120165, 435513070], + droppedAttributesCount: 0, + }, + { + name: 'responseStart', + time: [1574120165, 436923070], + droppedAttributesCount: 0, }, - { name: 'responseStart', time: [1574120165, 436923070] }, { name: 'responseEnd', time: [1574120165, 438688070], + droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts index 561e2b8df5..c8606889fa 100644 --- a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts @@ -59,25 +59,45 @@ export const mockedReadableSpan: ReadableSpan = { }, ], events: [ - { name: 'fetchStart', time: [1574120165, 429803070] }, + { + name: 'fetchStart', + time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, { name: 'domainLookupStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'domainLookupEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'domainLookupEnd', time: [1574120165, 429803070] }, { name: 'connectStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'connectEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'connectEnd', time: [1574120165, 429803070] }, { name: 'requestStart', time: [1574120165, 435513070], + droppedAttributesCount: 0, + }, + { + name: 'responseStart', + time: [1574120165, 436923070], + droppedAttributesCount: 0, }, - { name: 'responseStart', time: [1574120165, 436923070] }, { name: 'responseEnd', time: [1574120165, 438688070], + droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts index 20c784bf5d..7a6321712b 100644 --- a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts +++ b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts @@ -61,25 +61,45 @@ export const mockedReadableSpan: ReadableSpan = { }, ], events: [ - { name: 'fetchStart', time: [1574120165, 429803070] }, + { + name: 'fetchStart', + time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, { name: 'domainLookupStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'domainLookupEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'domainLookupEnd', time: [1574120165, 429803070] }, { name: 'connectStart', time: [1574120165, 429803070], + droppedAttributesCount: 0, + }, + { + name: 'connectEnd', + time: [1574120165, 429803070], + droppedAttributesCount: 0, }, - { name: 'connectEnd', time: [1574120165, 429803070] }, { name: 'requestStart', time: [1574120165, 435513070], + droppedAttributesCount: 0, + }, + { + name: 'responseStart', + time: [1574120165, 436923070], + droppedAttributesCount: 0, }, - { name: 'responseStart', time: [1574120165, 436923070] }, { name: 'responseEnd', time: [1574120165, 438688070], + droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index da3e1d0c7d..fb0544791c 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -150,6 +150,7 @@ describe('Trace', () => { attributes: { 'event-attribute': 'some string value', }, + droppedAttributesCount: 0, }, ], instrumentationLibrary: { diff --git a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts index 35a11c7ffd..4c4ae3ff0d 100644 --- a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts +++ b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts @@ -70,6 +70,7 @@ describe('transform', () => { error: true, }, time: [1566156729, 809], + droppedAttributesCount: 0, }, ], duration: [32, 800000000], @@ -353,6 +354,7 @@ describe('transform', () => { error: true, }, time: [1566156729, 809], + droppedAttributesCount: 0, }, ], duration: [32, 800000000], diff --git a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts index eeab75348e..6ef4e4f2aa 100644 --- a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts +++ b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts @@ -163,6 +163,7 @@ describe('Zipkin Exporter - node', () => { name: 'my-event', time: [startTime + 10, 0], attributes: { key3: 'value3' }, + droppedAttributesCount: 0, }, ], resource: Resource.empty(), @@ -382,6 +383,7 @@ describe('Zipkin Exporter - node', () => { name: 'my-event', time: [startTime + 10, 0], attributes: { key3: 'value3' }, + droppedAttributesCount: 0, }, ], resource: new Resource({ @@ -478,6 +480,7 @@ describe('Zipkin Exporter - node', () => { name: 'my-event', time: [startTime + 10, 0], attributes: { key3: 'value3' }, + droppedAttributesCount: 0, }, ], resource: Resource.empty(), From 0239413dd4792d8b93f533b45293c843f045884f Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Thu, 2 Mar 2023 08:58:29 +0100 Subject: [PATCH 19/20] fix(sdk-trace-base): make droppedAttributesCount on event optional --- .../packages/exporter-trace-otlp-grpc/test/traceHelper.ts | 8 -------- .../packages/exporter-trace-otlp-http/test/traceHelper.ts | 8 -------- .../exporter-trace-otlp-proto/test/traceHelper.ts | 8 -------- .../packages/otlp-grpc-exporter-base/test/traceHelper.ts | 8 -------- experimental/packages/otlp-transformer/test/trace.test.ts | 1 - .../opentelemetry-exporter-jaeger/test/transform.test.ts | 2 -- .../test/node/zipkin.test.ts | 3 --- packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts | 2 +- 8 files changed, 1 insertion(+), 39 deletions(-) diff --git a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts index c89bfa2d79..6ce80bf2c2 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-grpc/test/traceHelper.ts @@ -64,42 +64,34 @@ export const mockedReadableSpan: ReadableSpan = { { name: 'fetchStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'requestStart', time: [1574120165, 435513070], - droppedAttributesCount: 0, }, { name: 'responseStart', time: [1574120165, 436923070], - droppedAttributesCount: 0, }, { name: 'responseEnd', time: [1574120165, 438688070], - droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts index 68fd6b7d5f..06e256d253 100644 --- a/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-http/test/traceHelper.ts @@ -75,42 +75,34 @@ export const mockedReadableSpan: ReadableSpan = { { name: 'fetchStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'requestStart', time: [1574120165, 435513070], - droppedAttributesCount: 0, }, { name: 'responseStart', time: [1574120165, 436923070], - droppedAttributesCount: 0, }, { name: 'responseEnd', time: [1574120165, 438688070], - droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts index c8606889fa..5e2b71c573 100644 --- a/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts +++ b/experimental/packages/exporter-trace-otlp-proto/test/traceHelper.ts @@ -62,42 +62,34 @@ export const mockedReadableSpan: ReadableSpan = { { name: 'fetchStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'requestStart', time: [1574120165, 435513070], - droppedAttributesCount: 0, }, { name: 'responseStart', time: [1574120165, 436923070], - droppedAttributesCount: 0, }, { name: 'responseEnd', time: [1574120165, 438688070], - droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts index 7a6321712b..13103b405b 100644 --- a/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts +++ b/experimental/packages/otlp-grpc-exporter-base/test/traceHelper.ts @@ -64,42 +64,34 @@ export const mockedReadableSpan: ReadableSpan = { { name: 'fetchStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'domainLookupEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectStart', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'connectEnd', time: [1574120165, 429803070], - droppedAttributesCount: 0, }, { name: 'requestStart', time: [1574120165, 435513070], - droppedAttributesCount: 0, }, { name: 'responseStart', time: [1574120165, 436923070], - droppedAttributesCount: 0, }, { name: 'responseEnd', time: [1574120165, 438688070], - droppedAttributesCount: 0, }, ], duration: [0, 8885000], diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index fb0544791c..da3e1d0c7d 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -150,7 +150,6 @@ describe('Trace', () => { attributes: { 'event-attribute': 'some string value', }, - droppedAttributesCount: 0, }, ], instrumentationLibrary: { diff --git a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts index 4c4ae3ff0d..35a11c7ffd 100644 --- a/packages/opentelemetry-exporter-jaeger/test/transform.test.ts +++ b/packages/opentelemetry-exporter-jaeger/test/transform.test.ts @@ -70,7 +70,6 @@ describe('transform', () => { error: true, }, time: [1566156729, 809], - droppedAttributesCount: 0, }, ], duration: [32, 800000000], @@ -354,7 +353,6 @@ describe('transform', () => { error: true, }, time: [1566156729, 809], - droppedAttributesCount: 0, }, ], duration: [32, 800000000], diff --git a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts index 6ef4e4f2aa..eeab75348e 100644 --- a/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts +++ b/packages/opentelemetry-exporter-zipkin/test/node/zipkin.test.ts @@ -163,7 +163,6 @@ describe('Zipkin Exporter - node', () => { name: 'my-event', time: [startTime + 10, 0], attributes: { key3: 'value3' }, - droppedAttributesCount: 0, }, ], resource: Resource.empty(), @@ -383,7 +382,6 @@ describe('Zipkin Exporter - node', () => { name: 'my-event', time: [startTime + 10, 0], attributes: { key3: 'value3' }, - droppedAttributesCount: 0, }, ], resource: new Resource({ @@ -480,7 +478,6 @@ describe('Zipkin Exporter - node', () => { name: 'my-event', time: [startTime + 10, 0], attributes: { key3: 'value3' }, - droppedAttributesCount: 0, }, ], resource: Resource.empty(), diff --git a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts index fee2f6f0a0..1f835ba710 100644 --- a/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts +++ b/packages/opentelemetry-sdk-trace-base/src/TimedEvent.ts @@ -27,5 +27,5 @@ export interface TimedEvent { /** The attributes of the event. */ attributes?: SpanAttributes; /** Count of attributes of the event that were dropped due to collection limits */ - droppedAttributesCount: number; + droppedAttributesCount?: number; } From 2221770e6878740804581b1f298e7ee0fae40f28 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Tue, 7 Mar 2023 15:14:40 +0100 Subject: [PATCH 20/20] fix(changelog): Update changelog files --- CHANGELOG.md | 2 +- api/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 612b97b5bb..cb3b53e4d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ * feat: support TraceState in SamplingResult [#3530](https://github.com/open-telemetry/opentelemetry-js/pull/3530) @raphael-theriault-swi * feat(sdk-trace-base): add diagnostic logging when spans are dropped [#3610](https://github.com/open-telemetry/opentelemetry-js/pull/3610) @neoeinstein * feat: add unit to view instrument selection criteria [#3647](https://github.com/open-telemetry/opentelemetry-js/pull/3647) @jlabatut -* feat(sdk-trace-base): expose dropped counts for attributes, events and links on span [#3576](https://github.com/open-telemetry/opentelemetry-js/pull/3576) @mohitk05 +* feat(tracing): expose dropped counts for attributes, events and links on span [#3576](https://github.com/open-telemetry/opentelemetry-js/pull/3576) @mohitk05 ### :bug: (Bug Fix) diff --git a/api/CHANGELOG.md b/api/CHANGELOG.md index 31697a308c..646b83c1de 100644 --- a/api/CHANGELOG.md +++ b/api/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. ### :rocket: (Enhancement) * feat(api): add `getActiveBaggage` API [#3385](https://github.com/open-telemetry/opentelemetry-js/pull/3385) +* feat(api): add optional `droppedAttributesCount` property in the `Link` interface [#3576](https://github.com/open-telemetry/opentelemetry-js/pull/3576) @mohitk05 ### :bug: (Bug Fix)