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

Reduce prometheus retention time #174

Closed
Tracked by #175 ...
mrnicegyu11 opened this issue Jun 13, 2023 · 6 comments
Closed
Tracked by #175 ...

Reduce prometheus retention time #174

mrnicegyu11 opened this issue Jun 13, 2023 · 6 comments
Assignees
Labels
observability alerting/monitoring t:enhancement New feature or request wontfix This will not be worked on

Comments

@mrnicegyu11
Copy link
Member

In order to better manage cardinality we need to

  • Note down the average resource usage of prometheus on aws-prod
  • After syncing with the app team etc. on how or if we want to store this data on the long run, we need to reduce the retention time to something reasonable enought to handle
@mrnicegyu11
Copy link
Member Author

To-Do: Announce data retention time decrease to POs and App-Team

@mrnicegyu11
Copy link
Member Author

Currently on prod we have MONITORING_PROMETHEUS_RETENTION=365d

On dalco-prod we intend to shorten it for v1.56.0 : https://git.speag.com/oSparc/osparc-ops-deployment-configuration/-/commit/166805fa3988198562a1712fbbecde2e1a9fd43c

@mrnicegyu11
Copy link
Member Author

Related: #209

@mrnicegyu11
Copy link
Member Author

On aws-prod, as nicely suggested in a discussion with @GitHK @matusdrobuliak66 , we could have a AMP (AWS managed prometheus) scrape our prometheus and keep only selected metrics there with a long retention time

@mrnicegyu11
Copy link
Member Author

This will be done when 1.63.0 rolls out

@mrnicegyu11 mrnicegyu11 modified the milestones: 7peaks, Kobayashi Maru Nov 23, 2023
@YuryHrytsuk YuryHrytsuk modified the milestones: Kobayashi Maru, This is Sparta! Jan 15, 2024
@mrnicegyu11 mrnicegyu11 added wontfix This will not be worked on and removed p:high-prio labels Feb 1, 2024
@mrnicegyu11
Copy link
Member Author

Wont fix it due to time-constraints. AWS-Prod retention time remains 1y

related closed tickets:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
observability alerting/monitoring t:enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants