I have a two Prometheus queries:
A: Returns used storage on a device
B: Total storage
Each of those queries return two rows each. Here is an example:
A:
{__name__="fs_available_storage_bytes", instance="zt1:9101", job="service1", machine="P30", source="external"}
{__name__="fs_available_storage_bytes", instance="zt1:9101", job="service1", machine="P30", source="internal"}
B
{__name__="fs_total_storage_bytes", instance="zt1:9101", job="service1", machine="P30", source="external"}
{__name__="fs_total_storage_bytes", instance="zt1:9101", job="service1", machine="P30", source="internal"}
I want to use âtotalâ as max, so in transform I select âConfig from query resultsâ in config query I see two option for B. If I select B it looks like it selects both and if I set max only I see 3 bars. Two rom the A query and 1 form the B (source=âinternalâ).
If I try to add another âConfig from query resultsâ I have no queries available to consume for the transform.
It seams like a bug but maybe I am misconfiguring something? Quick hack was to specify source
as internal
seams to fix it because there is no real diff between the two⌠for now.