🟪 AppSignal for Elixir package
MIT License
Tom de Bruijn (3):
Jeff Kreeftmeijer (3):
Since 0.12.0, the agent has to be explicitly activated in the Appsignal configuration by setting :active
to true
. If the :active
key is false
or not present, the agent will be disabled and no data will be sent to AppSignal.
# config/config.exs
config :appsignal, :config,
active: true,
name: :appsignal_phoenix_example,
push_api_key: "00000000-0000-0000-0000-000000000000"
Published by tombruijn over 7 years ago
Thijs Cadier (1):
Published by jeffkreeftmeijer almost 8 years ago
Raphael Costa (1):
Arjan Scherpenisse (4):
Tyler Pearson (1):
Jeroen Visser (1):
Tom de Bruijn (1):
Jeff Kreeftmeijer (1):
Jeff Kreeftmeijer (10):
Aaron Jensen (1):
Raphael Costa (1):
Marcos Cardoso (1):
Published by jeffkreeftmeijer almost 8 years ago
Arjan Scherpenisse (10):
Jeff Kreeftmeijer (2):
Lucas Nelson (1):
Arjan Scherpenisse (10):
Add hex.pm badge
Remove instrumentation macros, switch to decorators
Update channel decorators documentation
Documentation on instrumentation decorators
Let Appsignal.{set_gauge, add_distribution_value} accept integers (#31)
Implement Appsignal.send_error (#29)
Jeff Kreeftmeijer (2):
Add documentation for filtered parameters (#28)
Appsignal.Utils.ParamsEncoder.preprocess/1 handles structs (#30)
The instrumented do ... end
macro has been removed. Instead of writing this:
defmodule MyInstrumentedModule do
import Appsignal.Helpers
instrumented do
def bar(arg) do
# code to be instrumented
end
# more functions...
end
end
you should write now:
defmodule MyInstrumentedModule do
use Appsignal.Instrumentation.Decorators
@decorate transaction_event
def bar(arg) do
# code to be instrumented
end
# more functions...
end
The reason for this is that the instrumented do...
syntax introduced an extra indenting level for all instrumented functions, making diffs and merges large and complicated.
The use Appsignal.Phoenix.Channel
and channel_event/3
macro has been removed in favor of the new @decorate
syntax. Example:
defmodule SomeApp.MyChannel do
use Appsignal.Instrumentation.Decorators
@decorate channel_action
def handle_in("ping", payload, socket) do
{:reply, {:ok, payload}, socket}
end
end
You can still use the old syntax, if you really like, but note that a __MODULE__
argument needs to be passed in.
instrument_def
macro for defining a single instrumented functionArjan Scherpenisse (8):
Jeff Kreeftmeijer (2):
Thomas Gautier (1):
Published by arjan about 8 years ago
Arjan Scherpenisse (13):
Ecto log entry times can be nil
Update deps specification in gettingstarted doc
Fix instrumentation of defp functions
CI: use --warnings-as-errors on compilation
CI: Add Erlang 18.3 as extra test target
Use :crypto.strong_rand_bytes to remove deprecation warning
Update roadmap for 1.0 beta release
Do not log path_info as request_path contains the same information
Fix Phoenix extract_error_metadata cases
Update the roadmap
Thijs Cadier (2):
New agent version
Published by arjan about 8 years ago
Arjan Scherpenisse (13):
Make documentation a bit nicer
Improved Phoenix error handling
Add instrumented do ... end
macro to wrap around functions
Prefix the language integration version with 'elixir-'
Phoenix: Use reraise to preserve the original stack trace
Update docs of transaction registry
Phoenix: Fix #8, fix compilation warnings