appsignal-elixir
appsignal-elixir copied to clipboard
GenServer instrumentation (helper)
Provide an easy one-two line solution to instrumenting GenServers.
For example by (only) including a module:
defmodule Foo do
use GenServer
use Appsignal.Instrumentation.GenServer
# GenServer implementation
end
As reported here (private link)
Yes, would be definitely nice to have
Proof of concept thread (Slack): https://appsignal.slack.com/archives/CNPP953E2/p1677065498603149
Let's get back to it if someone asks for it again. Closing for now.
Well, pretty timely closure 😅 I am evaluating AppSignal, I make a lot of use of background GenServers in my app, and landed on this issue while googling for the best way to instrument a process.
A helper module I can just use
would certainly help for the smaller background processes, while the bigger ones will require hand-written instrumentation.
@1player Pretty timely comment on your end as well! We closed this because we were unsure if there was enough interest in it -- we can reconsider this decision.
Part of the reason we closed this is that we are unsure of what a good GenServer instrumentaton would look like. Would you be interested in trying out a proof of concept for it and giving us feedback? If so, please reach out to us at [email protected], and mention this issue on your message.