-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul Monitoring Dashboard #32
Open
mbanck
wants to merge
17
commits into
rel1_3
Choose a base branch
from
monitoring-updates
base: rel1_3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This adds some memory-based settings (shared_buffers, work_mem, maintenance_work_mem, effective_cache_size and max_wal_size), as well as some notable settings one might want to expose e.g. in Grafana dashboards like data_checksums, jit (v11+), max_worker_processes, random_page_cost, seq_page_cost and checkpoint_timeout).
This adds two rows of stat panels at the top that show key settings and values of the instance: * server version, instance uptime, bnumber of cores, total memory * max connections * memory/wal related settings * data checksums/jit settings * number of checksum failures and oom kills
* make (regular) timed checkpoints green and requested ones yellow * mention that requested checkpoints can also be wal- or backup-based * hardcode rate interval to 90s which seems to display well for most common checkpoint_timeout values * change y axis intervals to integers
Also, ignore (new) checkpoint buffers metric from Checkpoints per Minute panel.
This changes the Sequential/Index Scans panels (that reported the total number of seq/index scans per table) to the more useful Sequential Scan Tuples (i.e., how many rows were scanned per table) and Seq/Index Tuple Ratio (the ratio between sequential to index scan tuples per table).
This changes the area fill to 1 from 5 to be more in line with the other Database-related panels. For the Connections by State panel, also add a table-based legend, only show connections states that are present in the chosen time range and override the colors to be more in line with their states.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Grafana dashboard updates
sql-exporter query updates