You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a way to add start/end/around hooks to any reconciler or sub-reconciler object.
My main use case for this is to add additional logging and add span data to the context for tracing.
The injected methods would need access to the context (with the ability to provide a replacement in arounds )
The text was updated successfully, but these errors were encountered:
In my mind, the simplest mechanism is to add a [before|after|around]reconcile method to all the reconcilers and subreconciler's interfaces. I'm sure a general pointcut solution for callbacks such as ReflectChildStatus has possible benefits, but I don't know if there's any point in complicating the whole engine with "true" AOP?
What's missing from that PR right now is tests and doc. I have a family obligation coming up, so it will be at least another week before I can fully finish it off. I don't expect the API shape to change much, so you can start building on it.
I would like a way to add start/end/around hooks to any reconciler or sub-reconciler object.
My main use case for this is to add additional logging and add span data to the context for tracing.
The injected methods would need access to the context (with the ability to provide a replacement in
around
s )The text was updated successfully, but these errors were encountered: