@@ -21,7 +21,7 @@ import {
2121 assertServiceResource ,
2222} from '@opentelemetry/contrib-test-utils' ;
2323import { detectResources } from '@opentelemetry/resources' ;
24- import { CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK } from '@opentelemetry/semantic-conventions ' ;
24+ import { CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK } from '../../src/semconv ' ;
2525import { awsBeanstalkDetector } from '../../src' ;
2626import { AwsBeanstalkDetector } from '../../src/detectors/AwsBeanstalkDetector' ;
2727
@@ -61,7 +61,7 @@ describe('BeanstalkResourceDetector', () => {
6161 sinon . assert . calledOnce ( readStub ) ;
6262 assert . ok ( resource ) ;
6363 assertServiceResource ( resource , {
64- name : CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK ,
64+ name : CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK ,
6565 namespace : 'scorekeep' ,
6666 version : 'app-5a56-170119_190650-stage-170119_190650' ,
6767 instanceId : '32' ,
@@ -84,7 +84,7 @@ describe('BeanstalkResourceDetector', () => {
8484 sinon . assert . calledOnce ( readStub ) ;
8585 assert . ok ( resource ) ;
8686 assertServiceResource ( resource , {
87- name : CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK ,
87+ name : CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK ,
8888 namespace : 'scorekeep' ,
8989 version : 'app-5a56-170119_190650-stage-170119_190650' ,
9090 instanceId : '32' ,
0 commit comments