1
0
mirror of https://github.com/coturn/coturn.git synced 2025-08-10 00:07:06 +02:00
coturn/docs/Prometheus.md
2023-11-22 20:34:53 -08:00

1003 B

Prometheus setup

It is need the following libraries:

  • prometheus-client-c
  • libmicrohttpd

Ubuntu

Install libmicrohttpd

sudo apt install libmicrohttpd-dev 

Install From source code

Download from https://git.gnunet.org/libmicrohttpd.git

git clone https://git.gnunet.org/libmicrohttpd.git

Download from https://github.com/digitalocean/prometheus-client-c.git

git clone https://github.com/digitalocean/prometheus-client-c.git

Build

  • Build libmicrohttpd from source code
git clone https://git.gnunet.org/libmicrohttpd.git
cd libmicrohttpd
./autogen.sh
./configure --prefix=`pwd`/install --disable-doc --disable-examples \
    --disable-tools
make install
  • Build prometheus-client-c from source code
git clone https://github.com/digitalocean/prometheus-client-c.git
cd prometheus-client-c
make