Skip to content

Chart replica count on the deployment metrics page - #337

Merged
acoshift merged 1 commit into
mainfrom
deployment-replica-metrics
Aug 23, 2026
Merged

Chart replica count on the deployment metrics page#337
acoshift merged 1 commit into
mainfrom
deployment-replica-metrics

Conversation

@acoshift

@acoshift acoshift commented Aug 23, 2026

Copy link
Copy Markdown
Member

Summary

Adds a Replicas chart to /deployment/metrics, sourced from deployment.metrics.replica.

  • Placed after Memory: CPU | Memory, Replicas | Requests, Egress
  • Hidden for Static and CronJob (no k8s Deployment)
  • clearFirst blanks replica on deployment switch so the previous line cannot leak
  • Mock is a single series (not per-pod), matching production

Depends on deploys-app/apiserver#251 serving the field and deploys-app/collector#21 writing points. Empty until collector has been up for the selected window.

WebService (Replicas after Memory) Static (no Replicas)
webservice static

Test plan

  • bun lint / bun check
  • Playwright tests/deployment.spec.js (Replicas heading on WebService, absent on Static)

Plot deployment.metrics.replica after Memory. Hide the panel for Static and CronJob, which have no k8s Deployment.
@deploys-app
deploys-app Bot temporarily deployed to pr-337 August 23, 2026 09:46 Destroyed
@deploys-app

deploys-app Bot commented Aug 23, 2026

Copy link
Copy Markdown

Preview deleted (PR closed).

@acoshift
acoshift merged commit 65de670 into main Aug 23, 2026
5 checks passed
@acoshift
acoshift deleted the deployment-replica-metrics branch August 23, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant