Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grafana dashboard after subscriptions and contracts porting #3992

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sgitario
Copy link
Contributor

@Sgitario Sgitario commented Nov 26, 2024

Description

Fixes:

  • Production issue: Unlink the panel Export Requests Task Lag (the first panel)

In Prod:

Captura de pantalla de 2024-11-26 12-33-28

The problem was that this panel was linked to another which didn't exist in prod. Unlinking the panel should fix this.

  • Export Requests: update panels for Subscriptions and Instances

Captura de pantalla de 2024-11-26 13-28-07

  • Rename swatch-subscriptions-sync to "Subscriptions & Contracts"
  • "Subscriptions & Contracts"
    • Added swatch-contracts Memory Used
    • Fixed "Subscription Sync Task Lag"

Captura de pantalla de 2024-11-26 13-30-53

- Added panels for ambiguous and missing subscriptions by product

Captura de pantalla de 2024-11-26 13-31-27

  • Billing Provider Integration
    • Added "Azure Marketplace Batch Stats"
    • Added "Azure Billable Usage Lag"
    • Replaced "Billable Usage Dead Letter Task Lag" by "Billable Usage Status Task Lag"

Captura de pantalla de 2024-11-26 13-32-03

Testing

To extract the JSON from the k8s configmap file:

oc extract -f .rhcicd/grafana/grafana-dashboard-subscription-watch.configmap.yaml --confirm

Once you extract it from the .yaml that's checked into this repo, you can import it into the stage instance of grafana by going to Dashboards -> +Import from the left nav.

Fixes:
- Production issue: Unlink the panel Export Requests Task Lag (the first panel)
- Export Requests: update panels for Subscriptions and Instances
- Rename swatch-subscriptions-sync to "Subscriptions & Contracts"
- "Subscriptions & Contracts"
    - Added swatch-contracts Memory Used
    - Fixed "Subscription Sync Task Lag"
- Billing Provider Integration
    - Added "Azure Marketplace Batch Stats"
    - Added "Azure Billable Usage Lag"
@Sgitario Sgitario force-pushed the jcarvaja/fix_grafana_dashboard branch from 2e93a4e to 9ee1a37 Compare November 26, 2024 12:37
@Sgitario Sgitario added QE Unneeded Pull request does not need QE approval Dev Pull requests that need developer review labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Pull requests that need developer review QE Unneeded Pull request does not need QE approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant