GitHub user pjfanning added a comment to the discussion: Add hooks so that 
metrics tools can generate metrics on key events

I sort of like the idea of using the [Pekko Event 
Stream](https://pekko.apache.org/docs/pekko/1.1/typed/event-stream.html) or 
something similar to avoid the need for manipulating the Pekko code at runtime 
like Kamon does today. If we thought that the using the existing Event Stream 
would overload the existing stream, we could add a specific event stream for 
observability.

As well as allowing observability libs to register interest in events, we may 
also need to allow pluggability to allow these observability libs to control 
how much is written to the events. Many existing events would need to remain as 
is because the events are needed in their existing format for existing purposes 
- but it might be useful to allow more information to be added to some events 
or for additional events to be added. The existing info that can be gleaned 
from the existing events may not be enough for the observability libs.

GitHub link: 
https://github.com/apache/pekko/discussions/1487#discussioncomment-10743171

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to