The HTTP query string parameter is the only way to change the precision of reported timestamps. I don't know if there is a way to control that from Chronograf.
If you get no results, then either "value" isn't a field, or you have no points in the time range. On Thu, Jun 23, 2016 at 6:34 PM, <[email protected]> wrote: > On Thursday, June 23, 2016 at 4:59:05 PM UTC-5, Sean Beckett wrote: > > 1) > https://docs.influxdata.com/influxdb/v0.13/guides/querying_data/#other-options-when-querying-data. > Basically, add "&epoch=ms" to your HTTP query string > > > > > > 2) COUNT(value) > > > > > > On Thu, Jun 23, 2016 at 10:18 AM, <[email protected]> wrote: > > Hi, > > > > > > > > I'm trying to monitor REST calls. I'm looking for a couple of > measurements. > > > > > > > > 1 How long it takes to complete the rest call in milliseconds > > > > 2 How many times the rest call is called. > > > > > > > > > > > > > > > > I've been able to instrument my service, but I'm not sure how to get the > y-axis to milliseconds or how to count the calls. > > > > > > > > I've dug around, but not figured out the proper thing to do. > > > > > > > > I"m using the line protocol with udp. I have the data flowing > > > > > > > > here is an example of what I'm writing > > > > > > > > > /rest/:id/tasks/checkin,method=GET,route=/sbm/7766b0b4-5f8f-48e8-a890-5e043cc1ad69/tasks/checkin,code=200i > value=1935379i 1466691860481388548 > > > > > > > > > > > > the value and the timestamp are in nanoseconds. > > > > The value is the duration in nanoseconds of the call > > > > > > > > my query is > > > > SELECT value FROM mydb.."/rest/:id/tasks/checkin" WHERE tmpltime() > > > > > > > > 1) how do I tell the query that I want it in milliseconds? > > > > 2) how do I count the number of times it was called. > > > > > > > > > > > > > > > > -- > > > > Remember to include the InfluxDB version number with all issue reports > > > > --- > > > > You received this message because you are subscribed to the Google > Groups "InfluxDB" 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/b923b45f-0b9c-407f-84f1-75dd2cd91e21%40googlegroups.com > . > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > -- > > > > > > Sean Beckett > > Director of Support and Professional Services > > InfluxDB > > For 1 is it possible to do that through a query? I'm trying to feed it in > to chronograf > > For 2 i tried > > SELECT count(value) FROM mydb.."/rest/:id/tasks/checkin" WHERE tmpltime() > > and it gets > > Success! (no results to display) > > no data > > -- > Remember to include the InfluxDB version number with all issue reports > --- > You received this message because you are subscribed to the Google Groups > "InfluxDB" 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/8600693a-f886-455f-b816-2f7beb99ed6a%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" 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/CALGqCvPac%2ByuySc-D0P0cReOQruQe4BFtUTiw5mEaU%2B5pbBh_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
