Instrumenting Erlang code

Tristan Sloughter t@REDACTED
Sun Jan 26 20:22:57 CET 2020

On Sun, Jan 26, 2020, at 05:58, Frank Muller wrote:
> Is that doable?
> If yes, can I apply like this logic to all modules running in my Erlang node?

The cases you mention are exactly why it is best to not attempt to apply the logic throughout the code automatically but to write it manually where it makes sense to do so. Except in the case of live tracing, where you can use matchspecs to setup traces on functions you care about.

I'd also suggest checking out existing instrumentation libraries for Erlang, so maybe you don't need to write your own: 

- implementation of the spec.


As well as the Foundation's Observability working group,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list