Open robryk opened 1 year ago
@robryk Should be easy to implement. Do you have a preference for a name for this new method. Just calling it wait
would be ok I think.
https://github.com/AlexanderThaller/prometheus_exporter/pull/41 does that work for you? @robryk
wait_request
andwait_duration
can be used to achieve two results at once:I would like to do the latter without the former: my metrics are updates based on events, but those events cause updates of multiple metrics.
wait_duration
with a zero duration would probably do what I want, but it's unintuitive.