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

aggregateBy() function returns wrong result #498

Closed
1 of 3 tasks
zfbfoxlly123 opened this issue Dec 20, 2017 · 1 comment
Closed
1 of 3 tasks

aggregateBy() function returns wrong result #498

zfbfoxlly123 opened this issue Dec 20, 2017 · 1 comment

Comments

@zfbfoxlly123
Copy link

I'm submitting a ...

  • Bug report
  • Feature requestdd
  • Question / Support request

Software Versions

| Grafana | Zabbix | Grafana-Zabbix Plugin |
| 4.6.3 | 3.0.8 | 3.7.0 |

What did you do?

I want to put 12 hosts aggregations on the graph to display.
Host field use regex "/.*/"
Item field use "CPU Load"

What was the expected result?

used function "aggregateBy(2m,avg)" to aggregate "CPU Load" in one line

What happened instead?

grafana1
grafana
I should have 2 lines one of them is aggregated by 12 hosts and the another one is only displayed one host But these two lines overlap.
It looks like the regex "/.*/" don't work.
I don't know it's a bug or something else make this happened

@alexanderzobnin
Copy link
Collaborator

Yes, looks like a bug.

@alexanderzobnin alexanderzobnin added this to the Grafana-Zabbix 3.8 milestone Dec 20, 2017
@alexanderzobnin alexanderzobnin changed the title about regex or aggregate aggregateBy() function returns wrong result Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants