Assuming people are already using Prometheus with etcd-operator and 
etcd-cluster, is there any solution to define ServiceMonitor so that 
Prometheus can only select "etcd-cluster-client" service to retrieve stats 
from the etcd cluster pods??

I tried passing the default label "app=etcd" to Prometheus and this is 
working fine. But the label is attached to both client and peer services( 
which have common endpoints i.e. etcd cluster pods), Prometheus is 
scrapping metrics 2 times from each of the cluster pod. 

Following is the link for github issue:
https://github.com/coreos/etcd-operator/issues/2132

Thanks,
Sarath.

-- 
You received this message because you are subscribed to the Google Groups 
"CoreOS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/coreos-dev/c4ae1f81-a60a-4d66-8025-3ee19bb1df3a%40googlegroups.com.

Reply via email to