Slackbot
04/24/2023, 6:32 PMRagy Haddad
04/24/2023, 6:38 PMAshish Singh
04/24/2023, 6:39 PMprometheus_client
.
A work around or probably a solution for problem was to use bentoml.metrics
instead of prometheus_client
in the code, only drawback is not all the methods are implemented as part of bentoml metrics.Ragy Haddad
04/24/2023, 6:41 PMbentoml.metrics
but it took a bit of time to make my services apply that
Maybe a fallback approach with a warning instead of stopping bentoml serve
completely?Chaoyu
04/25/2023, 1:47 AMprometheus_client
directly thoAaron Pham
04/25/2023, 3:26 AMbentoml.metrics
is mostly a passthrough to the prometheus_client. Note that some of the functions won’t be supported in multiprocess mode, per prometheus_client documentationRagy Haddad
04/25/2023, 2:15 PMbentoml.metrics
all what was happening is that I had two other services on my machine using prometheus, I understand in production this most likely wont be the case. But during active dev it is.Aaron Pham
04/25/2023, 8:57 PM