Using prometheus.io client in sinatra application

321 Views Asked by At

I have a Sinatra application and I want to deploy prometheus.io client there. The Readme shows only how to deploy it using Rack. What is the most feasible way to deploy the client there?

1

There are 1 best solutions below

0
On

Rack is an interface, it is not a web server.

Sinatra and Ruby on Rails are Rack applications.

So all options available for Rack apply here. For example you could deploy it with Nginx.