Skip to content

No Prometheus metrics in serving? #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pherna06 opened this issue Mar 16, 2022 · 1 comment
Open

No Prometheus metrics in serving? #15

pherna06 opened this issue Mar 16, 2022 · 1 comment

Comments

@pherna06
Copy link

Hello, @emacski .

I am using your repository to implement a TFServing in a RaspberryPi, but apart from being able to make inferences over the models in the serving, I need to obtain the serving metrics too. In the original tensorflow/serving repository, this metrics are exposed as Prometheus metrics (with metrics path in '/monitoring/prometheus/metrics'), but they don't seem to be available when using the ARM serving of this repository.

I've been diving in your repository for a while, but I don't really understand how you make it work: i would suppose you are implementing the same 'tensorflow_model_server' that is used as entrypoint script in the original tensorflow/serving Dockerfiles, but then why do the metrics seem to be unavailable?

Thank you in advance.

@pherna06
Copy link
Author

I already figured out how to build the ARM images from the devel image (sorry that I could not completely understand the guide when I wrote the last comment). So, it seems that Prometheus metrics were not implemented in TF and TFServing version 2.6.0 yet. So I tried to rewrite the Bazel files to use the most recent version 2.8.0 (mainly the WORKSPACE file), but there seems changes in 'patches' for Tensorflow between 2.6.0 and 2.8.0, which I don't really know how to assess.

I would really appreciate if anyone could give me some help with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant