Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.03 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.03 KB

RisingWave Grafana Dashboard

The Grafana dashboard is generated with grafanalib. You'll need

Preferably installed in a local Python virtual env (venv).

python3 -m venv 'venv'
source venv/bin/activate
pip install -r requirements.txt

And don't forget to include the generated risingwave-dashboard.json in the commit.

Generate Dashboard

./generate.sh

Update without Restarting Grafana

./update.sh

Advanced Usage

We can specify the source uid, dashboard uid, dashboard version, enable namespace filter and enable risingwave_name filter(used in multi-cluster deployment) via env variables.

For example, we can use the following query to generate dashboard json used in our benchmark cluster:

DASHBOARD_NAMESPACE_FILTER_ENABLED=true \
DASHBOARD_RISINGWAVE_NAME_FILTER_ENABLED=true \
DASHBOARD_SOURCE_UID=<source_uid> \
DASHBOARD_UID=<dashboard_uid> \
DASHBOARD_VERSION=<version> \
./generate.sh