From 31291765ffca1730dc35bd6cf6ff609dce8f99de Mon Sep 17 00:00:00 2001 From: Mark Wolff Date: Tue, 7 Jul 2020 13:54:44 -0400 Subject: [PATCH] fix: account for @azure folder path (#52) --- .gitignore | 1 + packages/azure-opentelemetry-exporter/.npmignore | 2 +- packages/azure-opentelemetry-exporter/package.json | 2 +- .../src/platform/nodejs/context/context.ts | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4290a67..4295822 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ build package-lock.json coverage .DS_Store +*\.tgz diff --git a/packages/azure-opentelemetry-exporter/.npmignore b/packages/azure-opentelemetry-exporter/.npmignore index 10d3406..d8b9fb4 100644 --- a/packages/azure-opentelemetry-exporter/.npmignore +++ b/packages/azure-opentelemetry-exporter/.npmignore @@ -3,7 +3,7 @@ # Except for... !build/src/** -!src +!src/** !package.json !README.md !SECURITY.md diff --git a/packages/azure-opentelemetry-exporter/package.json b/packages/azure-opentelemetry-exporter/package.json index 170b7ef..d0f2d23 100644 --- a/packages/azure-opentelemetry-exporter/package.json +++ b/packages/azure-opentelemetry-exporter/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "nock": "^13.0.0", - "typescript": "^3.8.3" + "typescript": "^3.9.5" }, "dependencies": { "@opentelemetry/api": "^0.9.0", diff --git a/packages/azure-opentelemetry-exporter/src/platform/nodejs/context/context.ts b/packages/azure-opentelemetry-exporter/src/platform/nodejs/context/context.ts index 1ce03ae..00d1b9b 100644 --- a/packages/azure-opentelemetry-exporter/src/platform/nodejs/context/context.ts +++ b/packages/azure-opentelemetry-exporter/src/platform/nodejs/context/context.ts @@ -45,7 +45,7 @@ export class Context { * relative to `Context.ROOT_PATH` * @default `../../` */ - private _appPrefix = '../../', + private _appPrefix = '../../../', ) { this.keys = new Contracts.ContextTagKeys(); this.tags = <{ [key: string]: string }>{};