Removing items from the tree within Graphite WebUI

Asked by bongo on 2011-05-11

Hi,

We have just started using Graphite. We are able to push data to Graphite and setup name spaces etc, however, we want to be able to remove/move these around as we please. An example of this is..

1) test machines/test data we wish to remove from the tree
2) organisational ability of folders/tree/subtree/branches/leaves of data/servers/services we are putting in there.. an example of this is a machine which comes online for a brief period of time, never to come back online again, and we wish to move this namespace and data to another subtree (like OFFLINE or ARCHIVE)

Many thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Nicholas Leskiw
Solved:
Last query:
Last reply:
Revision history for this message
Dave Rawks (drawks) said :
#1

Data can easily be manipulated by moving, deleting, renaming, symlinking the whisper files on disk.

Revision history for this message
bongo (n-launchpad-sonicb-com) said :
#2

Thanks for this. Where are the whisper files kept exactly?

Many thanks.

Revision history for this message
Best Nicholas Leskiw (nleskiw) said :
#3

/opt/graphite/storage/whisper

-Nick

On May 12, 2011, at 4:50 AM, bongo <email address hidden> wrote:

> Question #157065 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/157065
>
> bongo posted a new comment:
> Thanks for this. Where are the whisper files kept exactly?
>
> Many thanks.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
bongo (n-launchpad-sonicb-com) said :
#4

Thanks Nicholas Leskiw, that solved my question.

Revision history for this message
DiegoV (diego-varese) said :
#5

This is pretty tedious if using a federated storage solution. Are there plans to expose deleting stats via the Django admin interface or sth similar?

Revision history for this message
Nicholas Leskiw (nleskiw) said :
#6

There are no plans to do this. If you'd like to write a patch we'll be happy to accept it.

Revision history for this message
Florin Andrei (florin-andrei) said :
#7

It should be noted that graphite does not have to be restarted after deleting old metrics. Just delete the files and forget it.

I thought I should mention this because it was a stumbling block for me at some point. The docs are not clear whether a restart is needed or not, and I assumed it was needed. Turned out I was wrong.