Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd ability to clear history for individual metrics #382
Comments
juliusv
added
the
feature-request
label
Mar 10, 2014
juliusv
referenced this issue
Apr 28, 2015
Closed
Tools to clean up / modify already collected data? #656
beorn7
assigned
fabxc
May 26, 2015
This comment has been minimized.
This comment has been minimized.
|
#743 has added the required method to the storage. Now we need an API... |
This comment has been minimized.
This comment has been minimized.
|
We wanted to document an official |
This comment has been minimized.
This comment has been minimized.
|
At least there's nothing obvious I'd want to change about the response formats for now. We made some adjustments to the response format (#389) before the January announcement, so that we wouldn't have to change it so much anymore afterwards. We can think if we want to amend/adjust the query parameters. Currently you provide |
This comment has been minimized.
This comment has been minimized.
|
Yes, was not so much about changing but about verifying that everything is consistent. If there's something we can do better, we shouldn't be hold back by a semi-official announcement in a buried issue. Backwards compatibility is always an option. |
This comment has been minimized.
This comment has been minimized.
|
Keep in mind that PromDash, Grafana, and other tools already use the query API as it stands today, so even without an official API announcement there's already tons of things we'd break if we changed something in a backwards-incompatible way. Hoping for v1 of the API to be compatible with today's API in the best case... |
This comment has been minimized.
This comment has been minimized.
|
That's why I think we should just define a public API and provide the old one in parallel. We will want to do API-versioning, so the endpoint paths break anyway. Filing two PRs for Grafana and PromDash over time to eventually switch shouldn't be the issue. |
This comment has been minimized.
This comment has been minimized.
|
This just got fixed in #783 |
juliusv
closed this
Jun 11, 2015
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedMar 10, 2014
From @mweiden:
"Adding the ability to clear the history for one metric instead of removing all storage via 'sudo rm -rf /srv/prometheus/storage/*' would make debugging metric design much less painful and leave other crucial data intact."