Skip to content

Automatically create counters for cross-module application events #1068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
odrotbohm opened this issue Feb 22, 2025 · 0 comments
Closed

Automatically create counters for cross-module application events #1068

odrotbohm opened this issue Feb 22, 2025 · 0 comments
Assignees
Labels
in: observability Observability support type: enhancement Major enhanvements, new features
Milestone

Comments

@odrotbohm
Copy link
Member

It would be nice if we automatically captured counters for all application events published across application module boundaries. We should provide an API to allow developers to customize those.

@odrotbohm odrotbohm added in: observability Observability support type: enhancement Major enhanvements, new features labels Feb 22, 2025
@odrotbohm odrotbohm added this to the 1.4 M2 milestone Feb 22, 2025
@odrotbohm odrotbohm self-assigned this Feb 22, 2025
odrotbohm added a commit that referenced this issue Feb 22, 2025
…events.

We now create counters for each cross-module application event published. The counters can be customized through ModulithEventMetricsCustomizer beans registered in the ApplicationContext.

Refactored the packages to let ….modulith.observability become the API package and moved all implementation components into ….modulith.observability.support.
odrotbohm added a commit that referenced this issue Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: observability Observability support type: enhancement Major enhanvements, new features
Projects
None yet
Development

No branches or pull requests

1 participant