You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scope embedded SILO Console metrics to the current MINIO cluster #764
Pigsty deliberately uses one shared job="minio" label for MinIO/SILO metrics. That is convenient for common dashboards, but the embedded Console currently receives only the VictoriaMetrics URL and job ID. With two MINIO clusters in one VictoriaMetrics tenant, an unscoped Console query can mix both clusters and display incorrect totals, health, drive, or traffic values.
Pigsty file-SD targets already carry a cls label, so the missing piece is to pass the current cluster selector into the Console.
Proposed change
For the embedded SILO Console, render the equivalent of:
Keep job="minio" as the product-wide metric family selector and use cls as the tenant/cluster boundary. A separately deployed Console should use the equivalent CONSOLE_PROMETHEUS_JOB_ID and CONSOLE_PROMETHEUS_EXTRA_LABELS variables.
The Console must combine the configured selector with every widget query, including V3 queries and fallback/empty-state checks.
Activity