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
> <https://groups.google.com/d/msgid/prometheus-users/ca884dc3-021c-4065-b0f3-7e1828000765%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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] How to use zookeeper for service discovery

2020-05-07 Thread Jeff Zhang
Hi all,

I found zookeeper service discovery related doc in prometheus code base, 
but didn't find any document of how to use it. Could anyone guide me how to 
use that ? Thanks

https://github.com/prometheus/prometheus/tree/master/discovery/zookeeper

-- 
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/6b47d23f-788e-4f6a-8867-ce71f740c192%40googlegroups.com.