Skip to content
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

Add more info to the RequestCompleteEvent #1844

Open
jwoertink opened this issue Nov 16, 2023 · 0 comments
Open

Add more info to the RequestCompleteEvent #1844

jwoertink opened this issue Nov 16, 2023 · 0 comments

Comments

@jwoertink
Copy link
Member

The LogHandler publishes a Pulsar event RequestCompleteEvent which lets you know the duration a request took. This is something you'd use in Breeze to store how long each request took. I think it would be great to add in context as well since we already have access to it. Then you could subscribe and send off your own events. Without access to context from the event, you only know how long something took... You don't know what that something was.

Lucky::Events::RequestCompleteEvent.publish(duration)

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

No branches or pull requests

1 participant