← Back to team overview

graphite-dev team mailing list archive

Re: [Question #199282]: Removing spikes from Graphite due to erroneous data.

 

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

Chris Portman posted a new comment:
Thanks guys, it didnt occur to me that it would be as simple as just
replacing the values via the standard mechanisms.  I had ideas of having
to break open the data and edit the whisper files manually...

Just for the record and the next person who comes along with the
question, I don't seem to have whisper-dump.py, but I do have whisper-
fetch.py and whisper-update.py.  So to spell out the solution, id did:

#whisper-fetch.py <whisperDBfile>.wsp
1338786180	  339280.000000
1338786240   414748.000000
1338786300	  527049830555052032.000000   <--- dodgy val
1338786360	  276991.000000
1338786420	  410454.000000

#whisper-update.py <whisperDBfile>.wsp 1338786300:0

#whisper-fetch.py <whisperDBfile>.wsp
1338786180	  339280.000000
1338786240   414748.000000
1338786300	  0                                 <--- fixed val
1338786360	  276991.000000
1338786420	  410454.000000


Thanks All,
Chris

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