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

add ttl option to ui sink and cluster status #717

Merged
merged 2 commits into from
Feb 6, 2023
Merged

Conversation

RoiGlinik
Copy link
Contributor

default for 6 months.

There is an option to use Interval type from Postgres but not sure its necessary.

Copy link
Contributor

@arikalon1 arikalon1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Please just add a short description to the sink docs

@@ -7,3 +7,4 @@ class ClusterStatus(BaseModel):
version: str
last_alert_at: Optional[str] # ts
light_actions: List[str]
ttl_hours: int = 4380 # Time before unactive cluster data is deleted. 6 Months default.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think we want the default value here

@RoiGlinik RoiGlinik merged commit 0facfd0 into master Feb 6, 2023
@RoiGlinik RoiGlinik deleted the ttl-ui-sink branch February 6, 2023 12:52
pavangudiwada pushed a commit to pavangudiwada/robusta that referenced this pull request Nov 6, 2023
* add ttl option to ui sink and cluster status
* default for 6 months
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

Successfully merging this pull request may close these issues.

None yet

2 participants