From 10b91a713423d6ba6066e0f84ffbd708671fbaa0 Mon Sep 17 00:00:00 2001 From: jjllee Date: Tue, 11 Mar 2025 16:05:51 -0700 Subject: [PATCH 1/2] uncomment publish udp exporter --- .github/workflows/release-udp-exporter.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-udp-exporter.yml b/.github/workflows/release-udp-exporter.yml index 95c20816..fe28a365 100644 --- a/.github/workflows/release-udp-exporter.yml +++ b/.github/workflows/release-udp-exporter.yml @@ -73,11 +73,10 @@ jobs: exit 1 fi - # TODO: Uncomment when we make the first release - # # Publish OTLP UDP Exporter to npm - # - name: Publish to npm - # working-directory: exporters/aws-otel-otlp-udp-exporter - # env: - # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - # NPM_CONFIG_PROVENANCE: true - # run: npx publish + # Publish OTLP UDP Exporter to npm + - name: Publish to npm + working-directory: exporters/aws-otel-otlp-udp-exporter + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_CONFIG_PROVENANCE: true + run: npx publish From 128a5d4edf25ea86f9176317ce92446d32e9c9ff Mon Sep 17 00:00:00 2001 From: jjllee Date: Tue, 11 Mar 2025 16:19:11 -0700 Subject: [PATCH 2/2] update readme for exporter --- exporters/aws-otel-otlp-udp-exporter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporters/aws-otel-otlp-udp-exporter/README.md b/exporters/aws-otel-otlp-udp-exporter/README.md index 8fb53b6c..7d6c1372 100644 --- a/exporters/aws-otel-otlp-udp-exporter/README.md +++ b/exporters/aws-otel-otlp-udp-exporter/README.md @@ -9,7 +9,7 @@ npm install --save @aws/aws-otel-otlp-udp-exporter ## Usage ```js -import { OTLPUdpSpanExporter } from './otlp-udp-exporter'; +import { OTLPUdpSpanExporter } from '@aws/aws-otel-otlp-udp-exporter'; import { SpanExporter } from '@opentelemetry/sdk-trace-base'; // ...