Skip to content

Switch the usage collector back on in staging - #1882

Merged
rdimitrov merged 1 commit into
mainfrom
rdimitrov-registry-usage-dashboard-preview
Nov 20, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
rdimitrov-registry-usage-dashboard-preview

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

What

Sets mcp-registry:usageCollector back to "true" in staging, after the retirement rehearsal in #1881.

What #1881 showed (checked read-only in staging)

  • Removed: both CronJobs, every collector Secret, the cache volume, the priority class, the dashboard ConfigMaps, the three DatabaseRole objects and the Database object, the service account key and the log-viewer grant.
  • Grafana restarted cleanly, deleted the "Registry usage" data source and no longer lists the two usage dashboards.
  • Kept: the service account itself, the backup bucket with its snapshot, the three PostgreSQL roles, and the registry_usage database with all 12 stored days.

What this one should show

  • The operator takes over the existing roles and database from new DatabaseRole and Database objects, with new passwords.
  • A new service account key and the log-viewer grant are created.
  • Grafana gets the data source and the two dashboards back.
  • A collector run works against the kept history and collects only what is missing.

Production is not affected; deploy/Pulumi.gcpProd.yaml is unchanged.

The retirement rehearsal removed the workload, its credentials and the
Grafana data source and dashboards, and kept the history database, its
roles and the backup bucket, as intended. Switching it back on checks
the other half: that the existing roles and database are taken over
with new passwords and that collection continues on the kept history.

Co-authored-by: Copilot App <[email protected]>
@rdimitrov
rdimitrov merged commit ae2f03f into main Nov 20, 2026
9 checks passed
@rdimitrov
rdimitrov deleted the rdimitrov-registry-usage-dashboard-preview branch November 20, 2026 22:40
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