How to change whisper's time space

Asked by oguz

Hello all,

I'm working a project about using whisper with Openstack ceilometer. I implemented a backend driver for ceilometer to write metrics that it collects to whisper. It is working fine. But i have a problem with this, i need to migrate mongodb data to whisper. there aren't any tools which do it, so i must implement it myself. My problem is, when i create a whisper file, whisper's timestamps are beginning from when i create it. But my mongodb datas' timestamps are old, i need to create a whisper file which starts mongodb metrics time. How can i configure whisper to create a whisper file from a specific date ?

Thanks for your helps.

Question information

Language:
English Edit question
Status:
Expired
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Denis Zhdanov (deniszhdanov) said :
#1

I think better way for you is hack rrd2whisper script - https://github.com/graphite-project/whisper/blob/master/bin/rrd2whisper.py

Revision history for this message
Denis Zhdanov (deniszhdanov) said :
#2

Ah. nvm - it also uses time.now()
Good question, then.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.