← Back to team overview

graphite-dev team mailing list archive

Re: [Question #136843]: Missing data on the graph

 

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

    Status: Answered => Open

Evgeni is still having a problem:
Thank you, Nick. This helped me to get graph into text datapoints, but the problem is still exists.
Here it is:
hour=1; min=0; for i in `curl "http://someurl/render/?width=1449&height=708&_salt=1291959523.717&target=stat&rawData=true&from=01:00_20101209&until=00:00_20101210"; | tr '|' '\n' | grep -v stat | grep -v stat | tr ',' '\n'`; do printf "%02d:%02d\t%s\n" $hour $min $i; let min=$min+15; if (($min==60)); then let hour=$hour+1; let min=0;fi; done
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1204    0  1204    0     0   8177      0 --:--:-- --:--:-- --:--:--     0
01:00   5662.66666667
01:15   4972.73333333
01:30   4260.46666667
01:45   3691.33333333
02:00   2866.93333333
02:15   2434.53333333
02:30   2148.4
02:45   2053.73333333
03:00   1815.26666667
03:15   1583.46666667
03:30   1485.28571429
03:45   1509.26666667
04:00   1696.46666667
04:15   1508.66666667
04:30   1327.0
04:45   1642.4
05:00   1658.06666667
05:15   1681.0
05:30   1710.2
05:45   1998.13333333
06:00   2043.73333333
06:15   2241.13333333
06:30   2451.66666667
06:45   3074.73333333
07:00   3265.86666667
07:15   3615.73333333
07:30   3866.6
07:45   5067.06666667
08:00   5470.2
08:15   6216.93333333
08:30   6874.66666667
08:45   8121.73333333
09:00   7847.73333333
09:15   7774.6
09:30   8062.73333333
09:45   9437.0
10:00   9313.53333333
10:15   8931.13333333
10:30   8885.4
10:45   9565.26666667
11:00   9304.06666667
11:15   9319.6
11:30   9282.06666667
11:45   9524.86666667
12:00   10064.0666667
12:15   9471.06666667
12:30   9571.0
12:45   9881.66666667
13:00   10076.5333333
13:15   10198.4666667
13:30   10592.8
13:45   11160.0666667
14:00   None
14:15   11618.9333333
14:30   10874.4666667
14:45   13348.0
15:00   13999.8
15:15   15097.5333333
15:30   16199.0666667
15:45   16823.5333333
16:00   16794.2666667
16:15   16751.8666667
16:30   16985.4
16:45   17683.2666667
17:00   17770.8666667
17:15   18157.6
17:30   18791.1333333
17:45   19943.0
18:00   20340.0
18:15   20318.9333333
18:30   20700.5333333
18:45   21474.2666667
19:00   21640.6
19:15   22279.2666667
19:30   21809.0666667
19:45   22045.3333333
20:00   22694.6
20:15   21890.9333333
20:30   22349.4666667
20:45   22645.0
21:00   22423.8666667
21:15   22554.7333333
21:30   22251.2666667
21:45   22956.0666667
22:00   21998.4
22:15   20746.7333333
22:30   19018.4
22:45   17905.8666667
23:00   16560.2
23:15   15500.1333333
23:30   13765.0
23:45   12272.0

As you can see, looks like the data for 14:00 is missing - the value is 'None'. But I looked into /graphite/storage/log/carbon-cache/updates.log.2010_12_9 file:
for i in `seq -w 0 20`; do cat /graphite/storage/log/carbon-cache/updates.log.2010_12_9 | grep "09/12/2010 14:$i:" | grep stat; done
09/12/2010 14:01:20 :: wrote 1 datapoints for stat in 0.00015 seconds
09/12/2010 14:02:05 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 14:02:35 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 14:03:05 :: wrote 1 datapoints for stat in 0.00018 seconds
09/12/2010 14:04:06 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 14:05:05 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 14:06:05 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 14:07:05 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 14:08:05 :: wrote 1 datapoints for stat in 0.00014 seconds
09/12/2010 14:09:05 :: wrote 1 datapoints for stat in 0.00014 seconds
09/12/2010 14:10:06 :: wrote 1 datapoints for stat in 0.00014 seconds
09/12/2010 14:11:06 :: wrote 1 datapoints for stat in 0.00018 seconds
09/12/2010 14:12:05 :: wrote 1 datapoints for stat in 0.00024 seconds
09/12/2010 14:13:05 :: wrote 1 datapoints for stat in 0.00015 seconds
09/12/2010 14:14:05 :: wrote 1 datapoints for stat in 0.00016 seconds
09/12/2010 14:15:06 :: wrote 1 datapoints for stat in 0.00014 seconds
09/12/2010 14:16:05 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 14:17:05 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 14:18:05 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 14:19:05 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 14:20:06 :: wrote 1 datapoints for stat in 0.00019 seconds

Data for 14:00 was inserted into graphite at 14:01:20.
Data for 14:01 was inserted into graphite at 14:02:05.
Data for 14:02 was inserted into graphite at 14:02:35.
and so on...

The similar happens at 16, 18 and so on (because of some system limitations):
09/12/2010 16:01:42 :: wrote 1 datapoints for stat in 0.00014 seconds
09/12/2010 16:02:05 :: wrote 1 datapoints for stat in 0.00011 seconds
09/12/2010 16:03:02 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 16:03:05 :: wrote 1 datapoints for stat in 0.00014 seconds
09/12/2010 16:04:06 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 16:05:05 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 16:06:06 :: wrote 1 datapoints for stat in 0.00012 seconds
09/12/2010 16:07:05 :: wrote 1 datapoints for stat in 0.00020 seconds
09/12/2010 16:08:06 :: wrote 1 datapoints for stat in 0.00013 seconds
09/12/2010 16:09:06 :: wrote 1 datapoints for stat in 0.00014 seconds
But for 16:00 the graph's value isn't 'None', it is 16794.2666667.

In addition, I can say, that my application also logging each event that
being sent to graphite and times in my application log and in
updates.log.2010_12_9 file are the same.

Thanks in advance!

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



References