Thursday, November 21, 2024

Monitoring Cloud Foundry with Grafana and Prometheus - Architecture

Monitoring Cloud Foundry with Grafana and Prometheus involves collecting, storing, and visualizing metrics to enhance observability and manage the Cloud Foundry environment effectively.



1. Install and Configure Prometheus

  • Set up Prometheus: Deploy Prometheus in Kubernetes, ensuring it has access to the Cloud Foundry metric endpoints.
  • Scrape Cloud Foundry Metrics: Use the CF Exporter, Firehose Exporter or Nozzle Exporter to pull metrics from the Cloud Foundry. 

2. Install and Configure Thanos

  • Thanos is an aggregator of multiple Prometheus instances

3. Set up Grafana

  • Install Grafana on Kubernetes
  • Add Prometheus as a Data Source.
  • Create dashboards

Monday, November 18, 2024

Grafana FAQ

What is Grafana?

Grafana is open source visualization and alerting tool. It is widely used for interactive dashboards.


What is Prometheus?

Prometheus is a time-series database


What is Thanos?

Thanos is an aggregator of multiple Prometheus instances


What is pull-based model in Prometheus?

Prometheus collects metrics from defined endpoint. It scrapes data  on a configured interval. Architecturally, its a pull-based model rather than push/insert data.


What are the exporters and examples? 

  • Blackbox exporters
  • Firehose exporters
  • cf exporters