qonto / prometheus-rds-exporter

Prometheus exporter for AWS RDS
MIT License
69 stars 11 forks source link

Support for io2 storage type #134

Closed vmercierfr closed 7 months ago

vmercierfr commented 7 months ago

Objective

Support for io2 storage type

Why

Amazon RDS now supports io2 Block Express, but Prometheus RDS exporter don't support it yet.

Similar to existing storage class types, the information is not accurate since we are not evaluating engine database and nitro instance type. This will be a requirement to release v1 of Prometheus RDS exporter.

screenshot 2024-03-12 at 23 25 10

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html

io2_bx https://docs.aws.amazon.com/ebs/latest/userguide/provisioned-iops.html#io2-block-express

All io2 volumes created after November 21, 2023 are io2 Block Express volumes. io2 volumes created before November 21, 2023 can be converted to io2 Block Express volumes by modifying the IOPS or size of the volume. https://docs.aws.amazon.com/ebs/latest/userguide/provisioned-iops.html#io2-block-express

The ratio of IOPS to allocated storage (in GiB) must be not more than 1000:1. For DB instances not based on the AWS Nitro System, the ratio is 500:1. Maximum IOPS can be provisioned with volumes 256 GiB and larger (1,000 IOPS × 256 GiB = 256,000 IOPS). For DB instances not based on the AWS Nitro System, maximum IOPS are achieved at 512 GiB (500 IOPS x 512 GiB = 256,000 IOPS). Throughput scales proportionally up to 0.256 MiB/s per provisioned IOPS. Maximum throughput of 4,000 MiB/s can be achieved at 256,000 IOPS with a 16-KiB I/O size and 16,000 IOPS or higher with a 256-KiB I/O size. For DB instances not based on the AWS Nitro System, maximum throughput of 2,000 MiB/s can be achieved at 128,000 IOPS with a 16-KiB I/O size. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html

How

Release plan

vmercierfr commented 7 months ago

sre

github-actions[bot] commented 7 months ago

Code Coverage

Package Line Rate Health
github.com/qonto/prometheus-rds-exporter/internal/app/cloudwatch 88%
github.com/qonto/prometheus-rds-exporter/internal/app/ec2 88%
github.com/qonto/prometheus-rds-exporter/internal/app/exporter 80%
github.com/qonto/prometheus-rds-exporter/internal/app/rds 80%
github.com/qonto/prometheus-rds-exporter/internal/app/servicequotas 51%
github.com/qonto/prometheus-rds-exporter/internal/app/unit 100%
Summary 81% (951 / 1172)

Minimum allowed line rate is 60%