monitoring: add consolidated workloads CPU/memory dashboard#209
Draft
ejahnGithub wants to merge 3 commits intosigstore:mainfrom
Draft
monitoring: add consolidated workloads CPU/memory dashboard#209ejahnGithub wants to merge 3 commits intosigstore:mainfrom
ejahnGithub wants to merge 3 commits intosigstore:mainfrom
Conversation
Adds a single GCP Monitoring dashboard that surfaces CPU and memory
across all Sigstore GKE workloads (grouped by namespace / container),
so oncall does not have to navigate multiple metric pages while
investigating resource issues.
The dashboard includes:
- CPU usage in cores (rate of core_usage_time)
- Memory used (non-evictable bytes)
- CPU/memory limit utilization (REDUCE_MAX so a hot replica is visible)
- CPU/memory request utilization (REDUCE_MAX)
- Container restart deltas
- Node CPU allocatable utilization
Resolves sigstore/public-good-instance#1122
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The xyChart threshold schema does not accept color/direction for these chart types; the dashboard create rejects them. Keep just the value. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Heights of 16 in a 12-column mosaic produced very tall narrow tiles. Use h=4 (standard) for charts and keep h=4 for the overview banner. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Adds a single GCP Monitoring dashboard
Workloads CPU & Memorythat consolidates CPU and memory across all Sigstore GKE workloads (grouped by namespace / container_name), so oncallers do not have to navigate multiple metric pages while investigating resource issues.The dashboard includes:
kubernetes.io/container/cpu/core_usage_time)REDUCE_MAXso a single hot replica is visible)REDUCE_MAX)Wired in via a new
google_monitoring_dashboard.workloadsresource ingcp/modules/monitoring/infra/dashboards.tf(same pattern as the existingclients,timestamp_authority, andrekor_v1dashboards).Testing
terraform fmt -recursivecleanWill roll out to staging first via the usual Sigstore CI flow once merged.
Issue
Resolves sigstore/public-good-instance#1122