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

Commits on Sep 27, 2024

  1. fix: Verify TSDB actual retention period

    * 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]>
    mahendrapaipuri committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e94d03c View commit details
    Browse the repository at this point in the history
  2. fix: Ensure to fetch real retention period

    * 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]>
    mahendrapaipuri committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4f67bb6 View commit details
    Browse the repository at this point in the history
  3. test: Update e2e tests

    Signed-off-by: Mahendra Paipuri <[email protected]>
    mahendrapaipuri committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a39afff View commit details
    Browse the repository at this point in the history
  4. style: Fix lint issues

    Signed-off-by: Mahendra Paipuri <[email protected]>
    mahendrapaipuri committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    7965efb View commit details
    Browse the repository at this point in the history