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

Future improvements in RDS exporter. number of API calls

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: RDS_exporter
    • Labels:
      None

      Description

      First, we can implement the same background collection for basic metrics, reducing the number of calls 6 times: X calls every 60 seconds (because basic metrics are updated by AWS every 60 seconds) instead of X calls every 10 seconds (on each Prometheus scrape). We can also use GetMetricData API call which allows us to get up to 100 metrics in a single request.

      Second, when getting enhanced metrics (and basic metrics if we implement the abovementioned improvement), we can learn the best moment to make a request to AWS from the timestamps of previous metrics. That way our metrics will be more fresh at the moment of Prometheus scrape.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alexey.palazhchenko Alexey Palazhchenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: