UI - Modify Execution intervals for STT checks

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

Acceptance criteria

  • User able to change values for 3 buckets/intervals: Title of "Check Frequency:" with options of "Often" (4h) - "Regularly" (24h) - "Occasionally" (78h)

  • The user is able to set up some groups to be executed in small periods like 1 minute. 

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

How to test

None

How to document

None

Attachments

7

Smart Checklist

Activity

Show:

Nicola Lamacchia March 16, 2021 at 3:15 PM

Flag added

has to be merged first

Zoriana Stefanyshyn March 12, 2021 at 10:54 AM

Verified on pmm-server-fb:PR-1597-f6823cf.
The issue for input fields will be fixed in the scope of PMM-7695.

Zoriana Stefanyshyn March 11, 2021 at 2:34 PM
Edited

there are the following issues:

  1. Hints for all check intervals show the same information. It would be more reasonable to clarify what are Execution intervals than every particular interval itself.

  2. Info about 'required field' is overlapped with highlighted input field if the user clears the values for some interval.

  3. Clearing the values from every input field also shifts the "more/fewer hours" button.

Zoriana Stefanyshyn March 11, 2021 at 1:20 PM

In the FB created for perconalab/pmm-server-fb:PR-1597-4f64908 there aren't any changes for this ticket. Please re-create the FB.

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Needs Doc

Fix versions

Story Points

Sprint

Smart Checklist

Created February 1, 2021 at 11:19 AM
Updated March 6, 2024 at 3:15 AM
Resolved April 8, 2021 at 2:08 PM