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
Fx currently emits logs for each constructor or decorator that is provided to the DI container, but it doesn't actually emit logs on which ones that are called.
A few users reached out asking for an observability point for dependencies that are provided to the DI container but aren't actually invoked, since Fx invokes these lazily.
This can be done if we emit logs for each constructors that are invoked (note: this is NOT fx.Invoke, just the calling the constructor itself); then any constructors that are provided but not invoked can be identified from the logs.
Internal Ref: GO-1873.
The text was updated successfully, but these errors were encountered:
Fx currently emits logs for each constructor or decorator that is provided to the DI container, but it doesn't actually emit logs on which ones that are called.
A few users reached out asking for an observability point for dependencies that are provided to the DI container but aren't actually invoked, since Fx invokes these lazily.
This can be done if we emit logs for each constructors that are invoked (note: this is NOT fx.Invoke, just the calling the constructor itself); then any constructors that are provided but not invoked can be identified from the logs.
Internal Ref: GO-1873.
The text was updated successfully, but these errors were encountered: