Skip to content

feat(monitoring): parameterize dashboards with $gmp_datasource and prod log links - #6485

Open
jess-lowe wants to merge 3 commits into
google:masterfrom
jess-lowe:monitoring_dashboard_vars
Open

jess-lowe wants to merge 3 commits into
google:masterfrom
jess-lowe:monitoring_dashboard_vars

Conversation

@jess-lowe

Copy link
Copy Markdown
Contributor

Overview

Parameterizes all 4 Plutono dashboards with an Environment ($gmp_datasource) Prometheus datasource template variable and adds side-by-side Prod (oss-vdb) and Staging (oss-vdb-test) Cloud Logging Explorer links so the shared dashboards work seamlessly across staging, local dev, and dual-sidecar production federation.

Note: This pull request was developed with AI assistance.

Details

  • Added gmp_datasource (type: "datasource", query: "prometheus", defaulting to "default") to home.json, executive-overview.json, pipeline-ingestion-ops.json, and data-quality-drift.json, replacing hardcoded "GMP (Prometheus)" references across all panels and query variables.
  • Propagated ${gmp_datasource:percentencode} across dashboard navigation links (home.json directory table/stat cards and top-right links) and renamed the staging datasource in base/monitoring/configmaps/grafana_datasources.yaml to GMP (Test).
  • Updated Panel 12 (Failed Worker, Importer & Recoverer Error Logs) in pipeline-ingestion-ops.json with side-by-side Prod (oss-vdb) and Staging (oss-vdb-test) Cloud Logging Explorer links.
  • Documented $gmp_datasource usage and local JSON export caveats in base/monitoring/README.md.

Testing

  • Validated JSON syntax and verified zero remaining "GMP (Prometheus)" panel/variable datasource references across all 4 dashboard files.
  • Verified kubectl kustomize builds cleanly for environments/oss-vdb-test and environments/oss-vdb/monitoring.

@jess-lowe
jess-lowe requested review from a team and Ly-Joey December 2, 2026 00:37
…ard_vars

# Conflicts:
#	deployment/clouddeploy/gke-workers/base/monitoring/dashboards/home.json
…ard_vars

# Conflicts:
#	deployment/clouddeploy/gke-workers/base/monitoring/dashboards/home.json

This branch has not been deployed

No deployments
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