qonto / prometheus-rds-exporter

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

Avoid memory spike during boot #41

Closed vmercierfr closed 11 months ago

vmercierfr commented 11 months ago

Objective

Avoid memory spikes during boot

Why

Since https://github.com/qonto/prometheus-rds-exporter/commit/a7c42369b5c201547fa8ee61d80a973bc4cc39be, we observe a memory spike when the exporter is starting.

We identified that this memory spike occurred only when viper.SetConfigName() match the name of the binary. We'll report the bug to Viper.

How

Release plan