liveBook · Manning

Grafana

As explained in ScyllaDB in Action

Grafana is an open-source visualization and dashboard platform for querying and displaying data from monitoring and other data sources.

Grafana is an open-source visualization tool that pulls metrics from data sources such as Prometheus and displays them through dashboards, graphs, and other visual widgets. In a ScyllaDB monitoring stack, it provides preconfigured views of cluster performance. section 11.1 section 11.1.3

Grafana dashboards provide progressively more specific views:

  • Overview shows traffic, latency, and availability at a high level. section 11.1.3
  • Detailed examines reads, writes, compaction, tombstones, and other performance metrics. section 11.1.3
  • Keyspace reports table-level metrics, while OS Metrics reports underlying node performance. section 11.1.3
  • Scylla CQL shows query volume and performance; Advanced exposes scheduling groups, I/O queues, and commit logs. section 11.1.3

Viewing query activity

After running read queries against the cluster, open localhost:3000/dashboards and choose the Scylla CQL dashboard. A burst of reads appears as a spike in the CQL Reads graph. Check the axis units: 800 milli-operations per second equals 0.8 operations per second. section 11.1.3

Figure 11.1 Prometheus pulls metrics from your database nodes, which are used by the downstream components to provide visualizations and alert notifications.
figure

Trace how Prometheus collects metrics from database nodes and Grafana turns them into dashboards, while Alertmanager handles threshold notifications. section 11.1

How ScyllaDB in Action covers it

How deep it goes
Explains data-source integration, dashboard categories, deployment scripts, and metric interpretation, but defers custom dashboard construction.
Examples
Uses Scylla CQL, Overview, Detailed, Keyspace, OS Metrics, Advanced, and Alternator dashboards with query-generated metric spikes.
What it assumes
Assumes a running Docker-based monitoring stack and metrics supplied by configured Prometheus targets.
What you can do after
Operate/configure Grafana with Prometheus as a data source and inspect database performance through dashboards.
How it connects
Connects dashboards with Prometheus, PromQL, Alertmanager, metrics, recording rules, and ScyllaDB monitoring.

Also explained in

Compare how 9 books explain Grafana →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of ScyllaDB in Action. The section links point to the parts of the book it draws on.