File tree Expand file tree Collapse file tree 7 files changed +11
-10
lines changed
aws-distro-opentelemetry-node-autoinstrumentation/src
contract-tests/images/applications Expand file tree Collapse file tree 7 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11# Stage 1: Install ADOT nodejs instrumentation in the /operator-build folder
2- FROM node:20 AS build
2+ FROM public.ecr.aws/docker/library/ node:20 AS build
33
44# Build the ADOT JS SDK Tarball: aws-aws-distro-opentelemetry-node-autoinstrumentation-x.y.z.tgz
55WORKDIR /adot-js-build
@@ -18,7 +18,7 @@ RUN npm install aws-aws-distro-opentelemetry-node-autoinstrumentation-$(node -p
1818RUN npm install
1919
2020# Stage 2: Build the cp-utility binary
21- FROM rust:1.75 as builder
21+ FROM public.ecr.aws/docker/library/ rust:1.75 as builder
2222
2323WORKDIR /usr/src/cp-utility
2424COPY ./tools/cp-utility .
Original file line number Diff line number Diff line change @@ -257,7 +257,10 @@ export class AwsOpentelemetryConfigurator {
257257 // Register BatchUnsampledSpanProcessor to export unsampled traces in Lambda
258258 // when Application Signals enabled
259259 if ( isLambdaEnvironment ( ) && ! hasCustomOtlpTraceEndpoint ( ) ) {
260- const udpSpanExporter = new OTLPUdpSpanExporter ( getXrayDaemonEndpoint ( ) , FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX ) ;
260+ const udpSpanExporter = new OTLPUdpSpanExporter (
261+ getXrayDaemonEndpoint ( ) ,
262+ FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX
263+ ) ;
261264 const configuredExporter = AwsMetricAttributesSpanExporterBuilder . create ( udpSpanExporter , resource ) . build ( ) ;
262265 spanProcessors . push (
263266 new AwsBatchUnsampledSpanProcessor ( configuredExporter , {
Original file line number Diff line number Diff line change 11# Use an official Node.js runtime as the base image
2- FROM node:20-alpine
3- # FROM node:20
2+ FROM public.ecr.aws/docker/library/node:20-alpine
43
54# Set the working directory inside the container
65WORKDIR /aws-sdk
Original file line number Diff line number Diff line change 11# Use an official Node.js runtime as the base image
2- FROM node:20-alpine
3- # FROM node:20
2+ FROM public.ecr.aws/docker/library/node:20-alpine
43
54# Set the working directory inside the container
65WORKDIR /http
Original file line number Diff line number Diff line change 11# Use an official Node.js runtime as the base image
2- FROM node:20-alpine
2+ FROM public.ecr.aws/docker/library/ node:20-alpine
33
44# Set the working directory inside the container
55WORKDIR /mongodb
Original file line number Diff line number Diff line change 11# Use an official Node.js runtime as the base image
2- FROM node:20-alpine
2+ FROM public.ecr.aws/docker/library/ node:20-alpine
33# FROM node:20
44
55# Set the working directory inside the container
Original file line number Diff line number Diff line change 11# Use an official Node.js runtime as the base image
2- FROM node:20-alpine
2+ FROM public.ecr.aws/docker/library/ node:20-alpine
33
44# Set the working directory inside the container
55WORKDIR /mysql2
You can’t perform that action at this time.
0 commit comments