client_python icon indicating copy to clipboard operation
client_python copied to clipboard

Make `Gauge.set_function` multiprocess-compatible

Open postmaxin opened this issue 4 years ago • 0 comments

This makes the _child_samples() callback that Gauge.set_function genereates stash the callback's value in the _value, so that you can make a callback-based Gauge in a subprocess and expect it to be visible in other processes' metrics collection.

postmaxin avatar Sep 24 '21 06:09 postmaxin