Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics query 的时候匹配的问题 #8

Open
lqzhgood opened this issue Oct 8, 2017 · 0 comments
Open

metrics query 的时候匹配的问题 #8

lqzhgood opened this issue Oct 8, 2017 · 0 comments

Comments

@lqzhgood
Copy link

lqzhgood commented Oct 8, 2017

现在查询是模糊匹配,只要含有符合关键词就会全部匹配出来,例如
counter:"df.bytes.free/fstype=xfs,mount=/
就会把

counter:"df.bytes.free/fstype=xfs,mount=/boot
counter:"df.bytes.free/fstype=xfs,mount=/home

都匹配出来,在某些只接受一条查询的仪表盘中。
例如只想在 Singlestat 仪表盘显示 / 的剩余磁盘大小中就会报错,因为匹配出了3条(/ /home /boot)数据。
请问如何进行精确匹配,只匹配出 / 呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant