Prometheus return no data when calculating a ratio of two metrics
问题 I want to calculate a ratio of two metrics, but I get no data... I have some metrics like: fs_bytes{filesystem="/var",instance="localhost:9108",job="graphite",metric="Used"} 50.0 fs_bytes{filesystem="/var",instance="localhost:9108",job="graphite",metric="Total"} 100.0 When I try to do any operation (device, multiply, add, subtract) like: fs_bytes{instance="localhost:9108",metric="Used"} / fs_bytes{instance="localhost:9108",metric="Total"} Prometheus returned: no data When I query each metric