Monitoring resolver operation queues


#1

Different operations can be queued for a given unit agent (e.g. a number of hook executions, actions, juju run executions). Is there any way to monitor this?

It doesn’t look like it but maybe this could be something to expose via introspection API
https://github.com/juju/juju/blob/juju-2.4.3/worker/uniter/resolver.go#L105-L111


#2

There is not currently. It is certainly something that we’ve been discussing. I’ll also note that it isn’t a strict FIFO queue. The resolver has several operations that it considers, and it prioritizes which one should happen next. So it may have wanted to run something, but will preempt it if a higher priority item needs to be done.