Code Monkey home page Code Monkey logo

Comments (3)

mkuratczyk avatar mkuratczyk commented on July 17, 2024

Hi Johannes,

A few things to start with:

  • if Prometheus is running go to prometheus:9090 (or nginx:9090) and in the Targets menu check if you have any targets defined and whether they are up
  • check if you can manually get metrics from your exporters (curl http://exporter-IP:PORT/metrics)

If you want to automatically deploy the dashboards you can take a look at my sample manifest: https://github.com/mkuratczyk/prometheus-on-PCF/blob/master/prometheus.yml#L52-L77 (I don't know if there is a way without listing all dashboard files explicitly - would like to know as well). If you have done that and still don't see the dashboards in Grafana after 'bosh deploy' then check whether /var/vcap/jobs/grafana/bin/prometheus-dashboards script on your Grafana VM has been rendered correctly (as you can see here https://github.com/cloudfoundry-community/prometheus-boshrelease/blob/master/jobs/grafana/templates/bin/prometheus-dashboards it will be almost empty unless the template renders properly to generate the content).

from prometheus-boshrelease.

frodenas avatar frodenas commented on July 17, 2024

@jhiemer The default templates are pretty basic right now and does not include the proper jobs to monitor CF. I still need to work on the documentation, but I don't yet consider this release ready, so I'm waiting until I finish some more features, and then I'll proceed with the docs.

In the meantime, I suggest following @mkuratczyk advice and even using his manifest file as an example. His manifest contains all the proper bits to monitor CF.

@mkuratczyk You need to explicitly specify what dashboards you want to import into Grafana. The reason for this is that not all deployments are equal (ie, in one customer we are not using the bosh_exporter, we use the graphite_exporter, and the latter does not provide all the info; another example is the mysql dashboards, ...). I know this is painful, but I plan to improve this in next releases if I find the right solution :)

from prometheus-boshrelease.

frodenas avatar frodenas commented on July 17, 2024

@jhiemer Closing this. We can follow the status of the documentation effort at #2. But please feel free to reopen this issue or a new one if you face any problems when deploying the bosh release.

from prometheus-boshrelease.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.