Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.34 KB

Dashboard.md

File metadata and controls

51 lines (37 loc) · 1.34 KB

Pulsar Dashboard

Pulsar dashboard is a web application that let users monitor the current stats for all the topics, representing all the information in tabular form.

The dashboard is composed of a "collector" that polls the stats from all the brokers in a Pulsar instance (across multiple clusters) and store all the information into a Postgres database.

Finally a Django web-app is used to render the collected data.

Install

The easiest way to use the dashboard is to run it inside a Docker container. A Dockerfile to generate the image is provided.

To generate the Docker image:

$ docker build -t pulsar-dashboard dashboard

To run the dashboard:

$ MY_SERVICE_URL=http://broker.example.com:8080/
$ docker run -p 80:80 \
    -e SERVICE_URL=$MY_SERVICE_URL\
     pulsar-dashboard

You only need 1 single service URL of a Pulsar cluster. Internally, the collector will figure out all the existing clusters and the brokers from where it needs to pull the metrics.

Once the Docker container is running, the web dashboard will be accessible at http://localhost/, or http://my.docker.host/.

Known issues

Pulsar Authentication is not supported at this point. The collector is not passing any authentication data and will denied access if the Pulsar broker requires authentication.