Support customizable telemetry data retention policy#10366
Draft
Support customizable telemetry data retention policy#10366
Conversation
Collaborator
bnaecker
commented
May 4, 2026
- Add clickhouse-admin types for represeting the telemetry retention policy and the disk usage of the database tables or oximeter timeseries specifically.
- Add clickhouse-admin-server APIs for manipulating the policy and listing the database and oximeter-timeseries usage.
Collaborator
Author
|
This still needs a good bit of work, but I'd like to get early eyes on it. This is supposed to resolve #10357 by letting us set a customizable retention policy (in days) on the tables in the oximeter database. It does that through new endpoints on the Like I said, this needs work, but I really want some kind of guardrails and procedure around manipulating the retention policy at our customer sites, rather than manually writing SQL against the database. Hopefully this can be made good enough by the time we want to release R19.3. |
e9d9ca7 to
78ba9ed
Compare
- Add clickhouse-admin types for represeting the telemetry retention policy and the disk usage of the database tables or oximeter timeseries specifically. - Add clickhouse-admin-server APIs for manipulating the policy and listing the database and oximeter-timeseries usage. - Add `omdb` subcommands for exercising the new APIs
78ba9ed to
e09811f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.