-
Notifications
You must be signed in to change notification settings - Fork 143
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
[BUG] movingWindow not working with time #840
Comments
Hi @ljurk |
I tried it, but the result was the same, an empty array. By accident i tried
|
Latest version that was tagged is 0.16.1. So I have hard time pinpointing the correct one. ALso that was almost a year ago, so I would encourage to try latest master anyway. |
sorry, this returened by |
That endpoint returns what Grafana would parses for graphite endpoint, and not carbonapi version. Can you share the raw request (same request, without movingWindow)? |
|
I forgot to mention, that we have 2 replicated instances: 1 go-carbon/carbonapi and 1 carbon/graphite. Both instances have the same data, the movingWindow-query works in the carbon/graphite instance. |
I think it's because |
Describe the bug
The movingWindow function is not returning data if i use time as an argument(e.g.
1sec
,1min
,1hour
). If I use the count, its working.CarbonAPI Version
1.1.0
Logs
curl request:
grafana request
CarbonAPI Configuration:
Simplified query (if applicable)
movingWindow(collectd.ceph.server.ceph_smb1.cpu.percent-idle,'10sec')
Backend response (if possible)
response for time
movingWindow(collectd.ceph.server.ceph_smb1.cpu.percent-idle, '10sec')
response for count
movingWindow(collectd.ceph.server.ceph_smb1.cpu.percent-idle, 10)
other
moving*
functions seem to function with time, but notmovingWindow
. I've also saw and ran the tests for the movingWindow-function, the tests are working. I've no idea whyThe text was updated successfully, but these errors were encountered: