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

Update or remove query in domain_traffic dashboard #84

Open
wgjhstt247 opened this issue May 28, 2022 · 1 comment
Open

Update or remove query in domain_traffic dashboard #84

wgjhstt247 opened this issue May 28, 2022 · 1 comment

Comments

@wgjhstt247
Copy link

last(oper_speed) / last(oper_speed) will always be 1. Should this query be removed or updated?

"query": "SELECT last(\"oper_speed\")/last(\"oper_speed\") AS \"RX % MAX\" FROM \"$db\".\"$rp\".\"FIUplinkPortStats\" WHERE (\"domain\" =~ /^$domain$/ AND \"port\" =~ /^$uplink$/ AND \"fi_id\" =~ /^$fi_id$/) AND $timeFilter GROUP BY time($__interval), \"port\" fill(linear)",

@paregupt
Copy link
Owner

It's been a while but I think this might have got left behind after a testcase. I was probably trying to plot a max line. I will test it for any side effects and make the change. Thanks for finding it.

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

2 participants