Re: [prometheus-users] Re: How to use zookeeper for service discovery

2020-05-07 Thread Brian Candler
You'd have to add to zookeeper whatever Nerve and/or Synapse adds to zookeeper. If this isn't documented, then you may need to look at source code. > > -- You received this message because you are subscribed to the Google

Re: [prometheus-users] Re: How to use zookeeper for service discovery

2020-05-07 Thread Jeff Zhang
Thanks Brian, this is the configuration on prometheus side, what I look for is what kind of data format I should insert into zookeeper. Is there any example ? Brian Candler 于2020年5月7日周四 下午8:10写道: > Looks like it's this one: > >

[prometheus-users] Re: How to use zookeeper for service discovery

2020-05-07 Thread Brian Candler
Looks like it's this one: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#nerve_sd_config If you look in the source code that you found: https://github.com/prometheus/prometheus/blob/master/discovery/zookeeper/zookeeper.go you'll see NerveSDConfig -- You received this