Skip to content

Commit

Permalink
Grafana Dashboard Cluster Overview Improvements (#1916)
Browse files Browse the repository at this point in the history
* Base backup and last archived WAL information
* Total CPU and memory usage across all nodes
* An Alerts section
* Last failover/switchover time
* Cluster PostgreSQL version
* Transactions per second
* Volume usage and total database size
* Replication/Write/Flush/Replay lag
* Added instance zone
* Displaying the full PostgreSQL version
* Bug Fix: When there are redundant `kube-state-metrics` instances there are duplicate status gauges
* Bug Fix: Max Connections not displaying a progress bar in the gauge due to missing `min` and `max` values.
* Transposed configuration section
* Added volume space and inode usage gauges.
* Fixed tooltips and set shared crosshairs of all graphs.
* Bug Fix: Cluster variable query picking up any metric ending with cluster

---------

Signed-off-by: Itay Grudev <igrudev@clustermarket.com>
(cherry picked from commit aea4365)
  • Loading branch information
Itay Grudev committed May 31, 2023
1 parent 262fc17 commit 49c02f5
Show file tree
Hide file tree
Showing 3 changed files with 11,766 additions and 7,471 deletions.
5 changes: 5 additions & 0 deletions docs/src/quickstart.md
Expand Up @@ -321,6 +321,11 @@ kubectl apply -f \
Which will be picked up by the Grafana page in a few seconds. You should now
see the `CloudNativePG` dashboard.

!!! Warning
Some graphs in the previous dashboard make use of metrics that are in alpha stage by the time
this was created, like `kubelet_volume_stats_available_bytes` and `kubelet_volume_stats_capacity_bytes`
producing some graphs to show `No data`.

![local grafana](images/grafana-local.png)

Note that in our example setup, both Prometheus and Grafana will pick up
Expand Down

0 comments on commit 49c02f5

Please sign in to comment.