[FE] Add disable_collstats and collstats limits fields

Description

In the Add MongoDB instance page, we need 4 new fields:

Label

Type

Description

disable-collectors

string

Input field where we can write a list of disabled collectors like: dbstats,collstats

stats_collections

string

Input field where the user can write a comma separated list of collection names like: col1,col2

collections_limit

integer

Input field where the user can write a number that acts as the upper limit in the number of collections we ca scrape stats for

databases_limit

integer

Input field where the user can write a number that acts as the upper limit in the number of databases we ca scrape stats for

How to test

None

How to document

None

Attachments

1

Smart Checklist

Activity

Show:

Carlos Salguero November 22, 2021 at 3:12 PM

I've created a feature build only having swagger updates to make it easy to test the FE even in the backend is not ready yet.

https://github.com/Percona-Lab/pmm-submodules/pull/2154

Done

Details

Assignee

Reporter

Priority

Needs QA

Yes

Needs Doc

Yes

Fix versions

Story Points

Smart Checklist

Created November 22, 2021 at 3:11 PM
Updated March 6, 2024 at 1:52 AM
Resolved December 2, 2021 at 2:55 PM