我有两个指标,我想将它们加入标签中。我做不到。一点指导将对我有所帮助。
度量标准/查询一:rphy_state_details {live =“ True”}
这将返回
rphy_state_details {acoreRphyState =“ 0”,beta_kubernetes_io_arch =“ amd64”,beta_kubernetes_io_os =“ linux”,cluster_name =“ us-west-1a”,instance =“ metrics-processor-58-p1.telemetry.io:80” ,ipaddr =“ 10.13.1.147”,job =“ pushgateway”,kcm_intel_com_kcm_node =“ true”,kubernetes_io_hostname =“”,live =“ True”,module =“ RLCM-Scheduler”,node =“ worker”,pcoreRphyState =“ 0 “,ppod_id =” ppod2“,rphyMac =” 00:20:a3:35:41:5e“,rphyState =” 5“,site_id =” bgtest1“,site_name =” Virginia“} 5
指标2:K_RpdStatus_Value
这将返回
K_RpdStatus_Value {beta_kubernetes_io_arch =“ amd64”,beta_kubernetes_io_os =“ linux”,cluster_name =“ NJLEPP001”,infra =“ true”,instance =“ metrics-processor-15-p1.telemetry.io:80”,ipaddr =“ 10.1.100.24“,job =” pushgateway“,kubernetes_io_hostname =” 10.250.22.18“,node =” worker“,nodelocation =” ppod1-ns1“,podName =” gcppd-ppod1-ns1-0“,ppod_name =” ppod1“ ,rpdMacAddress =“ 0004.9F33.0767”,site_name =“ BG02”,status =“ operational”,worker =“ infra”}
反正我可以将它们分组或将它们加入rphyMac / rpdMacAddress吗?