← Back to team overview

graphite-dev team mailing list archive

Re: [Question #254304]: Graphite problem with long values. I found them stored as decimal

 

Question #254304 on Graphite changed:
https://answers.launchpad.net/graphite/+question/254304

Description changed to:
Hi,

I found the next problem when I built my graphics using the Graphite
API.

I have configured logstash to send data to graphite storage system. That data is gathered using JMX. 
The pulling frequency in logstash was set to 30 seconds. 

My problem is that the long type values are stored in graphite as
decimal values.

Also I found this questions in StackOverflow website which doesn't have
an accepted answer:

http://stackoverflow.com/questions/13019126/graphite-does-not-graph-
values-correctly-when-using-long-durations

Also I tried to apply summarize() function suggested by one of the
comments in the post but still the same problem.

Running whisper-fetch I get the following output:

root@m-qai-umstmp01 UMSSTATS]# whisper-fetch --pretty MessagesDropped.wsp
Tue Sep  9 07:50:00 2014	0.100000
Tue Sep  9 07:55:00 2014	0.100000
Tue Sep  9 08:00:00 2014	0.000000
Tue Sep  9 08:05:00 2014	0.100000
Tue Sep  9 08:10:00 2014	0.000000
Tue Sep  9 08:15:00 2014	0.100000
Tue Sep  9 08:20:00 2014	0.000000
Tue Sep  9 08:25:00 2014	0.100000
Tue Sep  9 08:30:00 2014	0.055556
Tue Sep  9 08:35:00 2014	0.000000

How can I solve this problem? Is there any workaround I can do?

Any help would be appreciated.

Thanks

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.