File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 3838 "OTEL_EXPORTER_OTLP_ENDPOINT" : "http://localhost:4317" ,
3939 "OTEL_METRICS_EXPORTER" : "none" ,
4040 "OTEL_LOGS_EXPORTER" : "none" ,
41- "OPENTELEMETRY_COLLECTOR_CONFIG_FILE" : "/opt/otel-config.yaml" ,
4241 "VSI_CACHE" : "TRUE" ,
4342 "VSI_CACHE_SIZE" : "5000000" , # 5 MB (per file-handle)
4443}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ FROM --platform=linux/amd64 public.ecr.aws/lambda/python:${PYTHON_VERSION} as bu
44
55COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
66COPY --from=amazon/aws-otel-collector:v0.45.0 /awscollector /opt/extensions/
7+ COPY --from=amazon/aws-otel-collector:v0.45.0 /opt/aws/aws-otel-collector/ /opt/aws/aws-otel-collector/
78
89WORKDIR /build
910
@@ -29,6 +30,5 @@ RUN cd /var/lang/lib/python3.12/site-packages && \
2930 find . -type f -name '*.so*' -not -path "./numpy.libs/*" -exec strip --strip-unneeded {} \;
3031
3132COPY infrastructure/aws/lambda/handler.py ${LAMBDA_RUNTIME_DIR}/
32- COPY infrastructure/aws/lambda/otel-config.yaml /opt/
3333
3434CMD ["opentelemetry-instrument" , "handler.handler" ]
You can’t perform that action at this time.
0 commit comments