Skip to content

Commit b720eaf

Browse files
authored
Add postgres_exporter binary (#91)
1 parent dcec060 commit b720eaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

beyla/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ FROM ghcr.io/coroot/coroot-cluster-agent:1.2.4 AS cluster-agent
77
# Add node exporter to the image
88
FROM prom/node-exporter:v1.10.2 AS node-exporter-source
99

10+
# Add postgres exporter to the image
11+
FROM prometheuscommunity/postgres-exporter:v0.18.1 AS postgres-exporter
12+
1013
# Add OBI to the image
1114
FROM otel/ebpf-instrument:v0.3.0 AS obi-source
1215

@@ -43,6 +46,9 @@ COPY --from=cluster-agent --chmod=755 /usr/bin/coroot-cluster-agent /usr/local/b
4346
# Copy Node exporter
4447
COPY --from=node-exporter-source --chmod=755 /bin/node_exporter /usr/local/bin/node_exporter
4548

49+
# Copy Postgres exporter
50+
COPY --from=postgres-exporter --chmod=755 /bin/postgres_exporter /usr/local/bin/postgres_exporter
51+
4652
COPY beyla/bootstrap_supervisord.conf /bootstrap/supervisord.conf
4753
COPY --chmod=755 beyla/run_supervisord.sh /run_supervisord.sh
4854

0 commit comments

Comments
 (0)