Extend `Prometheus::Client.reinitialize_on_pid_change` method
Extend Prometheus::Client.reinitialize_on_pid_change
method to receive :force
param.
With force: true
it reinitializes all metrics files.
With force: false
(default) it reinitializes only on changed PID (as it was before).
In any case, it keeps the registry (as it was before).
Thus, the change is backward compatible.
Edited by 🤖 GitLab Bot 🤖