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

[Question] Metric stat_activity_realtime retains only 2 days worth of data subpartitions. #611

Closed
SlavaLenskyy opened this issue Feb 24, 2023 · 2 comments

Comments

@SlavaLenskyy
Copy link

SlavaLenskyy commented Feb 24, 2023

I'd like to keep this metrics for 30 days period (same as my data retention)
I changed the table from transient to permanent but it still drops partitions that are older than 2 days.
Can you please advise how to prevent this from happening?
Thank you

@pashagolub
Copy link
Collaborator

Hello.

According to sources:

...
/* "realtime" metrics are non-persistent and have 1d retention */
...

EnsureMetricTime() is called to manipulate realtime partitions.
@kmoppel-cognite can you elaborate on this?

@github-actions
Copy link

📅 This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs.
♻️ If you think there is new information allowing us to address the issue, please reopen it and provide us with updated details.
🤝 Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 29, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants