Closed vmercierfr closed 11 months ago
Avoid memory spikes during boot
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.
viper.SetConfigName()
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