如何通过Prometheus promQL中的某个列将两个指标结合起来(用于grafana仪表板)

时间:2018-08-09 08:07:18

标签: grafana prometheus promql

如何将两个指标合并到grafana列的单行中?

我有两个指标:

deployments {label =“ xyz”,deploy_time =“ 2019”,job =“ deployments”}

metric1 {app =“ abc”,deploy_time =“ 2019”}

如何通过grafana仪表板的promQL中的deploy_time将这两者结合在一起,如下所示:

DeployTime label app job 
2019       xyz   abc deployments

0 个答案:

没有答案