Is your feature request related to a problem? Please describe.
测试发下,如果这个pod只有出去的流量,没有入流量,无法在Kindling WorkLoad Detail界面中筛选出该pod
Describe the solution you'd like
func getKindlingPrefix(isServer bool) string {
var kindMark string
if isServer {
kindMark = EntityPrefix
} else {
kindMark = TopologyPrefix
}
return NPMPrefixKindling + "_" + kindMark + "_"
}
这里有明确的限制,只有isServer的流量,会生成 kindling_entity_request_total指标,而只有出口流量,则只会生成kindling_topology_request_total指标,导致界面上无法筛选。筛选规则为:label_values(kindling_entity_request_total{namespace ="$namespace"} , workload_name)
Describe alternatives you've considered
我尝试改成{__name__=~"kindling_topology_request_total|kindling_entity_request_total"},但标签不统一。可能需要单独出一个针对这种只有出口流量的页面。
Additional context
Is your feature request related to a problem? Please describe.
测试发下,如果这个pod只有出去的流量,没有入流量,无法在Kindling WorkLoad Detail界面中筛选出该pod
Describe the solution you'd like
这里有明确的限制,只有isServer的流量,会生成
kindling_entity_request_total指标,而只有出口流量,则只会生成kindling_topology_request_total指标,导致界面上无法筛选。筛选规则为:label_values(kindling_entity_request_total{namespace ="$namespace"} , workload_name)Describe alternatives you've considered
我尝试改成
{__name__=~"kindling_topology_request_total|kindling_entity_request_total"},但标签不统一。可能需要单独出一个针对这种只有出口流量的页面。Additional context