On Tuesday, November 8, 2016 at 2:04:16 PM UTC-6, [email protected] wrote: > On Tuesday, November 8, 2016 at 1:49:16 PM UTC-6, [email protected] wrote: > > On Tuesday, November 8, 2016 at 1:42:55 PM UTC-6, Sean Beckett wrote: > > > I wrote the identical point you sent and it queries properly for me: > > > > > > > > > > > > > select elapsedTime, rate, totalSizeInBytes from tasks > > > name: tasks > > > ----------- > > > time elapsedTime rate > > > totalSizeInBytes > > > 1478630013784144006 164514 0.006097560975609756 3380749 > > > > > > > > > I'm using the CLI to submit it via HTTP. Maybe there's some issue with > > > the UDP path. Can you submit a similar point via the CLI or the HTTP API > > > and then query that point? > > > > > > > > > On Tue, Nov 8, 2016 at 12:38 PM, <[email protected]> wrote: > > > On Tuesday, November 8, 2016 at 12:34:40 PM UTC-6, Sean Beckett wrote: > > > > > > > I assume you are using the Admin UI, and this is probably a browser > > > > issue. Using the CLI I get the precise answer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > select rate from tasks > > > > > > > name: tasks > > > > > > > ----------- > > > > > > > time rate > > > > > > > 1478630013784144006 0.006097560975609756 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Nov 8, 2016 at 11:13 AM, <[email protected]> wrote: > > > > > > > I'm using influxdb 1.02 and I write this value for rate over udp > > > > > > > > > > > > > > > > > > > > > > > > > > > > tasks,id=86f27139-3b4a-445d-b649-489484dc7ab8,serverID=e239a1d4-14eb-49ba-a3a3-2244543911eb > > > > elapsedTime=164514i,totalSizeInBytes=3380749i,rate=0.006097560975609756 > > > > > > > > > > > > > > > > > > > > > > > > > > > > when I query in influx I get a rate of 0 and not 0.00609 > > > > > > > > > > > > > > > > > > > > > > > > > > > > how do I get the correct value 0.006097560975609756 and not 0 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > Remember to include the version number! > > > > > > > > > > > > > > --- > > > > > > > > > > > > > > You received this message because you are subscribed to the Google > > > > Groups "InfluxData" group. > > > > > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send > > > > an email to [email protected]. > > > > > > > > > > > > > > To post to this group, send email to [email protected]. > > > > > > > > > > > > > > Visit this group at https://groups.google.com/group/influxdb. > > > > > > > > > > > > > > To view this discussion on the web visit > > > > https://groups.google.com/d/msgid/influxdb/048cf1c0-9b27-40fc-9483-a2174dbb19a1%40googlegroups.com. > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > Sean Beckett > > > > > > > Director of Support and Professional Services > > > > > > > InfluxDB > > > > > > > > > > > > > > > > > > no i still get 0. I'm trying to show it in grafana and it get's 0 there > > > too > > > > > > > > > > > > > > > > > > > select elapsedTime, rate, totalSizeInBytes from tasks > > > > > > name: tasks > > > > > > ----------- > > > > > > time elapsedTime rate > > > totalSizeInBytes > > > > > > 1478614158243788410 300084 0.05 31657718 > > > > > > 1478614619622135774 120311 0.1 25897481 > > > > > > 1478614841269533728 77067 0 1477068 > > > > > > 1478615139350512811 72408 0 1045522 > > > > > > 1478615448872966347 78462 0 1021784 > > > > > > 1478615794421995386 95523 0 1891679 > > > > > > > > > > > > -- > > > > > > Remember to include the version number! > > > > > > --- > > > > > > You received this message because you are subscribed to the Google Groups > > > "InfluxData" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an > > > email to [email protected]. > > > > > > To post to this group, send email to [email protected]. > > > > > > Visit this group at https://groups.google.com/group/influxdb. > > > > > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/influxdb/e203f518-101c-4504-92dd-3ba86cd224f6%40googlegroups.com. > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Sean Beckett > > > Director of Support and Professional Services > > > InfluxDB > > > > Yes, it works when i use http. For one last test, i'll just use echo to > > udp to exclude my program > > hmmmm... not sure what's happening, but the echo works > > it must be on my side, i'll look at my code
For the record, this what happened I had to precalculate a rate because I needed to find the slowest rate with the bottom function since currently in influxql you can't have arithmetic in the bottom or the top functions. my go code was this rate = float64(totalSizeInBytes/(1024*2024)) / float64(jobRunTime/1000) which calculated correctly a lot of the times, I changed it to this rate = (float64(totalSizeInBytes)/(1024.0*1024.0)) / (float64(jobRunTime)/1000.0) and it all works fine now. Thanks for your help Sean -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/6aed6fd6-7fed-4781-873c-9793b117261d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
