coturn / coturn

coturn TURN server project
Other
11k stars 1.99k forks source link

debian backports's 4.5.2 missing prometheus #760

Open rgarrigue opened 3 years ago

rgarrigue commented 3 years ago

It's all in the title

I got this package installed

Package: coturn
Version: 4.5.2-1~bpo10+1
Priority: optional
Section: net
Maintainer: Debian VoIP Team <pkg-voip-maintainers@alioth-lists.debian.net>
Installed-Size: 1517 kB
Provides: stun-server, turn-server
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, sqlite3, lsb-base (>= 3.0-6), telnet | telnet-client, libc6 (>= 2.28), libevent-2.1-6 (>= 2.1.8-stable), libevent-core-2.1-6 (>= 2.1.8-stable), libevent-extra-2.1-6 (>= 2.1.8-stable), libevent-openssl-2.1-6 (>= 2.1.8-stable), libevent-pthreads-2.1-6 (>= 2.1.8-stable), libgnutls30 (>= 3.6.5), libhiredis0.14 (>= 0.14.0), libmariadb3 (>= 3.0.0), libpq5 (>= 8.4~), libsqlite3-0 (>= 3.6.0), libssl1.1 (>= 1.1.0), libsystemd0, zlib1g (>= 1:1.1.4)
Suggests: sip-router, xmpp-server
Conflicts: rfc5766-turn-server, turnserver
Homepage: https://github.com/coturn/coturn/
Download-Size: 354 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian buster-backports/main amd64 Packages
Description: TURN and STUN server for VoIP

On startup, the log says Version Coturn-4.5.2 'dan Eider'

Adding "prometheus" in the conf result in

 "0: : Bad configuration format: prometheus"

Same using --prometheus on the CLI. What am I missing ?

misi commented 3 years ago

Debain don't have the Prometheus c lib dependency packages. :( It if it will have we can add it.

rgarrigue commented 3 years ago

Ok. For further reference, here's the related issue to push prometheus-client-c to Debian https://github.com/digitalocean/prometheus-client-c/issues/21.

@misi since they already provide a .deb, do you have a Debian sponsor as defined here that might push it to debian repositories ?

misi commented 3 years ago

To have a debian image that is kept compatible with the changing debian policies is the problem here, and they have an image but I don't know if and how it conform with the policies and who wants to maintain it.

rasos commented 3 years ago

So which distribution is recommended to get prometheus support working meanwhile? Is alpine good (as that is also used in coturn Docker)?