feat(chart): dashboard Job picker defaults to All + Go runtime panels#48
Merged
Conversation
Adds defaults so users don't land on an empty dashboard with no `$job` selected. The `Job` template variable now opens with **All** (`allValue: ".*s3proxy.*"`) and its picker is filtered to jobs whose name contains `s3proxy` via the template `regex: /s3proxy/`. Also adds a new **Runtime (Go)** row with six panels backed by the default `client_golang` collectors that s3proxy already registers (`collectors.NewGoCollector` + `NewProcessCollector`): CPU usage, RSS memory, Go heap in use, goroutines, GC pause quantiles, and open file descriptors. All panels scope on `job=~"$job", instance=~"$instance"` so they pick up the same picker selection as the HTTP/business panels. Chart bump 1.9.2 -> 1.9.3. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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
Two related dashboard improvements, packaged as a single chart bump
1.9.2 → 1.9.3.
1.
Jobpicker now defaults to AllThe
Jobtemplate variable previously had no default, so opening thedashboard could show "No data" until a user manually picked a job. Now:
includeAll: trueallValue: ".*s3proxy.*"current: { text: "All", value: "$__all" }regex: /s3proxy/restricts the dropdown to jobs whose namecontains
s3proxy.Effect: dashboard opens populated on multi-release clusters; the
dropdown only lists relevant jobs.
2. New Runtime (Go) row
Six panels backed by the default
client_golangcollectors thats3proxy already registers (
collectors.NewGoCollector+NewProcessCollectorins3proxy/internal/monitoring/monitoring.go):rate(process_cpu_seconds_total[2m])process_resident_memory_bytesgo_memstats_heap_inuse_bytes,_heap_alloc_bytesgo_goroutinesgo_gc_duration_seconds{quantile=…}process_open_fdsAll scoped on
job=~"$job", instance=~"$instance"so the existingpickers apply. No app code change — these metrics already ship.
See
CHANGELOG.md→Chart / 1.9.3.Test plan
jq . charts/s3proxy/dashboards/s3proxy.json >/dev/null— valid JSONhelm lint charts/s3proxy— passespanel targets).
job=~"$job"filtering everywhere (20 hits) and haszero stale
service="s3proxy"filters.populate without touching the picker and the Runtime row renders.
chart/dashboard-job-default-allmatch.Release flow
Merge → tag
chart-v1.9.3onmain→ CI publishesghcr.io/intrinsec/s3proxy/charts/s3proxy:1.9.3.🤖 Generated with Claude Code