Prometheus API URL

I’m trying to add metrics to our environments but I don’t see anything other than a button to look at the documentation.

I have a GitLab CE Omnibus installation which came bundled with Prometheus so the only thing I really needed to do is to enable it which I did and it seems to work.

However I think I supplied the wrong API URL when setting up the Prometheus integration on our project.

Our GitLab is accessible through http://gitlab.our.domain.com and I thought I would use that URL for the Prometheus API URL as well. Am I wrong on this one?

I think http://gitlab.our.domain.com is the wrong API URL here. But I don’t really know where to find the proper value. Is it in /etc/gitlab/gitlab.rb?

I was able to fix this by using http://localhost:9090 - before I could, I had to allow requests to the local network from web hooks and services.

So far the dashboard says I am connected to the Prometheus server, but just doesn’t have any data to show regardless environment I select (even tried redeploying in case that creates data Prometheus can use but no luck). Trying to figure that one out for now.

@gitlab-greg Have any idea how I could fix the problems I’m having? The real issue now is:

So far the dashboard says I am connected to the Prometheus server, but just doesn’t have any data to show regardless of the environment I select (even tried redeploying in case that creates data Prometheus can use but no luck).

All I really want to do is monitor our environments (production, staging, dev, review apps). I always get this message though

no%20data

So I click configure and it takes me to where I have to set up the location of the Prometheus server where I set it to http://localhost:9090 - but it looks like I’m getting no metrics at all:

I believe for Omnibus installations all exporters should be enabled by default. Am I missing something?