Prometheus metric spikes during KrakenJS plugin hot-reloading
0 reputation · 24 Dec 2020, 02:38 UTC
The goal is to ensure that downstream monitoring systems do not receive transient spikes or duplicate entries when a plugin is reloaded. Currently, it is unclear if the Prometheus registry clears existing gauges or if they persist until the new instance is fully initialized.
How does the KrakenJS core handle the de-registration of metrics when a plugin hot-reload occurs? Is there a documented configuration to prevent transient metric persistence from triggering false alerts in the scraper during this transition?