GreptimeDB's official Grafana dashboard.
Status notify: we are still working on this config. It's expected to change frequently in the recent days. Please feel free to submit your feedback and/or contribution to this dashboard 🤗
Open Grafana Dashboard page, choose New
-> Import
. And upload greptimedb.json
file.
This cluster dashboard provides a comprehensive view of incoming requests, response statuses, and internal activities such as flush and compaction, with a layered structure from frontend to datanode. Designed with a focus on alert functionality, its primary aim is to highlight any anomalies in metrics, allowing users to quickly pinpoint the cause of errors.
We use Prometheus to scrape off metrics from nodes in GreptimeDB cluster, Grafana to visualize the diagram. Any compatible stack should work too.
Note: This dashboard is still in an early stage of development. Any issue or advice on improvement is welcomed.
Please ensure the following configuration before importing the dashboard into Grafana.
1. Prometheus scrape config
Configure Prometheus to scrape the cluster.
# example config
# only to indicate how to assign labels to each target
# modify yours accordingly
scrape_configs:
- job_name: metasrv
static_configs:
- targets: ['<metasrv-ip>:<port>']
- job_name: datanode
static_configs:
- targets: ['<datanode0-ip>:<port>', '<datanode1-ip>:<port>', '<datanode2-ip>:<port>']
- job_name: frontend
static_configs:
- targets: ['<frontend-ip>:<port>']
2. Grafana config
Create a Prometheus data source in Grafana before using this dashboard. We use datasource
as a variable in Grafana dashboard so that multiple environments are supported.
Use datasource
or instance
on the upper-left corner to filter data from certain node.