Skip to content

Conversation

@sderosiaux
Copy link

By default, a different instance of DefaultRegistry will be created for each injection (typically in the Play Filters, and into a Controller for /metrics), but both will use a different Registry instances. Declaring the binding as a singleton fixes the issue.

By default, a different instance of DefaultRegistry will be created for each injection (typically in the Play Filters, and into a Controller for /metrics), but both will use a different Registry instances. Declaring the binding as a singleton fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant