반응형

□ 쓸만한 promql 

 1. k8s 

# 1. k8s 
#   =~: Select labels that regex-match the provided string.  (정규표현식 매칭가능) 
##
container_network_recevie_bytes_total{namespace="kubes-system",pod=~"weave.+"}

"=~" 표현식으로  weave 이하의 모든 pod들을 조회

반응형

+ Recent posts