Skip to content

Commit 6971663

Browse files
committed
chore(python): add OTel OTLP metrics exporter for FFE metrics
1 parent 1705851 commit 6971663

7 files changed

Lines changed: 21 additions & 0 deletions

File tree

utils/build/docker/python/django-poc.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ WORKDIR /app
66
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
77
RUN /binaries/install_ddtrace.sh
88

9+
# Install OTel OTLP exporter for FFE metrics
10+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
11+
912
COPY utils/build/docker/python/django /app
1013
COPY utils/build/docker/python/iast.py /app/iast.py
1114

utils/build/docker/python/django-py3.13.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ WORKDIR /app
55
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
66
RUN /binaries/install_ddtrace.sh
77

8+
# Install OTel OTLP exporter for FFE metrics
9+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
10+
811
COPY utils/build/docker/python/django /app
912
COPY utils/build/docker/python/iast.py /app/iast.py
1013

utils/build/docker/python/fastapi.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ WORKDIR /app
55
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
66
RUN /binaries/install_ddtrace.sh
77

8+
# Install OTel OTLP exporter for FFE metrics
9+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
10+
811
COPY utils/build/docker/python/fastapi/app.sh /app/app.sh
912
COPY utils/build/docker/python/fastapi/main.py /app/main.py
1013
COPY utils/build/docker/python/fastapi/log_conf.yaml /app/log_conf.yaml

utils/build/docker/python/flask-poc.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ WORKDIR /app
55
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
66
RUN /binaries/install_ddtrace.sh
77

8+
# Install OTel OTLP exporter for FFE metrics
9+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
10+
811
COPY utils/build/docker/python/flask /app
912
COPY utils/build/docker/python/iast.py /app/iast.py
1013

utils/build/docker/python/python3.12.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ WORKDIR /app
55
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
66
RUN /binaries/install_ddtrace.sh
77

8+
# Install OTel OTLP exporter for FFE metrics
9+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
10+
811
COPY utils/build/docker/python/django /app
912
COPY utils/build/docker/python/iast.py /app/iast.py
1013

utils/build/docker/python/tornado.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ENV DD_REMOTECONFIG_POLL_SECONDS=1
88
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
99
RUN /binaries/install_ddtrace.sh
1010

11+
# Install OTel OTLP exporter for FFE metrics
12+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
13+
1114
COPY utils/build/docker/python/tornado/app.sh /app/app.sh
1215
COPY utils/build/docker/python/tornado/main.py /app/main.py
1316
COPY utils/build/docker/python/iast.py /app/iast.py

utils/build/docker/python/uds-flask.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ WORKDIR /app
55
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
66
RUN /binaries/install_ddtrace.sh
77

8+
# Install OTel OTLP exporter for FFE metrics
9+
RUN pip install opentelemetry-exporter-otlp-proto-http==1.40.0
10+
811
COPY utils/build/docker/python/flask /app
912
COPY utils/build/docker/python/iast.py /app/iast.py
1013

0 commit comments

Comments
 (0)