Skip to content

Latest commit

 

History

History

demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sandbox

This example contains a fully dockerized sandbox with:

  • A 3-node Redpanda cluster
  • Redpanda Console
  • Prometheus
  • Alert Manager (from Prometheus)
  • Alert Generation
  • Grafana
  • Mailhog
  • Kafka Connect. Used here to showcase the Kafka producer/consumer dashboards
  • Owl Shop. A mock e-commerce application that generates data.

Setup

To get started it is as simple as running the docker compose file:

$ cd demo
$ docker-compose up -d
[+] Running 9/9
 ⠿ Network demo_default       Created
 ⠿ Container grafana          Started
 ⠿ Container prometheus       Started
 ⠿ Container redpanda-1       Started
 ⠿ Container redpanda-0       Started
 ⠿ Container redpanda-2       Started
 ⠿ Container demo-owl-shop-1  Started
 ⠿ Container demo-console-1   Started
 ⠿ Container connect          Started

You can check the status of the Redpanda cluster using the following command:

$ docker exec -it redpanda-0 rpk cluster status
CLUSTER
=======
redpanda.initializing

BROKERS
=======
ID    HOST        PORT
0*    redpanda-0  29092
1     redpanda-1  29093
2     redpanda-2  29094

Once the bootstrap is complete, you should see all three nodes running and the cluster's UUID displayed.

$docker exec -it redpanda-0 rpk cluster status
CLUSTER
=======
redpanda.initializing

BROKERS
=======
ID    HOST        PORT
0*    redpanda-0  29092
1     redpanda-1  29093
2     redpanda-2  29094

You should now be able to open the following URIs in your browser for each service:

Once you log into Grafana, click on the Dashboards icon on the left and select Browse. From there, you should be able to see the imported dashboards described above.