This demo show how to use Prometheus for querying metrics from Confluent Cloud. Please have a look at this article for details: https://www.confluent.io/blog/bring-your-own-monitoring-with-confluent-cloud/
In your Confluent Cloud organization, create an API key, assign it to a service account and grant MetricsViewer" permissions.
Customize the Prometheus configuration file template `docker/prometheus/prometheus.yml-template
and copy it to docker/prometheus/prometheus.yml
.
Start the containers by running (if you want to use filebeat for fetching logs):
docker compose up -d
Stopping the containers with removal of all created volumes (be careful!):
docker compose down -v
Cleaning up (CAREFUL: THIS WILL DELETE ALL UNUSED VOLUMES):
docker volumes prune
Access prometheus
with your web browser here:
Access grafana
with your web browser here (username: grafana, password: grafana):