Updates the http sample app for the latest release of OTel JS 0.23.0.
Noteworthy points
I renamed some files to hopefully make it more obvious what each file ("module") does
I set the default instanceIdSuffix to be _dummy_id because that is what the AWS OTel Test framework does. This will let us run the test framework locally using ./gradlew :validator:run --args="-c js-otel-trace-metric-validation.yml --endpoint http://localhost:8080 --metric-namespace aws-otel-integ-test" in the test framework directory
Lots of API changes especially with setting the serviceName
Description
Updates the
http
sample app for the latest release of OTel JS0.23.0
.Noteworthy points
instanceIdSuffix
to be_dummy_id
because that is what the AWS OTel Test framework does. This will let us run the test framework locally using./gradlew :validator:run --args="-c js-otel-trace-metric-validation.yml --endpoint http://localhost:8080 --metric-namespace aws-otel-integ-test"
in the test framework directoryserviceName