qonto / prometheus-rds-exporter

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

Support AWS RDS Aurora serverless #148

Closed omerlh closed 5 months ago

omerlh commented 5 months ago

Is your feature request related to a problem? Please describe

While looking at the exporter logs I noticed the following errors:

{"time":"2024-03-21T12:13:38.17761627Z","level":"INFO","msg":"get RDS metrics"}
{"time":"2024-03-21T12:13:40.256259749Z","level":"ERROR","msg":"can't fetch EC2 metrics: can't fetch describe instance types: operation error EC2: DescribeInstanceTypes, https response error StatusCode: 400, RequestID: b0af5ca9-11a5-47da-b64b-d8187a399999, api error InvalidInstanceType: The following supplied instance types do not exist: [serverless]"}

Describe the solution you'd like

Need to turn off EC2 metrics for serverless instances

Describe alternatives you've considered

Checked the repository for similar issues

vmercierfr commented 5 months ago

Thanks for reporting this issue, sorry about that issue. It's definitely a bug that we must fix!

I'll propose fix by the middle of next week.

vmercierfr commented 5 months ago

We just released the 0.8.1 that contains the fix.

Can you update to this version and confirm that it works as expected?

omerlh commented 5 months ago

Yes! Thank you so much for the quick response!