Grafana: bargauge ECS service tiles on Overview dashboard#4742
Merged
Grafana: bargauge ECS service tiles on Overview dashboard#4742
Conversation
Five tiles (Realm Server, Prerender, Prerender Mgr, Worker, Synapse)
each cram three values (CPU / Mem / Tasks or Up) into a w=4 stat
panel — every number ends up tiny next to the single-stat Postgres
tile in the same row.
Switch them to horizontal bargauge with gradient fill so each metric
gets a full-width bar plus a value, scannable at a row level. Postgres
stays a stat (one number, already works).
Per-field max values so the bars fill meaningfully:
- Tasks (CloudWatch RunningTaskCount): max 10
- Synapse Up (`count(up{job="synapse"} == 1)`): max 1
- Synapse Mem (`process_resident_memory_bytes`): max 8 GiB
CPU and Mem percentages keep the implicit 0–100 from the `percent`
unit. Existing thresholds and field display names carry through
unchanged, so green/yellow/red coloring still matches the prior tile.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Observability diff (vs staging)No dashboard / folder changes detected against the staging Grafana. (Run: https://github.com/cardstack/boxel/actions/runs/25607241946) |
This file contains hidden or 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
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.
Summary
Five service tiles on the Overview dashboard's third row (Realm Server, Prerender, Prerender Mgr, Worker, Synapse) cram three values into a w=4 stat panel — numbers are unreadable. Convert them to horizontal bargauge so each metric gets its own full-width bar + value, scannable at a glance.
RunningTaskCount):max: 10so the bar fills proportionally for typical task countsprocess_resident_memory_bytes):max: 8589934592(8 GiB)count(up{job="synapse"} == 1)):max: 1percentunitdisplayNamefield overrides carry through unchanged, so the green/yellow/red coloring matches today's behaviorPostgres DB tile stays a stat (it already shows one big number).
Test plan
🤖 Generated with Claude Code