Most likely going to a configuration issue but not sure what the resolution is. So I'm getting a blank page when I try and hit /metrics/. The /metrics page is returning 200.
This is what I see in the logs on startup of phobos:
INFO -- Phobos: <Hash> {:message=>"PhobosPrometheus configured"}
INFO -- Phobos : <Hash> {:message=>"PhobosPrometheus subscribed"}
My initial thought is it's because I am running a Sinatra app, and booting Phobos independently. So the metrics call is unable to retrieve the data it requires? Nothing else in the logs to suggest anything. The main app is being booted first, then phobos.
Stuck a binding.pry right after the following bit of code:
Phobos.configure("config/phobos.yml")
PhobosPrometheus.configure("config/phobos_prometheus.yml")
PhobosPrometheus.subscribe
Was able to validate that PhobosPrometheus.config and PhobosPrometheus.metrics returned data.
Any chance you guys have come across this before or know a possible way to help debug?
Thanks.
Most likely going to a configuration issue but not sure what the resolution is. So I'm getting a blank page when I try and hit
/metrics/. The/metricspage is returning 200.This is what I see in the logs on startup of phobos:
My initial thought is it's because I am running a Sinatra app, and booting Phobos independently. So the metrics call is unable to retrieve the data it requires? Nothing else in the logs to suggest anything. The main app is being booted first, then phobos.
Stuck a binding.pry right after the following bit of code:
Was able to validate that
PhobosPrometheus.configandPhobosPrometheus.metricsreturned data.Any chance you guys have come across this before or know a possible way to help debug?
Thanks.