PMM Add Instance Dashboard limited to 100 RDS instances

Description

https://github.com/percona/pmm-managed/pull/160

Hello.
I am using pmm ami in ec2.
There are over 100 RDS Aurora instances in my AWS account.
However, you can only see up to 100 instances in the _PMM Add Instance Dashboard.
So I can not add all instances to pmm.
Can I use paging to identify more than 100 instances in _PMM Add Instance Dashboard?
I have updated pmm until 1.17.1.
However, the version of _PMM Add Instance Dashboard is 1.17.0.

Thank you.

How to test

None

How to document

None

Activity

Show:

Alexey Palazhchenko 
November 29, 2019 at 10:14 AM

Next build at https://github.com/Percona-Lab/pmm-submodules/pull/547 will contain a new discovery API, same artificial 20-instances-per-API-page limit, and new RDS discovery/add UI which is not merged yet.

Alexey Palazhchenko 
November 25, 2019 at 10:12 AM

Discover API and UI use DescribeDBInstances API call: https://docs.aws.amazon.com/en_us/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html It returns up to 100 instances in a single region. To get all instances, pagination is required.
Previous code paged incorrectly. The current PMM 2 code should fix the issue.
https://github.com/Percona-Lab/pmm-submodules/pull/547 contains a feature build that returns up to 20 instances per single API response. It was created to simplify testing – now, it is required to create only 21 instances in a single region instead of 101.

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Fix versions

Story Points

Sprint

Affects versions

Environment

PMM AMI 1.17.0, 1.17.1(upgrade)

Created March 27, 2019 at 10:37 AM
Updated March 6, 2024 at 6:17 AM
Resolved December 16, 2019 at 10:26 AM