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

Verify TSDB actual retention period #177

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

mahendrapaipuri
Copy link
Owner

  • Using configured retention period is not enough as retention storage can cut short retention period. So, we need to check for actual retention period by making a query to up metric to see when is the first metric available.

  • For emaps provider initialisation, make more attempts to get zones from API just to give more chances to initialise emaps provider. It can help when internet conn is flaky

@mahendrapaipuri mahendrapaipuri added the bug Something isn't working label Sep 26, 2024
@mahendrapaipuri mahendrapaipuri added this to the v0.3.0 milestone Sep 26, 2024
* Using configured retention period is not enough as retention storage can cut short retention period. So, we need to check for actual retention period by making a query to up metric to see when is the first metric available.

* For emaps provider initialisation, make more attempts to get zones from API just to give more chances to initialise emaps provider. It can help when internet conn is flaky

Signed-off-by: Mahendra Paipuri <[email protected]>
* Take into account max number of datapoints limit when making API requests to get real retention period.

* Apply middleware to all relevant TSDB end points and get correct query parameter when routing to TSDB backend.

Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri merged commit beb56cf into main Sep 27, 2024
15 checks passed
@mahendrapaipuri mahendrapaipuri deleted the fix_ceems_lb_resource_based branch September 27, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant