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

使用普罗米修斯数据源查询时遇到查询条件解析的问题 #408

Closed
jmastt opened this issue Mar 5, 2024 · 0 comments
Closed

Comments

@jmastt
Copy link

jmastt commented Mar 5, 2024

查询条件:
(sum(avg(node_filesystem_size_bytes{job="node-exporter"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{job="node-exporter"})by(device,instance))) * 100 / (sum(avg(node_filesystem_avail_bytes{job="node-exporter"})by(device,instance)) + (sum(avg(node_filesystem_size_bytes{job="node-exporter"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{job="node-exporter"})by(device,instance))))
错误提示为:
lQLPJwbx6RvrNXvMnc0CLrBQMs8kV8OR0wXVBuIAlRcA_558_157
假如将表达式中的 + 号改成其他任意运算符,就可以正常执行并返回数据。请帮忙看看吧

@jmastt jmastt closed this as completed Mar 7, 2024
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