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 Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c6ae73d0-e932-41ad-a6cd-9fb611f74863%40googlegroups.com.


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:
>
> 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 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/ca884dc3-021c-4065-b0f3-7e1828000765%40googlegroups.com
> 
> .
>


-- 
Best Regards

Jeff Zhang

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAADy7x7VNa0FBxacBj%3DGKvbf04cS63s5BD4cP-Gufq0RD624NQ%40mail.gmail.com.


[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 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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/ca884dc3-021c-4065-b0f3-7e1828000765%40googlegroups.com.