From 9062abfce6b8fb6bd2075e67f63b588ab53c896c Mon Sep 17 00:00:00 2001 From: Gary Sassano <10464497+garysassano@users.noreply.github.com> Date: Fri, 17 Jan 2025 21:25:21 +0100 Subject: [PATCH] move lib dir --- .../src/detectors/AwsBeanstalkDetectorSync.ts | 2 +- .../src/detectors/AwsEc2DetectorSync.ts | 2 +- .../src/detectors/AwsEcsDetectorSync.ts | 2 +- .../src/detectors/AwsEksDetectorSync.ts | 2 +- .../src/detectors/AwsLambdaDetectorSync.ts | 2 +- .../{ => src}/lib/semconv.ts | 0 .../node/opentelemetry-resource-detector-aws/tsconfig.json | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename detectors/node/opentelemetry-resource-detector-aws/{ => src}/lib/semconv.ts (100%) diff --git a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsBeanstalkDetectorSync.ts b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsBeanstalkDetectorSync.ts index 4e8d167406..0cce5a5c7a 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsBeanstalkDetectorSync.ts +++ b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsBeanstalkDetectorSync.ts @@ -33,7 +33,7 @@ import { ATTR_SERVICE_INSTANCE_ID, CLOUD_PROVIDER_VALUE_AWS, CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK, -} from '../../lib/semconv'; +} from '../lib/semconv'; import * as fs from 'fs'; import * as util from 'util'; diff --git a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEc2DetectorSync.ts b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEc2DetectorSync.ts index 9a2e25085c..cba878e04c 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEc2DetectorSync.ts +++ b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEc2DetectorSync.ts @@ -34,7 +34,7 @@ import { ATTR_HOST_NAME, CLOUD_PROVIDER_VALUE_AWS, CLOUD_PLATFORM_VALUE_AWS_EC2, -} from '../../lib/semconv'; +} from '../lib/semconv'; import * as http from 'http'; /** diff --git a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEcsDetectorSync.ts b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEcsDetectorSync.ts index e1145b6d4c..9dd1fa7c08 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEcsDetectorSync.ts +++ b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEcsDetectorSync.ts @@ -42,7 +42,7 @@ import { ATTR_AWS_LOG_STREAM_ARNS, CLOUD_PROVIDER_VALUE_AWS, CLOUD_PLATFORM_VALUE_AWS_ECS, -} from '../../lib/semconv'; +} from '../lib/semconv'; // Patch until the OpenTelemetry SDK is updated to ship this attribute import { SemanticResourceAttributes as AdditionalSemanticResourceAttributes } from './SemanticResourceAttributes'; import * as http from 'http'; diff --git a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEksDetectorSync.ts b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEksDetectorSync.ts index a96e410a57..57b4773c54 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEksDetectorSync.ts +++ b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsEksDetectorSync.ts @@ -30,7 +30,7 @@ import { ATTR_CONTAINER_ID, CLOUD_PROVIDER_VALUE_AWS, CLOUD_PLATFORM_VALUE_AWS_EKS, -} from '../../lib/semconv'; +} from '../lib/semconv'; import * as https from 'https'; import * as fs from 'fs'; import * as util from 'util'; diff --git a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsLambdaDetectorSync.ts b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsLambdaDetectorSync.ts index 5eb398d639..d715bf8fa7 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsLambdaDetectorSync.ts +++ b/detectors/node/opentelemetry-resource-detector-aws/src/detectors/AwsLambdaDetectorSync.ts @@ -29,7 +29,7 @@ import { ATTR_FAAS_NAME, CLOUD_PROVIDER_VALUE_AWS, CLOUD_PLATFORM_VALUE_AWS_LAMBDA, -} from '../../lib/semconv'; +} from '../lib/semconv'; /** * The AwsLambdaDetector can be used to detect if a process is running in AWS Lambda diff --git a/detectors/node/opentelemetry-resource-detector-aws/lib/semconv.ts b/detectors/node/opentelemetry-resource-detector-aws/src/lib/semconv.ts similarity index 100% rename from detectors/node/opentelemetry-resource-detector-aws/lib/semconv.ts rename to detectors/node/opentelemetry-resource-detector-aws/src/lib/semconv.ts diff --git a/detectors/node/opentelemetry-resource-detector-aws/tsconfig.json b/detectors/node/opentelemetry-resource-detector-aws/tsconfig.json index a6da3ce22c..17401e5ad2 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/tsconfig.json +++ b/detectors/node/opentelemetry-resource-detector-aws/tsconfig.json @@ -7,6 +7,6 @@ "include": [ "src/**/*.ts", "test/**/*.ts", - "lib/**/*.ts" + "src/lib/**/*.ts" ] }