This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

rrd4j data insert problem

 
Ranch Hand
Posts: 45
Google Web Toolkit Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have recently started to working on rrd4j api,
my wrapper invokes my writing function every 5 seconds (Testing configuration),
I could see the log in next line as successfully inserted data,
but when I tries to redisplay data they are all NaN,
My RRD configuration is as follows


its my RRD create testing configuration,

Regards,
Rudradutt Joshi.
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If they're NaN, then what are they? Can you inspect that?
 
Rudradutt Joshi
Ranch Hand
Posts: 45
Google Web Toolkit Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a
 
Rudradutt Joshi
Ranch Hand
Posts: 45
Google Web Toolkit Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I had found the prob,
I had to provide time in seconds, and I was providing it in milliseconds since Epoch.
But last thing,
is it proper to provide time in seconds ??

as
in milliseconds


1238656668222
Thu Apr 02 12:47:48 IST 2009


where as in seconds it is


1238656668
Thu Jan 15 13:34:16 IST 1970


Everything changes for time,
though I query the same thing, so I got a result
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well in the 2009 case you're providing it with a lot more milliseconds, so it seems to be doing the right thing
 
I knew I would regret that burrito. But this tiny ad has never caused regrets:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!