Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDEA] create CLI/web tool to manage metrics #64

Open
G-regL opened this issue Sep 10, 2019 · 1 comment
Open

[IDEA] create CLI/web tool to manage metrics #64

G-regL opened this issue Sep 10, 2019 · 1 comment

Comments

@G-regL
Copy link

G-regL commented Sep 10, 2019

I posted an issue to the carbon-clickhouse repo some time ago asking how to delete specific metrics.

I ended up finding a way using some SQL queries, but I think this project would greatly benefit from another tool to manage the metrics as a whole.

In the traditional Graphite use, you can rename and delete metrics easily by just renaming or deleting folders/files on disk, with the changes being almost instantly visible in any front-end.

With CH as the backend, you'd need to figure out how to do very specific SQL queries to the same thing.

Would it be possible to create a way to do this? I'm thinking either a standalone tool that talks directly to the CH instance, or maybe a REST API that works via graphite-clickhouse on a new URL (/metrics, or /api/metrics), which would allow for some typical management tasks.

@G-regL
Copy link
Author

G-regL commented Jul 27, 2021

Is there any chance this will get implemented?

I'm having a hard time finding an easy way to purge old data from CH, without having to engineer some very complex queries. An API in GCH that's given a full metric path, and then handles the deletions would be an invaluable asset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant