mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add MetricsBackend with prometheus counter support
This commit is contained in:
parent
a36c9c3e93
commit
56bababcdf
16 changed files with 427 additions and 25 deletions
13
util/ci/build_prometheus_cpp.sh
Executable file
13
util/ci/build_prometheus_cpp.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#! /bin/bash -eu
|
||||
|
||||
cd /tmp
|
||||
git clone --recursive https://github.com/jupp0r/prometheus-cpp
|
||||
mkdir prometheus-cpp/build
|
||||
cd prometheus-cpp/build
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/local \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_TESTING=0
|
||||
make -j2
|
||||
sudo make install
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue