Skip to content

feat: add DCR client-to-subscription mapping metric#319

Open
IlonaShishov wants to merge 1 commit into
RHEcosystemAppEng:mainfrom
IlonaShishov:monitoring-improvements
Open

feat: add DCR client-to-subscription mapping metric#319
IlonaShishov wants to merge 1 commit into
RHEcosystemAppEng:mainfrom
IlonaShishov:monitoring-improvements

Conversation

@IlonaShishov

Copy link
Copy Markdown
Collaborator

Summary

  • Added a new dcr_client_info observable gauge that maps each DCR client to its marketplace subscription via account_id, order_id, and client_id labels
  • Added a "DCR Client Mapping" table panel to both Cloud Run and OpenShift/Grafana marketplace dashboards (value column hidden — only shows the mapping labels)
  • Existing dcr_clients_active and subscriptions_count metrics remain unchanged

🤖 Generated with Claude Code

Add a new `dcr_client_info` observable gauge that emits one row per DCR
client with account_id, order_id, and client_id as labels, enabling
operators to identify which DCR client belongs to which marketplace
subscription. The order_id is the key needed to retrieve data from the
Google Procurement API.

Existing metrics are unchanged — the new metric provides a mapping view
alongside the existing summary counts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@luis5tb luis5tb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants