Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-7337

[BE] Modify Execution intervals for STT checks

Details

    • 1
    • Yes
    • [obsolete] Portal

    Description

      User story:
      When I go to Settings/configuration for STT I need to be able to change default values to Check Execution intervals so that I as a pmm Admin have control over the generated load on my system

      UI/UX:
      Note: Need to create a separate ticket for UI lets treat this one as backend

      Acceptance criteria

      • User able to change values for 3 buckets/intervals: frequently (4h) - standard (24h) - rare (78h)
      • The user is able to enter 0.01h as a value (will be useful for debugging)

      Out of scope:

      Suggested implementation:

      • Add 3 new fields (for e.g. `STTStandardInterval`, `STTRareInterval`, `STTFrequentInterval`) under the saas config options of the settings model used by managed and make required changes to the schema
      • Make changes to the server endpoint `ChangeSettings` to save these three buckets to DB
      • change the checks service code to retrieve settings from DB instead of using hardcoded value (if https://jira.percona.com/browse/PMM-7335 has already been implemented otherwise ignore this point)

       

      How to test:

      • Call GetSettings endpoint

       

      Details:
      TBD

      Attachments

        Issue Links

          Activity

            People

              nicola.lamacchia Nicola Lamacchia (Inactive)
              roma.novikov Roma Novikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist