Fork me on GitHub
#xtdb
<
2020-10-07
>
victorb08:10:33

Can I somehow inject my own prometheus collector registry? Seems crux config only offers either push gateway (I prefer pull) or standalone http server from iapetos, while I already have a endpoint setup for metrics, would be nice if I could pass crux my already setup collector registry and have it all in the same endpoint

Daniel Mason08:10:54

Hi there - at a cursory glance seems that currently you cannot directly pass in a pre-configured collector-registry within https://github.com/juxt/crux/blob/master/crux-metrics/src/crux/metrics/prometheus.clj . Feel free to open an issue over on github, and PRs are always welcome.

victorb16:10:01

Oh, yeah, thanks for taking the peek I didn't do! 😐