Hello Prometheus team,
May I have a question about how Prometheus uses go-restful ?
We are using Prometheus 2.38.0 and from the binary, we can see go-restful is compiled.
$go version -m prometheus |grep go-restful
dep github.com/emicklei/go-restful v2.16.0+incompatible h1:rgqiKNjTnFQA6kkhFe16D8epTksy9HQ1MyrbDXSdYhM=
I did grep on Prometheus source code, and failed to find where go-restful is invoked, 'go mod why', 'go mod graph' and 'go list 'don't help much either.
prometheus $ [v2.38.0] [] $ go mod graph |grep go-restful
github.com/prometheus/prometheus github.com/emicklei/go-re...@v2.16.0+incompatible
k8s.io/clie...@v0.24.3 github.com/emicklei/go-re...@v2.9.5+incompatible
k8s.io/kube-o...@v0.0.0-20220328201542-3ee0da9b0b42 github.com/emicklei/go-re...@v0.0.0-20170410110728-ff4f55a20633
It would be highly appreciated if you could pinpoint why/where go-restful is used.
Thanks!
BRs
/Gavin
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/9c7b9160-b8ce-42cd-bf78-1d0ee48ed638n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAMV%3D_gYk7BFQHaHtffU1Ze4ztrd-5O7%2BMKFnXXLdz5V5LJjDvQ%40mail.gmail.com.