aboutsummaryrefslogtreecommitdiffstats
path: root/open5gs-master
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-06-08 13:49:41 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-06-08 13:49:43 +0200
commite7a5379e2959949a85afb5cb6a828de6a829df82 (patch)
tree673171e139d1b00b43470f074537e12c3d137bfb /open5gs-master
parent029594f3b24440dc5de717511f78c4c913704188 (diff)
open5gs: Enable libmetrics prometheus implementation
metrics support using Prometheus has been recently added to open5gs (28e40a0f1b9048768958344e213c69994be671f5). However, it is still not enabled by default. Let's enable it and update open5gs config files to make use of it. Change-Id: I6ec827d66241e20d631f3a851457921718c168a0
Diffstat (limited to 'open5gs-master')
-rw-r--r--open5gs-master/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/open5gs-master/Dockerfile b/open5gs-master/Dockerfile
index 1aea492..54c7fd1 100644
--- a/open5gs-master/Dockerfile
+++ b/open5gs-master/Dockerfile
@@ -7,6 +7,7 @@ RUN apt-get update && \
apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
+ cmake \
vim \
sudo \
iproute2 \
@@ -53,4 +54,5 @@ RUN cd $GITHUB_REPO && \
--localstatedir=/var \
--libdir=lib/x86_64-linux-gnu \
--libexecdir=lib/x86_64-linux-gnu && \
+ meson configure -Dmetrics_impl=prometheus build && \
ninja -C build install