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
PromQL table, number, pie and bar tiles silently ignore every expression after the first #3835
A PromQL tile can hold several expressions, but only line and stacked charts query them all. For every other display type, getQueriedPromqlSeries (packages/common-utils/src/core/promql.ts) keeps only the first expression. The others stay saved on the tile and never run, with no error or warning. The MCP save_dashboard schema mentions this ("other display types query only the first"), but the dashboard doesn't: a reader sees one Value column and can't tell that data is missing.
Example: a table tile with four expressions:
max by (k8s_hpa_name) (k8s_hpa_desired_replicas)
max by (k8s_hpa_name) (k8s_hpa_current_replicas)
max by (k8s_hpa_name) (k8s_hpa_max_replicas)
max by (k8s_hpa_name) (k8s_hpa_min_replicas)
The table shows k8s_hpa_name and one Value column with the desired replicas. clickstack_query_tile returns the same rows. The same happens on tables with 2 to 8 expressions, for example a cost table with one expression per cost type.
Expected: for a table, one value column per expression, joined on the label set, the way a builder table gives one column per select item. If that isn't wanted, then at least a warning on the tile, and a validation error when a tile that isn't a line or stacked chart is saved with more than one expression (editor and MCP).
Activity