From 0c37daa0b1fe59a04810514ab4f995070ed84825 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Thu, 23 Mar 2023 12:59:48 +0100 Subject: [PATCH 01/11] fix(sdk-node): only set DiagConsoleLogger when OTEL_LOG_LEVEL is set (#3693) --- experimental/CHANGELOG.md | 2 ++ .../packages/opentelemetry-sdk-node/src/sdk.ts | 11 ++++++++--- .../opentelemetry-sdk-node/test/sdk.test.ts | 13 +++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index fb483c7172..0f4a6f55d6 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -12,6 +12,8 @@ All notable changes to experimental packages in this project will be documented ### :bug: (Bug Fix) +* fix(sdk-node): only set DiagConsoleLogger when OTEL_LOG_LEVEL is set [#3693](https://github.com/open-telemetry/opentelemetry-js/pull/3672) @pichlermarc + ### :books: (Refine Doc) ### :house: (Internal) diff --git a/experimental/packages/opentelemetry-sdk-node/src/sdk.ts b/experimental/packages/opentelemetry-sdk-node/src/sdk.ts index dc9244f3e4..07921a88b9 100644 --- a/experimental/packages/opentelemetry-sdk-node/src/sdk.ts +++ b/experimental/packages/opentelemetry-sdk-node/src/sdk.ts @@ -47,7 +47,7 @@ import { import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions'; import { NodeSDKConfiguration } from './types'; import { TracerProviderWithEnvExporters } from './TracerProviderWithEnvExporter'; -import { getEnv } from '@opentelemetry/core'; +import { getEnv, getEnvWithoutDefaults } from '@opentelemetry/core'; import { parseInstrumentationOptions } from './utils'; /** This class represents everything needed to register a fully configured OpenTelemetry Node.js SDK */ @@ -89,14 +89,19 @@ export class NodeSDK { */ public constructor(configuration: Partial = {}) { const env = getEnv(); + const envWithoutDefaults = getEnvWithoutDefaults(); + if (env.OTEL_SDK_DISABLED) { this._disabled = true; // Functions with possible side-effects are set // to no-op via the _disabled flag } - if (env.OTEL_LOG_LEVEL) { + + // Default is INFO, use environment without defaults to check + // if the user originally set the environment variable. + if (envWithoutDefaults.OTEL_LOG_LEVEL) { diag.setLogger(new DiagConsoleLogger(), { - logLevel: env.OTEL_LOG_LEVEL, + logLevel: envWithoutDefaults.OTEL_LOG_LEVEL, }); } diff --git a/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts b/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts index 5fcdb7f94d..7a385a7604 100644 --- a/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts +++ b/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts @@ -134,6 +134,19 @@ describe('Node SDK', () => { delete env.OTEL_LOG_LEVEL; }); + it('should not register a diag logger with OTEL_LOG_LEVEL unset', () => { + delete env.OTEL_LOG_LEVEL; + + const spy = Sinon.spy(diag, 'setLogger'); + const sdk = new NodeSDK({ + autoDetectResources: false, + }); + + sdk.start(); + + assert.strictEqual(spy.callCount, 0); + }); + it('should register a tracer provider if an exporter is provided', async () => { const sdk = new NodeSDK({ traceExporter: new ConsoleSpanExporter(), From dbe005f548996a704bd37474ac11be3deada6814 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Tue, 28 Mar 2023 06:58:12 +0200 Subject: [PATCH 02/11] fix(ci): use npx to run tsc 4.4.4 in api-eol-node-test (#3700) --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 8c262144ec..6c61133e69 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -197,7 +197,7 @@ jobs: npm install --ignore-scripts npm install @types/mocha@^7 mocha@^7 ts-loader@^8 ts-mocha@^8 node ../scripts/version-update.js - tsc --build tsconfig.json tsconfig.esm.json + npx tsc --build tsconfig.json tsconfig.esm.json - name: Test working-directory: ./api From 8c788590f74bbb2f7d8114d00439d5afff1cc9e4 Mon Sep 17 00:00:00 2001 From: Matthew Wear Date: Mon, 27 Mar 2023 22:11:39 -0700 Subject: [PATCH 03/11] feat: exponential histogram - part 3 - export (#3506) --- CHANGELOG.md | 2 +- .../otlp-transformer/src/metrics/internal.ts | 33 ++++ .../otlp-transformer/src/metrics/types.ts | 8 +- .../otlp-transformer/test/metrics.test.ts | 169 ++++++++++++++++++ packages/sdk-metrics/src/aggregator/index.ts | 1 + packages/sdk-metrics/src/index.ts | 2 + packages/sdk-metrics/src/view/Aggregation.ts | 21 +++ 7 files changed, 234 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 640b1072f2..fa83fa0bf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) -* feat(sdk-metrics): add exponential histogram accumulation / aggregator [#3505](https://github.com/open-telemetry/opentelemetry-js/pull/3505) @mwear +* feat(sdk-metrics): add exponential histogram support [#3505](https://github.com/open-telemetry/opentelemetry-js/pull/3505), [#3506](https://github.com/open-telemetry/opentelemetry-js/pull/3506) @mwear * feat(resources): collect additional process attributes [#3605](https://github.com/open-telemetry/opentelemetry-js/pull/3605) @mwear ### :bug: (Bug Fix) diff --git a/experimental/packages/otlp-transformer/src/metrics/internal.ts b/experimental/packages/otlp-transformer/src/metrics/internal.ts index 98a32e33d0..7ba7722b6a 100644 --- a/experimental/packages/otlp-transformer/src/metrics/internal.ts +++ b/experimental/packages/otlp-transformer/src/metrics/internal.ts @@ -28,6 +28,7 @@ import { import { toAttributes } from '../common/internal'; import { EAggregationTemporality, + IExponentialHistogramDataPoint, IHistogramDataPoint, IMetric, INumberDataPoint, @@ -91,6 +92,11 @@ export function toMetric(metricData: MetricData): IMetric { aggregationTemporality, dataPoints: toHistogramDataPoints(metricData), }; + } else if (metricData.dataPointType === DataPointType.EXPONENTIAL_HISTOGRAM) { + out.exponentialHistogram = { + aggregationTemporality, + dataPoints: toExponentialHistogramDataPoints(metricData), + }; } return out; @@ -141,6 +147,33 @@ function toHistogramDataPoints(metricData: MetricData): IHistogramDataPoint[] { }); } +function toExponentialHistogramDataPoints( + metricData: MetricData +): IExponentialHistogramDataPoint[] { + return metricData.dataPoints.map(dataPoint => { + const histogram = dataPoint.value as ExponentialHistogram; + return { + attributes: toAttributes(dataPoint.attributes), + count: histogram.count, + min: histogram.min, + max: histogram.max, + sum: histogram.sum, + positive: { + offset: histogram.positive.offset, + bucketCounts: histogram.positive.bucketCounts, + }, + negative: { + offset: histogram.negative.offset, + bucketCounts: histogram.negative.bucketCounts, + }, + scale: histogram.scale, + zeroCount: histogram.zeroCount, + startTimeUnixNano: hrTimeToNanoseconds(dataPoint.startTime), + timeUnixNano: hrTimeToNanoseconds(dataPoint.endTime), + }; + }); +} + function toAggregationTemporality( temporality: AggregationTemporality ): EAggregationTemporality { diff --git a/experimental/packages/otlp-transformer/src/metrics/types.ts b/experimental/packages/otlp-transformer/src/metrics/types.ts index d3efd29c2e..6db9c17a9b 100644 --- a/experimental/packages/otlp-transformer/src/metrics/types.ts +++ b/experimental/packages/otlp-transformer/src/metrics/types.ts @@ -184,7 +184,7 @@ export interface IExponentialHistogramDataPoint { startTimeUnixNano?: number; /** ExponentialHistogramDataPoint timeUnixNano */ - timeUnixNano?: string; + timeUnixNano?: number; /** ExponentialHistogramDataPoint count */ count?: number; @@ -209,6 +209,12 @@ export interface IExponentialHistogramDataPoint { /** ExponentialHistogramDataPoint exemplars */ exemplars?: IExemplar[]; + + /** ExponentialHistogramDataPoint min */ + min?: number; + + /** ExponentialHistogramDataPoint max */ + max?: number; } /** Properties of a SummaryDataPoint. */ diff --git a/experimental/packages/otlp-transformer/test/metrics.test.ts b/experimental/packages/otlp-transformer/test/metrics.test.ts index 325c3eee4a..748ef75889 100644 --- a/experimental/packages/otlp-transformer/test/metrics.test.ts +++ b/experimental/packages/otlp-transformer/test/metrics.test.ts @@ -265,6 +265,47 @@ describe('Metrics', () => { }; } + function createExponentialHistogramMetrics( + count: number, + sum: number, + scale: number, + zeroCount: number, + positive: { offset: number; bucketCounts: number[] }, + negative: { offset: number; bucketCounts: number[] }, + aggregationTemporality: AggregationTemporality, + min?: number, + max?: number + ): MetricData { + return { + descriptor: { + description: 'this is a description', + type: InstrumentType.HISTOGRAM, + name: 'xhist', + unit: '1', + valueType: ValueType.INT, + }, + aggregationTemporality, + dataPointType: DataPointType.EXPONENTIAL_HISTOGRAM, + dataPoints: [ + { + value: { + sum: sum, + count: count, + min: min, + max: max, + zeroCount: zeroCount, + scale: scale, + positive: positive, + negative: negative, + }, + startTime: START_TIME, + endTime: END_TIME, + attributes: ATTRIBUTES, + }, + ], + }; + } + function createResourceMetrics(metricData: MetricData[]): ResourceMetrics { const resource = new Resource({ 'resource-attribute': 'resource attribute value', @@ -608,5 +649,133 @@ describe('Metrics', () => { }); }); }); + + describe('serializes an exponential histogram metric record', () => { + it('with min/max', () => { + const exportRequest = createExportMetricsServiceRequest([ + createResourceMetrics([ + createExponentialHistogramMetrics( + 3, + 10, + 1, + 0, + { offset: 0, bucketCounts: [1, 0, 0, 0, 1, 0, 1, 0] }, + { offset: 0, bucketCounts: [0] }, + AggregationTemporality.CUMULATIVE, + 1, + 8 + ), + ]), + ]); + + assert.ok(exportRequest); + + assert.deepStrictEqual(exportRequest, { + resourceMetrics: [ + { + resource: expectedResource, + schemaUrl: undefined, + scopeMetrics: [ + { + scope: expectedScope, + schemaUrl: expectedSchemaUrl, + metrics: [ + { + name: 'xhist', + description: 'this is a description', + unit: '1', + exponentialHistogram: { + aggregationTemporality: + EAggregationTemporality.AGGREGATION_TEMPORALITY_CUMULATIVE, + dataPoints: [ + { + attributes: expectedAttributes, + count: 3, + sum: 10, + min: 1, + max: 8, + zeroCount: 0, + scale: 1, + positive: { + offset: 0, + bucketCounts: [1, 0, 0, 0, 1, 0, 1, 0], + }, + negative: { offset: 0, bucketCounts: [0] }, + startTimeUnixNano: hrTimeToNanoseconds(START_TIME), + timeUnixNano: hrTimeToNanoseconds(END_TIME), + }, + ], + }, + }, + ], + }, + ], + }, + ], + }); + }); + + it('without min/max', () => { + const exportRequest = createExportMetricsServiceRequest([ + createResourceMetrics([ + createExponentialHistogramMetrics( + 3, + 10, + 1, + 0, + { offset: 0, bucketCounts: [1, 0, 0, 0, 1, 0, 1, 0] }, + { offset: 0, bucketCounts: [0] }, + AggregationTemporality.CUMULATIVE + ), + ]), + ]); + + assert.ok(exportRequest); + + assert.deepStrictEqual(exportRequest, { + resourceMetrics: [ + { + resource: expectedResource, + schemaUrl: undefined, + scopeMetrics: [ + { + scope: expectedScope, + schemaUrl: expectedSchemaUrl, + metrics: [ + { + name: 'xhist', + description: 'this is a description', + unit: '1', + exponentialHistogram: { + aggregationTemporality: + EAggregationTemporality.AGGREGATION_TEMPORALITY_CUMULATIVE, + dataPoints: [ + { + attributes: expectedAttributes, + count: 3, + sum: 10, + min: undefined, + max: undefined, + zeroCount: 0, + scale: 1, + positive: { + offset: 0, + bucketCounts: [1, 0, 0, 0, 1, 0, 1, 0], + }, + negative: { offset: 0, bucketCounts: [0] }, + startTimeUnixNano: hrTimeToNanoseconds(START_TIME), + timeUnixNano: hrTimeToNanoseconds(END_TIME), + }, + ], + }, + }, + ], + }, + ], + }, + ], + }); + }); + }); }); }); diff --git a/packages/sdk-metrics/src/aggregator/index.ts b/packages/sdk-metrics/src/aggregator/index.ts index 8906c4563a..b304997dd6 100644 --- a/packages/sdk-metrics/src/aggregator/index.ts +++ b/packages/sdk-metrics/src/aggregator/index.ts @@ -16,6 +16,7 @@ export * from './Drop'; export * from './Histogram'; +export * from './ExponentialHistogram'; export * from './LastValue'; export * from './Sum'; export { Aggregator } from './types'; diff --git a/packages/sdk-metrics/src/index.ts b/packages/sdk-metrics/src/index.ts index 45559a54b8..4760da3ccc 100644 --- a/packages/sdk-metrics/src/index.ts +++ b/packages/sdk-metrics/src/index.ts @@ -34,6 +34,7 @@ export { SumMetricData, GaugeMetricData, HistogramMetricData, + ExponentialHistogramMetricData, ResourceMetrics, ScopeMetrics, MetricData, @@ -60,6 +61,7 @@ export { MeterProvider, MeterProviderOptions } from './MeterProvider'; export { DefaultAggregation, ExplicitBucketHistogramAggregation, + ExponentialHistogramAggregation, DropAggregation, HistogramAggregation, LastValueAggregation, diff --git a/packages/sdk-metrics/src/view/Aggregation.ts b/packages/sdk-metrics/src/view/Aggregation.ts index 1b73b7c0a4..755cd17531 100644 --- a/packages/sdk-metrics/src/view/Aggregation.ts +++ b/packages/sdk-metrics/src/view/Aggregation.ts @@ -21,6 +21,7 @@ import { DropAggregator, LastValueAggregator, HistogramAggregator, + ExponentialHistogramAggregator, } from '../aggregator'; import { Accumulation } from '../aggregator/types'; import { InstrumentDescriptor, InstrumentType } from '../InstrumentDescriptor'; @@ -52,6 +53,10 @@ export abstract class Aggregation { return HISTOGRAM_AGGREGATION; } + static ExponentialHistogram(): Aggregation { + return EXPONENTIAL_HISTOGRAM_AGGREGATION; + } + static Default(): Aggregation { return DEFAULT_AGGREGATION; } @@ -144,6 +149,21 @@ export class ExplicitBucketHistogramAggregation extends Aggregation { } } +export class ExponentialHistogramAggregation extends Aggregation { + constructor( + private readonly _maxSize: number = 160, + private readonly _recordMinMax = true + ) { + super(); + } + createAggregator(_instrument: InstrumentDescriptor) { + return new ExponentialHistogramAggregator( + this._maxSize, + this._recordMinMax + ); + } +} + /** * The default aggregation. */ @@ -179,4 +199,5 @@ const DROP_AGGREGATION = new DropAggregation(); const SUM_AGGREGATION = new SumAggregation(); const LAST_VALUE_AGGREGATION = new LastValueAggregation(); const HISTOGRAM_AGGREGATION = new HistogramAggregation(); +const EXPONENTIAL_HISTOGRAM_AGGREGATION = new ExponentialHistogramAggregation(); const DEFAULT_AGGREGATION = new DefaultAggregation(); From dc94696d5a564e92a75899059f0804c280151106 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 28 Mar 2023 08:01:33 +0200 Subject: [PATCH 04/11] chore: remove handling of node versions 8, 9 and 10 in tests (#3696) Co-authored-by: Chengzhong Wu Co-authored-by: Marc Pichler --- .../test/functionals/https-enable.test.ts | 11 +---------- .../test/AsyncHooksContextManager.test.ts | 10 ---------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/experimental/packages/opentelemetry-instrumentation-http/test/functionals/https-enable.test.ts b/experimental/packages/opentelemetry-instrumentation-http/test/functionals/https-enable.test.ts index 63a0ec00f5..9da1c115b4 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/test/functionals/https-enable.test.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/test/functionals/https-enable.test.ts @@ -35,7 +35,6 @@ import { } from '@opentelemetry/semantic-conventions'; import * as assert from 'assert'; import * as fs from 'fs'; -import * as semver from 'semver'; import * as nock from 'nock'; import * as path from 'path'; import { HttpInstrumentation } from '../../src/http'; @@ -548,15 +547,7 @@ describe('HttpsInstrumentation', () => { assert.fail(); } catch (error) { const spans = memoryExporter.getFinishedSpans(); - /** - * There is an edge case with node 8 because the https module - * just call the http one, resulting in 2 span. The fix only works - * if the protocol is 'https:' resulting in 2 span only for this test. - */ - assert.strictEqual( - spans.length, - semver.gt(process.version, '9.0.0') ? 1 : 2 - ); + assert.strictEqual(spans.length, 1); } }); diff --git a/packages/opentelemetry-context-async-hooks/test/AsyncHooksContextManager.test.ts b/packages/opentelemetry-context-async-hooks/test/AsyncHooksContextManager.test.ts index da30470406..4829bb8975 100644 --- a/packages/opentelemetry-context-async-hooks/test/AsyncHooksContextManager.test.ts +++ b/packages/opentelemetry-context-async-hooks/test/AsyncHooksContextManager.test.ts @@ -35,16 +35,6 @@ for (const contextManagerClass of [ | AsyncHooksContextManager | AsyncLocalStorageContextManager; - before(function () { - if ( - contextManagerClass.name === 'AsyncLocalStorageContextManager' && - (process.version.startsWith('v8.') || - process.version.startsWith('v10.')) - ) { - this.skip(); - } - }); - beforeEach(() => { contextManager = new contextManagerClass(); contextManager.enable(); From 9a79db3e18f791f9fd5232c41743aebcc9ecdaca Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 28 Mar 2023 20:40:34 +0100 Subject: [PATCH 05/11] chore(deps): update actions/stale action to v8 (#3699) --- .github/workflows/close-stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml index 591c435be3..b3cd8f83e5 100644 --- a/.github/workflows/close-stale.yml +++ b/.github/workflows/close-stale.yml @@ -7,7 +7,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v7 + - uses: actions/stale@v8 with: days-before-stale: 60 days-before-close: 14 From 1328ee04ae78f9f6cf143af7050c00aaa6d2eb3b Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 30 Mar 2023 09:41:01 -0400 Subject: [PATCH 06/11] Prepare version 1.11.0 and 0.37.0 (#3695) * Prepare version 1.11.0 and 0.37.0 * Add accidentally removed changelog entry * fix: add API package back to lerna linked packages * fix(changelog): move misplaced entries --------- Co-authored-by: Marc Pichler --- CHANGELOG.md | 14 +++++++-- examples/http/package.json | 2 +- examples/https/package.json | 18 +++++------ examples/opentelemetry-web/package.json | 30 +++++++++---------- examples/otlp-exporter-node/package.json | 24 +++++++-------- experimental/CHANGELOG.md | 8 +++-- .../node14/package.json | 6 ++-- .../node16/package.json | 6 ++-- experimental/examples/prometheus/package.json | 6 ++-- experimental/packages/api-events/package.json | 2 +- experimental/packages/api-logs/package.json | 2 +- .../exporter-trace-otlp-grpc/package.json | 14 ++++----- .../exporter-trace-otlp-http/package.json | 12 ++++---- .../exporter-trace-otlp-proto/package.json | 14 ++++----- .../package.json | 6 ++-- .../package.json | 14 ++++----- .../package.json | 12 ++++---- .../package.json | 16 +++++----- .../package.json | 10 +++---- .../package.json | 16 +++++----- .../package.json | 14 ++++----- .../package.json | 16 +++++----- .../package.json | 16 +++++----- .../package.json | 4 +-- .../opentelemetry-sdk-node/package.json | 28 ++++++++--------- .../packages/otlp-exporter-base/package.json | 4 +-- .../otlp-grpc-exporter-base/package.json | 12 ++++---- .../otlp-proto-exporter-base/package.json | 6 ++-- .../packages/otlp-transformer/package.json | 10 +++---- .../package.json | 8 ++--- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-context-zone/package.json | 4 +-- packages/opentelemetry-core/package.json | 4 +-- .../package.json | 10 +++---- .../package.json | 10 +++---- .../opentelemetry-propagator-b3/package.json | 4 +-- .../package.json | 4 +-- packages/opentelemetry-resources/package.json | 6 ++-- .../opentelemetry-sdk-trace-base/package.json | 8 ++--- .../opentelemetry-sdk-trace-node/package.json | 16 +++++----- .../opentelemetry-sdk-trace-web/package.json | 14 ++++----- .../package.json | 2 +- .../package.json | 12 ++++---- packages/sdk-metrics/package.json | 6 ++-- packages/template/package.json | 2 +- selenium-tests/package.json | 22 +++++++------- 47 files changed, 245 insertions(+), 233 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa83fa0bf7..68a95e9100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,20 +11,28 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) +### :bug: (Bug Fix) + +### :books: (Refine Doc) + +### :house: (Internal) + +## 1.11.0 + +### :rocket: (Enhancement) + * feat(sdk-metrics): add exponential histogram support [#3505](https://github.com/open-telemetry/opentelemetry-js/pull/3505), [#3506](https://github.com/open-telemetry/opentelemetry-js/pull/3506) @mwear * feat(resources): collect additional process attributes [#3605](https://github.com/open-telemetry/opentelemetry-js/pull/3605) @mwear ### :bug: (Bug Fix) +* fix(sdk-metrics): merge uncollected delta accumulations [#3667](https://github.com/open-telemetry/opentelemetry-js/pull/3667) @legendecas * fix(sdk-trace-web): make `parseUrl()` respect document.baseURI [#3670](https://github.com/open-telemetry/opentelemetry-js/pull/3670) @domasx2 -* fix(resource): make properties for async resource resolution optional [#3677](https://github.com/open-telemetry/opentelemetry-js/pull/3677) @pichlermarc ### :books: (Refine Doc) * doc(sdk): update NodeSDK example [#3684](https://github.com/open-telemetry/opentelemetry-js/pull/3684) @martinkuba -### :house: (Internal) - ## 1.10.1 ### :bug: (Bug Fix) diff --git a/examples/http/package.json b/examples/http/package.json index 61027324c3..0c5df5cd2d 100644 --- a/examples/http/package.json +++ b/examples/http/package.json @@ -1,7 +1,7 @@ { "name": "http-example", "private": true, - "version": "0.35.2", + "version": "0.36.0", "description": "Example of HTTP integration with OpenTelemetry", "main": "index.js", "scripts": { diff --git a/examples/https/package.json b/examples/https/package.json index 1429ff8f84..d9ba9d96e8 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -1,7 +1,7 @@ { "name": "https-example", "private": true, - "version": "0.36.1", + "version": "0.37.0", "description": "Example of HTTPs integration with OpenTelemetry", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -33,14 +33,14 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.10.1", - "@opentelemetry/exporter-zipkin": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/instrumentation-http": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/sdk-trace-node": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/exporter-jaeger": "1.11.0", + "@opentelemetry/exporter-zipkin": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/instrumentation-http": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/sdk-trace-node": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/https", "devDependencies": { diff --git a/examples/opentelemetry-web/package.json b/examples/opentelemetry-web/package.json index cbf11f4edb..03cfbe9092 100644 --- a/examples/opentelemetry-web/package.json +++ b/examples/opentelemetry-web/package.json @@ -1,7 +1,7 @@ { "name": "web-opentelemetry-example", "private": true, - "version": "0.36.1", + "version": "0.37.0", "description": "Example of using @opentelemetry/sdk-trace-web and @opentelemetry/sdk-metrics in browser", "main": "index.js", "scripts": { @@ -43,20 +43,20 @@ }, "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.10.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.36.1", - "@opentelemetry/exporter-trace-otlp-http": "0.36.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.36.1", - "@opentelemetry/exporter-zipkin": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/instrumentation-fetch": "0.36.1", - "@opentelemetry/instrumentation-xml-http-request": "0.36.1", - "@opentelemetry/propagator-b3": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/sdk-trace-web": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/context-zone": "1.11.0", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.37.0", + "@opentelemetry/exporter-trace-otlp-http": "0.37.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.37.0", + "@opentelemetry/exporter-zipkin": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/instrumentation-fetch": "0.37.0", + "@opentelemetry/instrumentation-xml-http-request": "0.37.0", + "@opentelemetry/propagator-b3": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/sdk-trace-web": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/tracer-web" } diff --git a/examples/otlp-exporter-node/package.json b/examples/otlp-exporter-node/package.json index cbb80b9685..9fa5c212b2 100644 --- a/examples/otlp-exporter-node/package.json +++ b/examples/otlp-exporter-node/package.json @@ -1,7 +1,7 @@ { "name": "example-otlp-exporter-node", "private": true, - "version": "0.36.1", + "version": "0.37.0", "description": "Example of using @opentelemetry/collector-exporter in Node.js", "main": "index.js", "scripts": { @@ -29,17 +29,17 @@ }, "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.36.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.36.1", - "@opentelemetry/exporter-metrics-otlp-proto": "0.36.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.36.1", - "@opentelemetry/exporter-trace-otlp-http": "0.36.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.37.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.37.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.37.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.37.0", + "@opentelemetry/exporter-trace-otlp-http": "0.37.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/otlp-exporter-node" } diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 0f4a6f55d6..928a5499cc 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -6,8 +6,6 @@ All notable changes to experimental packages in this project will be documented ### :boom: Breaking Change -* fix: remove HTTP/HTTPS prefix from span name in instrumentation-xml-http-request [#3672](https://github.com/open-telemetry/opentelemetry-js/pull/3672) @jufab - ### :rocket: (Enhancement) ### :bug: (Bug Fix) @@ -18,6 +16,12 @@ All notable changes to experimental packages in this project will be documented ### :house: (Internal) +## 0.37.0 + +### :boom: Breaking Change + +* fix: remove HTTP/HTTPS prefix from span name in instrumentation-xml-http-request [#3672](https://github.com/open-telemetry/opentelemetry-js/pull/3672) @jufab + ## 0.36.0 ### :boom: Breaking Change diff --git a/experimental/backwards-compatability/node14/package.json b/experimental/backwards-compatability/node14/package.json index 4266f978bc..f9f220569d 100644 --- a/experimental/backwards-compatability/node14/package.json +++ b/experimental/backwards-compatability/node14/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node14", - "version": "0.36.1", + "version": "0.37.0", "private": true, "description": "Backwards compatability app for node 14 types and the OpenTelemetry Node.js SDK", "main": "index.js", @@ -9,8 +9,8 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" }, "dependencies": { - "@opentelemetry/sdk-node": "0.36.1", - "@opentelemetry/sdk-trace-base": "1.10.1" + "@opentelemetry/sdk-node": "0.37.0", + "@opentelemetry/sdk-trace-base": "1.11.0" }, "devDependencies": { "@types/node": "14.18.25", diff --git a/experimental/backwards-compatability/node16/package.json b/experimental/backwards-compatability/node16/package.json index 91998be66b..de23fc8687 100644 --- a/experimental/backwards-compatability/node16/package.json +++ b/experimental/backwards-compatability/node16/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node16", - "version": "0.36.1", + "version": "0.37.0", "private": true, "description": "Backwards compatability app for node 16 types and the OpenTelemetry Node.js SDK", "main": "index.js", @@ -9,8 +9,8 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" }, "dependencies": { - "@opentelemetry/sdk-node": "0.36.1", - "@opentelemetry/sdk-trace-base": "1.10.1" + "@opentelemetry/sdk-node": "0.37.0", + "@opentelemetry/sdk-trace-base": "1.11.0" }, "devDependencies": { "@types/node": "16.11.52", diff --git a/experimental/examples/prometheus/package.json b/experimental/examples/prometheus/package.json index 7e331ff1b0..caea137f83 100644 --- a/experimental/examples/prometheus/package.json +++ b/experimental/examples/prometheus/package.json @@ -1,6 +1,6 @@ { "name": "prometheus-example", - "version": "0.36.1", + "version": "0.37.0", "private": true, "description": "Example of using @opentelemetry/sdk-metrics and @opentelemetry/exporter-prometheus", "main": "index.js", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-prometheus": "0.36.1", - "@opentelemetry/sdk-metrics": "1.10.1" + "@opentelemetry/exporter-prometheus": "0.37.0", + "@opentelemetry/sdk-metrics": "1.11.0" } } diff --git a/experimental/packages/api-events/package.json b/experimental/packages/api-events/package.json index 291cafcaaa..90dc5be124 100644 --- a/experimental/packages/api-events/package.json +++ b/experimental/packages/api-events/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/api-events", - "version": "0.36.1", + "version": "0.37.0", "description": "Public events API for OpenTelemetry", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/experimental/packages/api-logs/package.json b/experimental/packages/api-logs/package.json index bd32c6b73f..f39128b1c7 100644 --- a/experimental/packages/api-logs/package.json +++ b/experimental/packages/api-logs/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/api-logs", - "version": "0.36.1", + "version": "0.37.0", "description": "Public logs API for OpenTelemetry", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index 07097ee1a2..529638d66f 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/package.json +++ b/experimental/packages/exporter-trace-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-grpc", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -50,7 +50,7 @@ "@babel/core": "7.16.0", "@grpc/proto-loader": "^0.7.3", "@opentelemetry/api": "1.4.1", - "@opentelemetry/otlp-exporter-base": "0.36.1", + "@opentelemetry/otlp-exporter-base": "0.37.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -69,11 +69,11 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.36.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.37.0", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-grpc", "sideEffects": false diff --git a/experimental/packages/exporter-trace-otlp-http/package.json b/experimental/packages/exporter-trace-otlp-http/package.json index 4fe179d499..8d512c7e9a 100644 --- a/experimental/packages/exporter-trace-otlp-http/package.json +++ b/experimental/packages/exporter-trace-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-http", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Collector Trace Exporter allows user to send collected traces to the OpenTelemetry Collector", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -94,11 +94,11 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/otlp-exporter-base": "0.36.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/otlp-exporter-base": "0.37.0", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-http", "sideEffects": false diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index 52a2b35afe..6d27828695 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-proto", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -81,12 +81,12 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/otlp-exporter-base": "0.36.1", - "@opentelemetry/otlp-proto-exporter-base": "0.36.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/otlp-exporter-base": "0.37.0", + "@opentelemetry/otlp-proto-exporter-base": "0.37.0", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto", "sideEffects": false diff --git a/experimental/packages/opentelemetry-browser-detector/package.json b/experimental/packages/opentelemetry-browser-detector/package.json index 9a12703fe8..80a8002256 100644 --- a/experimental/packages/opentelemetry-browser-detector/package.json +++ b/experimental/packages/opentelemetry-browser-detector/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/opentelemetry-browser-detector", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Resource Detector for Browser", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -70,8 +70,8 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/browser-detector" } diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json index 29df34f393..1e393769ff 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-grpc", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -68,12 +68,12 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.36.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.36.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.37.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.37.0", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json index 290c189665..2e7f95a367 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-http", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -94,11 +94,11 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/otlp-exporter-base": "0.36.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/otlp-exporter-base": "0.37.0", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-http", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index 21a97a9456..74b72b1fb6 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-proto", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector using protobuf over HTTP", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -66,13 +66,13 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.36.1", - "@opentelemetry/otlp-exporter-base": "0.36.1", - "@opentelemetry/otlp-proto-exporter-base": "0.36.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.37.0", + "@opentelemetry/otlp-exporter-base": "0.37.0", + "@opentelemetry/otlp-proto-exporter-base": "0.37.0", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-proto", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-prometheus/package.json b/experimental/packages/opentelemetry-exporter-prometheus/package.json index 812b66fa78..443a5303c7 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/package.json +++ b/experimental/packages/opentelemetry-exporter-prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-prometheus", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -44,7 +44,7 @@ }, "devDependencies": { "@opentelemetry/api": "1.4.1", - "@opentelemetry/semantic-conventions": "1.10.1", + "@opentelemetry/semantic-conventions": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -60,9 +60,9 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index bcda0a9e2e..c012f29d57 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/package.json +++ b/experimental/packages/opentelemetry-instrumentation-fetch/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-fetch", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry fetch automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -56,9 +56,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "1.4.1", - "@opentelemetry/context-zone": "1.10.1", - "@opentelemetry/propagator-b3": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", + "@opentelemetry/context-zone": "1.11.0", + "@opentelemetry/propagator-b3": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -87,10 +87,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/sdk-trace-web": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/sdk-trace-web": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index 1824d79cc6..8a8f5e0f89 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/package.json +++ b/experimental/packages/opentelemetry-instrumentation-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-grpc", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry grpc automatic instrumentation package.", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -48,10 +48,10 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.3", "@opentelemetry/api": "1.4.1", - "@opentelemetry/context-async-hooks": "1.10.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/sdk-trace-node": "1.10.1", + "@opentelemetry/context-async-hooks": "1.11.0", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/sdk-trace-node": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/semver": "7.3.9", @@ -71,8 +71,8 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-grpc", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation-http/package.json b/experimental/packages/opentelemetry-instrumentation-http/package.json index d318a1434d..55c3a113b7 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/package.json +++ b/experimental/packages/opentelemetry-instrumentation-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-http", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry http/https automatic instrumentation package.", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -46,10 +46,10 @@ }, "devDependencies": { "@opentelemetry/api": "1.4.1", - "@opentelemetry/context-async-hooks": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/sdk-trace-node": "1.10.1", + "@opentelemetry/context-async-hooks": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/sdk-trace-node": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/request-promise-native": "1.0.18", @@ -73,9 +73,9 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/semantic-conventions": "1.10.1", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/semantic-conventions": "1.11.0", "semver": "^7.3.5" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http", diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json index 28aaa878b5..6464e6cfdf 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-xml-http-request", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry XMLHttpRequest automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -56,9 +56,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "1.4.1", - "@opentelemetry/context-zone": "1.10.1", - "@opentelemetry/propagator-b3": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", + "@opentelemetry/context-zone": "1.11.0", + "@opentelemetry/propagator-b3": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -87,10 +87,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/sdk-trace-web": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/sdk-trace-web": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index 5e97edb3b1..150ec1976c 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation", - "version": "0.36.1", + "version": "0.37.0", "description": "Base class for node which OpenTelemetry instrumentation modules extend", "author": "OpenTelemetry Authors", "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation", @@ -78,7 +78,7 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "1.4.1", - "@opentelemetry/sdk-metrics": "1.10.1", + "@opentelemetry/sdk-metrics": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/semver": "7.3.9", diff --git a/experimental/packages/opentelemetry-sdk-node/package.json b/experimental/packages/opentelemetry-sdk-node/package.json index 8919c90cbc..1d0d4ffcda 100644 --- a/experimental/packages/opentelemetry-sdk-node/package.json +++ b/experimental/packages/opentelemetry-sdk-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-node", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry SDK for Node.js", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -44,25 +44,25 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/exporter-jaeger": "1.10.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.36.1", - "@opentelemetry/exporter-trace-otlp-http": "0.36.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.36.1", - "@opentelemetry/exporter-zipkin": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/sdk-trace-node": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/exporter-jaeger": "1.11.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.37.0", + "@opentelemetry/exporter-trace-otlp-http": "0.37.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.37.0", + "@opentelemetry/exporter-zipkin": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/sdk-trace-node": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.5.0" }, "devDependencies": { "@opentelemetry/api": "1.4.1", - "@opentelemetry/context-async-hooks": "1.10.1", + "@opentelemetry/context-async-hooks": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/semver": "7.3.9", diff --git a/experimental/packages/otlp-exporter-base/package.json b/experimental/packages/otlp-exporter-base/package.json index 15c7c3e958..4be65c2965 100644 --- a/experimental/packages/otlp-exporter-base/package.json +++ b/experimental/packages/otlp-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-exporter-base", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry OTLP Exporter base (for internal use only)", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -61,7 +61,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.10.1" + "@opentelemetry/core": "1.11.0" }, "devDependencies": { "@opentelemetry/api": "1.4.1", diff --git a/experimental/packages/otlp-grpc-exporter-base/package.json b/experimental/packages/otlp-grpc-exporter-base/package.json index 14e590d406..bc0c5a84ac 100644 --- a/experimental/packages/otlp-grpc-exporter-base/package.json +++ b/experimental/packages/otlp-grpc-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-grpc-exporter-base", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry OTLP-gRPC Exporter base (for internal use only)", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -51,9 +51,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": "1.4.1", - "@opentelemetry/otlp-transformer": "0.36.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", + "@opentelemetry/otlp-transformer": "0.37.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -73,8 +73,8 @@ "dependencies": { "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.3", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/otlp-exporter-base": "0.36.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/otlp-exporter-base": "0.37.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-grpc-exporter-base", "sideEffects": false diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index 1e5a230985..8a6e101b26 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-proto-exporter-base", - "version": "0.36.1", + "version": "0.37.0", "description": "OpenTelemetry OTLP-HTTP-protobuf Exporter base (for internal use only)", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -77,8 +77,8 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/otlp-exporter-base": "0.36.1", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/otlp-exporter-base": "0.37.0", "protobufjs": "^7.1.2" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-proto-exporter-base", diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index f3fc76f262..af120d7b2a 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "0.36.1", + "version": "0.37.0", "description": "Transform OpenTelemetry SDK data into OTLP", "module": "build/esm/index.js", "esnext": "build/esnext/index.js", @@ -76,10 +76,10 @@ "webpack": "4.46.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-metrics": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-metrics": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-transformer", "sideEffects": false diff --git a/integration-tests/propagation-validation-server/package.json b/integration-tests/propagation-validation-server/package.json index c7f4b34351..a03c1bf6a7 100644 --- a/integration-tests/propagation-validation-server/package.json +++ b/integration-tests/propagation-validation-server/package.json @@ -1,6 +1,6 @@ { "name": "propagation-validation-server", - "version": "1.10.1", + "version": "1.11.0", "description": "server for w3c tests", "main": "validation_server.js", "private": true, @@ -12,9 +12,9 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.10.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", + "@opentelemetry/context-async-hooks": "1.11.0", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", "axios": "0.24.0", "body-parser": "1.19.0", "express": "4.17.3" diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index f6aa5d21e5..32acd9c0ec 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-async-hooks", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry AsyncHooks-based Context Manager", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index 74dc3d73c6..b10bb532d2 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-zone-peer-dep", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Context Zone with peer dependency for zone.js", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/opentelemetry-context-zone/package.json b/packages/opentelemetry-context-zone/package.json index f3ffbc15b2..0b0ef0d7ea 100644 --- a/packages/opentelemetry-context-zone/package.json +++ b/packages/opentelemetry-context-zone/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-zone", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Context Zone", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -74,7 +74,7 @@ "webpack-merge": "5.8.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.10.1", + "@opentelemetry/context-zone-peer-dep": "1.11.0", "zone.js": "^0.11.0" }, "sideEffects": true, diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index d6e6767152..72edb10949 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/core", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,7 +91,7 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core", "sideEffects": false diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index eca41f2c20..747442e33f 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-jaeger", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -45,7 +45,7 @@ }, "devDependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/resources": "1.10.1", + "@opentelemetry/resources": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -62,9 +62,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0", "jaeger-client": "^3.15.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-jaeger", diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index 189c271244..d3e3ca9fdc 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-zipkin", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,10 +91,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-zipkin", "sideEffects": false diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index d4b16f0073..ec2e91da87 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-b3", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry B3 propagator provides context propagation for systems that are using the B3 header format", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -51,7 +51,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.10.1" + "@opentelemetry/core": "1.11.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.5.0" diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index c11e1a1084..26a9c96b6e 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-jaeger", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -80,7 +80,7 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1" + "@opentelemetry/core": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-propagator-jaeger", "sideEffects": false diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index ac4246606b..8f08ce7dd7 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/resources", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry SDK resources", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -90,8 +90,8 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources", "sideEffects": false diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index 5d3db9fd1e..57bd87010a 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-base", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Tracing", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -92,9 +92,9 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base", "sideEffects": false diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index 0b280f273c..1037ccf84d 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-node", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -46,8 +46,8 @@ }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.5.0", - "@opentelemetry/resources": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1", + "@opentelemetry/resources": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/semver": "7.3.9", @@ -64,11 +64,11 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/context-async-hooks": "1.10.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/propagator-b3": "1.10.1", - "@opentelemetry/propagator-jaeger": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", + "@opentelemetry/context-async-hooks": "1.11.0", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/propagator-b3": "1.11.0", + "@opentelemetry/propagator-jaeger": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", "semver": "^7.3.5" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node", diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index 446cf25a85..39b16b4c94 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-web", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry Web Tracer", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -57,9 +57,9 @@ "devDependencies": { "@babel/core": "7.16.0", "@opentelemetry/api": ">=1.0.0 <1.5.0", - "@opentelemetry/context-zone": "1.10.1", - "@opentelemetry/propagator-b3": "1.10.1", - "@opentelemetry/resources": "1.10.1", + "@opentelemetry/context-zone": "1.11.0", + "@opentelemetry/propagator-b3": "1.11.0", + "@opentelemetry/resources": "1.11.0", "@types/jquery": "3.5.8", "@types/mocha": "10.0.0", "@types/node": "18.6.5", @@ -91,9 +91,9 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1" + "@opentelemetry/core": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-web", "sideEffects": false diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index dbb5d25999..d73b69c4a2 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/semantic-conventions", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry semantic conventions", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index d17c7e233f..71afb5cdb5 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/shim-opentracing", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTracing to OpenTelemetry shim", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -43,9 +43,9 @@ }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.5.0", - "@opentelemetry/propagator-b3": "1.10.1", - "@opentelemetry/propagator-jaeger": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", + "@opentelemetry/propagator-b3": "1.11.0", + "@opentelemetry/propagator-jaeger": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -59,8 +59,8 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/semantic-conventions": "1.10.1", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/semantic-conventions": "1.11.0", "opentracing": "^0.14.4" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-shim-opentracing", diff --git a/packages/sdk-metrics/package.json b/packages/sdk-metrics/package.json index 369920bd51..07d25afed7 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-metrics", - "version": "1.10.1", + "version": "1.11.0", "description": "OpenTelemetry metrics SDK", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -77,8 +77,8 @@ "@opentelemetry/api": ">=1.3.0 <1.5.0" }, "dependencies": { - "@opentelemetry/core": "1.10.1", - "@opentelemetry/resources": "1.10.1", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/resources": "1.11.0", "lodash.merge": "4.6.2" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/sdk-metrics", diff --git a/packages/template/package.json b/packages/template/package.json index b9013268e1..c527c2702c 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/template", - "version": "1.10.1", + "version": "1.11.0", "private": true, "publishConfig": { "access": "restricted" diff --git a/selenium-tests/package.json b/selenium-tests/package.json index ce5f9ea0e5..61630bac96 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/selenium-tests", - "version": "1.10.1", + "version": "1.11.0", "private": true, "description": "OpenTelemetry Selenium Tests", "main": "index.js", @@ -56,16 +56,16 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.10.1", - "@opentelemetry/core": "1.10.1", - "@opentelemetry/exporter-trace-otlp-http": "0.36.1", - "@opentelemetry/exporter-zipkin": "1.10.1", - "@opentelemetry/instrumentation": "0.36.1", - "@opentelemetry/instrumentation-fetch": "0.36.1", - "@opentelemetry/instrumentation-xml-http-request": "0.36.1", - "@opentelemetry/sdk-metrics": "1.10.1", - "@opentelemetry/sdk-trace-base": "1.10.1", - "@opentelemetry/sdk-trace-web": "1.10.1", + "@opentelemetry/context-zone-peer-dep": "1.11.0", + "@opentelemetry/core": "1.11.0", + "@opentelemetry/exporter-trace-otlp-http": "0.37.0", + "@opentelemetry/exporter-zipkin": "1.11.0", + "@opentelemetry/instrumentation": "0.37.0", + "@opentelemetry/instrumentation-fetch": "0.37.0", + "@opentelemetry/instrumentation-xml-http-request": "0.37.0", + "@opentelemetry/sdk-metrics": "1.11.0", + "@opentelemetry/sdk-trace-base": "1.11.0", + "@opentelemetry/sdk-trace-web": "1.11.0", "zone.js": "0.11.4" } } From b8923d5165f4be66c974dacd5be1744670a3bb5d Mon Sep 17 00:00:00 2001 From: Rauno Viskus <1334536+rauno56@users.noreply.github.com> Date: Thu, 30 Mar 2023 18:28:40 +0300 Subject: [PATCH 07/11] chore: emeritify Rauno56 :tada: (#3706) * chore: emeritify Rauno56 :tada: * chore: add changelog entry * chore: remove myself from the renovate assignees --- CHANGELOG.md | 1 + README.md | 40 ++++++++++++++++++++++------------------ renovate.json | 2 +- 3 files changed, 24 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68a95e9100..c767ff9893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :books: (Refine Doc) * doc(sdk): update NodeSDK example [#3684](https://github.com/open-telemetry/opentelemetry-js/pull/3684) @martinkuba +* docs: change rauno56 status from maintainer to emeritus [#3706](https://github.com/open-telemetry/opentelemetry-js/pull/3706) @rauno56 ## 1.10.1 diff --git a/README.md b/README.md index c5ff1f2b0e..22f6df9f2f 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,19 @@ instructions to build and make changes to this project, see the We have a weekly SIG meeting! See the [community page](https://github.com/open-telemetry/community#javascript-sdk) for meeting details and notes. -Approvers ([@open-telemetry/js-approvers](https://github.com/orgs/open-telemetry/teams/javascript-approvers)): +### Community members + +#### Maintainers ([@open-telemetry/js-maintainers](https://github.com/orgs/open-telemetry/teams/javascript-maintainers)) + +- [Amir Blum](https://github.com/blumamir), Aspecto +- [Chengzhong Wu](https://github.com/legendecas), Alibaba +- [Daniel Dyla](https://github.com/dyladan), Dynatrace +- [Marc Pichler](https://github.com/pichlermarc), Dynatrace +- [Valentin Marchaud](https://github.com/vmarchaud), Open Source Contributor + +*Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#maintainer).* + +#### Approvers ([@open-telemetry/js-approvers](https://github.com/orgs/open-telemetry/teams/javascript-approvers)) - [Gerhard Stöbich](https://github.com/Flarna), Dynatrace - [Haddas Bronfman](https://github.com/haddasbronfman), Cisco @@ -188,31 +200,23 @@ Approvers ([@open-telemetry/js-approvers](https://github.com/orgs/open-telemetry *Find more about the approver role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#approver).* -Maintainers ([@open-telemetry/js-maintainers](https://github.com/orgs/open-telemetry/teams/javascript-maintainers)): +#### Emeriti -- [Amir Blum](https://github.com/blumamir), Aspecto -- [Chengzhong Wu](https://github.com/legendecas), Alibaba -- [Daniel Dyla](https://github.com/dyladan), Dynatrace -- [Marc Pichler](https://github.com/pichlermarc), Dynatrace -- [Rauno Viskus](https://github.com/Rauno56), Splunk -- [Valentin Marchaud](https://github.com/vmarchaud), Open Source Contributor +- [Bartlomiej Obecny](https://github.com/obecny), LightStep, Maintainer +- [Daniel Khan](https://github.com/dkhan), Dynatrace, Maintainer +- [Mayur Kale](https://github.com/mayurkale22), Google, Maintainer +- [Rauno Viskus](https://github.com/rauno56), Maintainer +- [Brandon Gonzalez](https://github.com/bg451), LightStep, Approver +- [Roch Devost](https://github.com/rochdev), DataDog, Approver -*Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#maintainer).* +*Find more about the emeritus role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#emeritus-maintainerapprovertriager).* -### Thanks to all the people who already contributed +#### Thanks to all the people who already contributed -### Thanks to all previous approvers and maintainers - -- [Bartlomiej Obecny](https://github.com/obecny), LightStep, Maintainer -- [Daniel Khan](https://github.com/dkhan), Dynatrace, Maintainer -- [Mayur Kale](https://github.com/mayurkale22), Google, Maintainer -- [Brandon Gonzalez](https://github.com/bg451), LightStep, Approver -- [Roch Devost](https://github.com/rochdev), DataDog, Approver - ## Packages ### API diff --git a/renovate.json b/renovate.json index 0e91ce6425..deba9c951a 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,7 @@ } ], "ignoreDeps": ["gcp-metadata", "got", "mocha", "husky", "karma-webpack", "@opentelemetry/api"], - "assignees": ["@blumamir", "@dyladan", "@legendecas", "@Rauno56", "@vmarchaud"], + "assignees": ["@blumamir", "@dyladan", "@legendecas", "@vmarchaud"], "schedule": ["before 3am on Friday"], "labels": ["dependencies"] } From 4b04407ba34594d5febc263fe6c79fd4cf7475d5 Mon Sep 17 00:00:00 2001 From: Valentin Marchaud Date: Fri, 31 Mar 2023 21:47:30 +0200 Subject: [PATCH 08/11] chore: move vmarchaud to emeriti (#3709) --- CHANGELOG.md | 1 + README.md | 2 +- renovate.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c767ff9893..a9b186e78f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :books: (Refine Doc) * doc(sdk): update NodeSDK example [#3684](https://github.com/open-telemetry/opentelemetry-js/pull/3684) @martinkuba +* docs: change vmarchaud status from maintainer to emeritus [#3710](https://github.com/open-telemetry/opentelemetry-js/pull/3710) @vmarchaud * docs: change rauno56 status from maintainer to emeritus [#3706](https://github.com/open-telemetry/opentelemetry-js/pull/3706) @rauno56 ## 1.10.1 diff --git a/README.md b/README.md index 22f6df9f2f..1b68f88e97 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,6 @@ We have a weekly SIG meeting! See the [community page](https://github.com/open-t - [Chengzhong Wu](https://github.com/legendecas), Alibaba - [Daniel Dyla](https://github.com/dyladan), Dynatrace - [Marc Pichler](https://github.com/pichlermarc), Dynatrace -- [Valentin Marchaud](https://github.com/vmarchaud), Open Source Contributor *Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#maintainer).* @@ -206,6 +205,7 @@ We have a weekly SIG meeting! See the [community page](https://github.com/open-t - [Daniel Khan](https://github.com/dkhan), Dynatrace, Maintainer - [Mayur Kale](https://github.com/mayurkale22), Google, Maintainer - [Rauno Viskus](https://github.com/rauno56), Maintainer +- [Valentin Marchaud](https://github.com/vmarchaud), Maintainer - [Brandon Gonzalez](https://github.com/bg451), LightStep, Approver - [Roch Devost](https://github.com/rochdev), DataDog, Approver diff --git a/renovate.json b/renovate.json index deba9c951a..dab042a79f 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,7 @@ } ], "ignoreDeps": ["gcp-metadata", "got", "mocha", "husky", "karma-webpack", "@opentelemetry/api"], - "assignees": ["@blumamir", "@dyladan", "@legendecas", "@vmarchaud"], + "assignees": ["@blumamir", "@dyladan", "@legendecas"], "schedule": ["before 3am on Friday"], "labels": ["dependencies"] } From 73da976982beedc87fb3a6d573082375d27c97ee Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Tue, 4 Apr 2023 05:27:53 -0400 Subject: [PATCH 09/11] fix(instrumentation-http): use semantic convention metric descriptions (#3710) --- CHANGELOG.md | 2 ++ .../packages/opentelemetry-instrumentation-http/src/http.ts | 4 ++-- .../test/functionals/http-metrics.test.ts | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9b186e78f..d9172dab89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :bug: (Bug Fix) +* fix(instrumentation-http): fixed description for http.server.duration metric [#3710](https://github.com/open-telemetry/opentelemetry-js/pull/3710) + ### :books: (Refine Doc) ### :house: (Internal) diff --git a/experimental/packages/opentelemetry-instrumentation-http/src/http.ts b/experimental/packages/opentelemetry-instrumentation-http/src/http.ts index 7291780e86..1f6affef66 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/src/http.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/src/http.ts @@ -80,7 +80,7 @@ export class HttpInstrumentation extends InstrumentationBase { this._httpServerDurationHistogram = this.meter.createHistogram( 'http.server.duration', { - description: 'measures the duration of the inbound HTTP requests', + description: 'Measures the duration of inbound HTTP requests.', unit: 'ms', valueType: ValueType.DOUBLE, } @@ -88,7 +88,7 @@ export class HttpInstrumentation extends InstrumentationBase { this._httpClientDurationHistogram = this.meter.createHistogram( 'http.client.duration', { - description: 'measures the duration of the outbound HTTP requests', + description: 'Measures the duration of outbound HTTP requests.', unit: 'ms', valueType: ValueType.DOUBLE, } diff --git a/experimental/packages/opentelemetry-instrumentation-http/test/functionals/http-metrics.test.ts b/experimental/packages/opentelemetry-instrumentation-http/test/functionals/http-metrics.test.ts index df51a54fcf..d7f55ed846 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/test/functionals/http-metrics.test.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/test/functionals/http-metrics.test.ts @@ -82,7 +82,7 @@ describe('metrics', () => { assert.strictEqual(metrics[0].dataPointType, DataPointType.HISTOGRAM); assert.strictEqual( metrics[0].descriptor.description, - 'measures the duration of the inbound HTTP requests' + 'Measures the duration of inbound HTTP requests.' ); assert.strictEqual(metrics[0].descriptor.name, 'http.server.duration'); assert.strictEqual(metrics[0].descriptor.unit, 'ms'); @@ -119,7 +119,7 @@ describe('metrics', () => { assert.strictEqual(metrics[1].dataPointType, DataPointType.HISTOGRAM); assert.strictEqual( metrics[1].descriptor.description, - 'measures the duration of the outbound HTTP requests' + 'Measures the duration of outbound HTTP requests.' ); assert.strictEqual(metrics[1].descriptor.name, 'http.client.duration'); assert.strictEqual(metrics[1].descriptor.unit, 'ms'); From 65b2b79b1327e4ccb2c589b5c214d67dce756004 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 5 Apr 2023 13:56:56 -0400 Subject: [PATCH 10/11] Log name and ID on span end misuse (#3716) * Log name and ID on span end misuse * Changelog * lint --- CHANGELOG.md | 2 ++ packages/opentelemetry-sdk-trace-base/src/Span.ts | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9172dab89..e894e1efd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) +* feat(tracing): log span name and IDs when span end is called multiple times [#3716](https://github.com/open-telemetry/opentelemetry-js/pull/3716) + ### :bug: (Bug Fix) * fix(instrumentation-http): fixed description for http.server.duration metric [#3710](https://github.com/open-telemetry/opentelemetry-js/pull/3710) diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index 0f742855d1..31fb1555ac 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -216,7 +216,9 @@ export class Span implements APISpan, ReadableSpan { end(endTime?: TimeInput): void { if (this._isSpanEnded()) { - diag.error('You can only call end() on a span once.'); + diag.error( + `${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.` + ); return; } this._ended = true; From 93285585ce816a30df8db2b4bdd6d39fd78da806 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 7 Apr 2023 18:52:27 +0100 Subject: [PATCH 11/11] chore(deps): update dependency chromedriver to v112 (#3718) --- selenium-tests/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selenium-tests/package.json b/selenium-tests/package.json index 61630bac96..efd46aeefe 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -40,7 +40,7 @@ "babel-loader": "8.2.3", "babel-polyfill": "6.26.0", "browserstack-local": "1.4.8", - "chromedriver": "111.0.0", + "chromedriver": "112.0.0", "dotenv": "16.0.0", "fast-safe-stringify": "2.1.1", "geckodriver": "3.0.1",