Repository navigation
Promote registry v1.8.11 to production and switch on the usage collector - #1886
Merged
Merged
Conversation
v1.8.11 contains no change to the registry server; it exists so that the usage collector image is published under a release tag. Production runs the collector image with the same tag as the registry's. Setting mcp-registry:usageCollector to "true" creates the daily collector and its backup, the usage history database and its roles, and the Grafana data source and two dashboards. This is also the first production deployment since the dashboards were put under version control, so Grafana restarts and adopts its two existing dashboards. Co-authored-by: Copilot App <[email protected]>
rdimitrov
had a problem deploying
to
production
November 21, 2026 14:30 — with
GitHub Actions
Failure
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The merge triggers a full production apply with persistent Grafana dashboard ownership changes, while dashboard adoption and production-volume collector behavior remain unverified and require operator review and first-run supervision.
No open issues 🎉
What changed in this PR
Promotes the production registry to v1.8.11 and enables the existing usage-collection infrastructure. Merging this configuration change triggers a production deployment.
Changes:
- Updates the production image tag and rollout commit to the v1.8.11 release.
- Enables the daily usage collector, backups, and Grafana usage dashboards.
- Adds comments explaining that disabling collection requires setting the flag to
"false", not removing it.
| File | Description |
|---|---|
deploy/Pulumi.gcpProd.yaml |
Promotes the release, enables usage collection, and documents how to disable it. |
Review effort: Balanced
This branch had an error being deployed
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.
What
Three lines in
deploy/Pulumi.gcpProd.yaml:imageTag1.8.10 → 1.8.11, andregistryRolloutCommitto that release's commit.mcp-registry:usageCollector: "true".Merging this deploys to production.
What the deploy will do
alertDiscordWebhookis not set.registry_usageongrafana-pgwith two roles, and a read-only role onregistry-pg;registry-usage-readerservice account, with log-viewer on the project;mcp-registry-prod-usage-backups;After the deploy
Start the first run by hand:
kubectl -n monitoring create job --from=cronjob/registry-usage-collector usage-first-run. It reads every published version once, then up to 13 days of logs. Until it has run, the two usage dashboards show errors because their tables do not exist yet.Evidence from staging
Checked read-only in production before opening this
registry-usage-readerexists with no keys and no roles, and the deploy account may create keys for it.registry-usage*exists in the cluster; noregistry_usage*role exists in either database.1.8.11and are publicly pullable.Not verifiable before the deploy
Way back
Set
mcp-registry:usageCollector: "false"(do not remove the line). Rehearsed in staging: it removes the jobs, credentials, data source and usage dashboards, and keeps the history, the roles and the backups.