You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prometheus有以下4中运算符
=: Select labels that are exactly equal to the provided string.
!=: Select labels that are not equal to the provided string.
=: Select labels that regex-match the provided string.
!: Select labels that do not regex-match the provided string.
我看代码中在查询时,直接多lable进行拼接,并没有判断运算符的不同。
例如:
up{host="localhost",instance="localhost:8080",job!="cadvisor", sunzheng!"nihao"}
这种请求发送到后台后,会有type字段。目前该项目只有=,这种情况,其他三种条件并没有解决
请求后续有解决码?
The text was updated successfully, but these errors were encountered:
prometheus有以下4中运算符
=: Select labels that are exactly equal to the provided string.
!=: Select labels that are not equal to the provided string.
=
: Select labels that regex-match the provided string.: Select labels that do not regex-match the provided string.!
我看代码中在查询时,直接多lable进行拼接,并没有判断运算符的不同。
例如:
up{host="localhost",instance=
"localhost:8080",job!="cadvisor", sunzheng!"nihao"}这种请求发送到后台后,会有type字段。目前该项目只有=,这种情况,其他三种条件并没有解决
请求后续有解决码?
The text was updated successfully, but these errors were encountered: