From 2e816061b11e175b4cffac5ad10328a695f4d8e8 Mon Sep 17 00:00:00 2001 From: Mateusz Rumian Date: Tue, 28 Jun 2022 22:31:50 +0200 Subject: [PATCH 1/3] chore(nodejs): bump deps, switch exporter to OTLP HTTP proto --- autoinstrumentation/nodejs/package.json | 8 ++++---- autoinstrumentation/nodejs/src/autoinstrumentation.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/autoinstrumentation/nodejs/package.json b/autoinstrumentation/nodejs/package.json index dd5c9ddf9e..d319956ae0 100644 --- a/autoinstrumentation/nodejs/package.json +++ b/autoinstrumentation/nodejs/package.json @@ -14,9 +14,9 @@ "typescript": "^4.4.4" }, "dependencies": { - "@opentelemetry/api": "1.0.4", - "@opentelemetry/auto-instrumentations-node": "0.27.4", - "@opentelemetry/exporter-trace-otlp-grpc": "0.27.0", - "@opentelemetry/sdk-node": "0.27.0" + "@opentelemetry/api": "1.1.0", + "@opentelemetry/auto-instrumentations-node": "0.31.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.29.2", + "@opentelemetry/sdk-node": "0.29.2" } } diff --git a/autoinstrumentation/nodejs/src/autoinstrumentation.ts b/autoinstrumentation/nodejs/src/autoinstrumentation.ts index 3b0d9d2256..3db7f3ef63 100644 --- a/autoinstrumentation/nodejs/src/autoinstrumentation.ts +++ b/autoinstrumentation/nodejs/src/autoinstrumentation.ts @@ -1,5 +1,5 @@ import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node'; -import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-grpc'; +import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-proto'; import { NodeSDK } from '@opentelemetry/sdk-node'; From 4c1d46eb8c69a34e96d2746bddf3a43a13a6e01d Mon Sep 17 00:00:00 2001 From: Mateusz Rumian Date: Wed, 29 Jun 2022 14:02:13 +0200 Subject: [PATCH 2/3] chore(nodejs): switch exporter to OTLP HTTP json --- autoinstrumentation/nodejs/package.json | 2 +- autoinstrumentation/nodejs/src/autoinstrumentation.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoinstrumentation/nodejs/package.json b/autoinstrumentation/nodejs/package.json index d319956ae0..cf5360245d 100644 --- a/autoinstrumentation/nodejs/package.json +++ b/autoinstrumentation/nodejs/package.json @@ -16,7 +16,7 @@ "dependencies": { "@opentelemetry/api": "1.1.0", "@opentelemetry/auto-instrumentations-node": "0.31.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.29.2", + "@opentelemetry/exporter-trace-otlp-http": "0.29.2", "@opentelemetry/sdk-node": "0.29.2" } } diff --git a/autoinstrumentation/nodejs/src/autoinstrumentation.ts b/autoinstrumentation/nodejs/src/autoinstrumentation.ts index 3db7f3ef63..447a0ff59f 100644 --- a/autoinstrumentation/nodejs/src/autoinstrumentation.ts +++ b/autoinstrumentation/nodejs/src/autoinstrumentation.ts @@ -1,5 +1,5 @@ import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node'; -import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-proto'; +import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http'; import { NodeSDK } from '@opentelemetry/sdk-node'; From c871495d1c0a31e431b111d318c3a971ec82b46c Mon Sep 17 00:00:00 2001 From: Mateusz Rumian Date: Mon, 1 Aug 2022 13:04:05 +0200 Subject: [PATCH 3/3] chore(instrumentation): get back to grpc exporter --- autoinstrumentation/nodejs/package.json | 4 ++-- autoinstrumentation/nodejs/src/autoinstrumentation.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autoinstrumentation/nodejs/package.json b/autoinstrumentation/nodejs/package.json index cf5360245d..157dcc87ae 100644 --- a/autoinstrumentation/nodejs/package.json +++ b/autoinstrumentation/nodejs/package.json @@ -16,7 +16,7 @@ "dependencies": { "@opentelemetry/api": "1.1.0", "@opentelemetry/auto-instrumentations-node": "0.31.0", - "@opentelemetry/exporter-trace-otlp-http": "0.29.2", - "@opentelemetry/sdk-node": "0.29.2" + "@opentelemetry/exporter-trace-otlp-grpc": "0.31.0", + "@opentelemetry/sdk-node": "0.31.0" } } diff --git a/autoinstrumentation/nodejs/src/autoinstrumentation.ts b/autoinstrumentation/nodejs/src/autoinstrumentation.ts index 447a0ff59f..3b0d9d2256 100644 --- a/autoinstrumentation/nodejs/src/autoinstrumentation.ts +++ b/autoinstrumentation/nodejs/src/autoinstrumentation.ts @@ -1,5 +1,5 @@ import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node'; -import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http'; +import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-grpc'; import { NodeSDK } from '@opentelemetry/sdk-node';