qonto / prometheus-rds-exporter

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

Add instance baseline information #177

Closed vmercierfr closed 3 months ago

vmercierfr commented 3 months ago

Objective

Add instance baseline

Why

Many EC2 instances (e.g. t3 types) have a baseline and max value regarding IOPS, throughput and bandwidth EBS performances.

1 These instances can support maximum performance for 30 minutes at least once every 24 hours, after which they revert to their baseline performance. 2 These instances can sustain their stated performance indefinitely. If your workload requires sustained maximum performance for longer than 30 minutes, use one of these instances.

Since we don't collect baseline information, IOPS/throughput is massively over-evaluated for some instances (e.g. db.t3.small instances)'.

To make it easier to understand for end-user, we named it burst in dashboard's panels.

dashboard

In this first iteration, I'm adding throughput information and reflect it in RDS instance dashboard. In a future change, we'll re-avalute how we compute the max disk performance to reflect real Instance performances.

How

Release plan

github-actions[bot] commented 3 months ago

Code Coverage

Package Line Rate Health
github.com/qonto/prometheus-rds-exporter/internal/app/cloudwatch 87%
github.com/qonto/prometheus-rds-exporter/internal/app/ec2 87%
github.com/qonto/prometheus-rds-exporter/internal/app/exporter 81%
github.com/qonto/prometheus-rds-exporter/internal/app/rds 75%
github.com/qonto/prometheus-rds-exporter/internal/app/servicequotas 51%
github.com/qonto/prometheus-rds-exporter/internal/app/trace 100%
github.com/qonto/prometheus-rds-exporter/internal/app/unit 100%
Summary 80% (1045 / 1305)

Minimum allowed line rate is 60%

vmercierfr commented 3 months ago

sre