Prometheus/Zookeeper version

18 views
Skip to first unread message

My Me

unread,
Aug 27, 2020, 10:04:12 AM8/27/20
to Prometheus Users
Hi all,

We are using Prometheus 2.3.1.  Prometheus internally uses zookeeper.
Have couple of questions:
1) How to find out the version of "zookeeper" being used in Prometheus 2.3.1 ?
2) How to find which version of Prometheus uses "zookeeper" version 3.4.10 or later ?

Thanks in advance,

Best Regards,
Kanthi Kumar

Martin Schröder

unread,
Aug 27, 2020, 10:18:16 AM8/27/20
to Prometheus Users
Am Do., 27. Aug. 2020 um 16:04 Uhr schrieb My Me <kanthiku...@gmail.com>:
> We are using Prometheus 2.3.1. Prometheus internally uses zookeeper.

No,

Best
Martin

My Me

unread,
Aug 27, 2020, 10:49:59 AM8/27/20
to Prometheus Users
Hi Martin,

Are you saying that Prometheus doesn't use Zookeeper internally ?

I could see this in one of my container running Prometheus 2.3.1: (refer attachment).

Best Regards,
Kanthi
prometheus_zookeeper.JPG

Ben Kochie

unread,
Aug 27, 2020, 11:29:51 AM8/27/20
to My Me, Prometheus Users
Prometheus itself doesn't use Zookeeper, however it can talk to an external Zookeeper to discover targets.


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/389253a4-f685-4c62-8c56-cadfb5b10d8an%40googlegroups.com.

Christian Hoffmann

unread,
Aug 27, 2020, 11:30:43 AM8/27/20
to My Me, Prometheus Users
Hi,

On 8/27/20 4:49 PM, My Me wrote:
> Are you saying that Prometheus doesn't use Zookeeper internally ?
I guess you are both right, somehow. :)

Prometheus does not require Zookeeper and it's not a core feature.
However, Prometheus can use Zookeeper for its service discovery. It
therefore contains a zookeeper client library.

The following file might help as a pointer which version is used:
https://github.com/prometheus/prometheus/blob/master/go.mod

Kind regards,
Christian
Reply all
Reply to author
Forward
0 new messages