qonto / prometheus-rds-exporter

Prometheus exporter for AWS RDS
MIT License
60 stars 10 forks source link

Question : Limiting API calls #174

Open Antoine-Sevec opened 3 months ago

Antoine-Sevec commented 3 months ago

Hi !

Is it possible to limit API calls to AWS with a variable ?

We have a very large increase in our CloudWatch API (GetMetricData) costs and would like to be able to reduce the frequency.

Thank you for your support

vmercierfr commented 2 months ago

Hello,

The exporter exposes the rds_api_call_total metrics, so you can confirm if the costs are related to the exporter (also visible in the exporter's internal dashboard).

Unfortunately, the exporter doesn't support yet instance filtering, so metrics of all RDS instances will be scrapped.

As mitigation, you may:

I hope it will help

vmercierfr commented 2 months ago

Related to https://github.com/qonto/prometheus-rds-exporter/issues/94