-
Notifications
You must be signed in to change notification settings - Fork 22
PrometheusReporter thread is not daemon #30
Comments
Hey @RobertoUa, could you please explain a bit more what you mean by this? |
sorry, I meant thread. I have to call |
Oh, now I see what you mean! So, this is not specific to the Prometheus module, it actually is part of Kamon core, we even have tests to ensure that this works this way! Instead of sys.exit, just make Kamon stop all reporters (that's either The goal with that was to allow the reporters to push out the very last data they have before shutting down, which is specially important when running short-lived processes. |
I see, thanks! But maybe we can allow configuring it? I don't want to call |
The thread should be daemon by default and users should be allowed to configure it.
The text was updated successfully, but these errors were encountered: