appsignal

Elixir integration 1.7 released

Jeff Kreeftmeijer

Jeff Kreeftmeijer on

Elixir integration 1.7 released

We've just released version 1.7 of the AppSignal Elixir integration, which adds support for setting a transaction's namespace after starting it, drops the cURL dependency for downloading the agent, and bundles its own CA certificate.

Custom namespaces

AppSignal uses namespaces to differentiate between performance and error samples in different parts of your app. The default namespaces are "web" and "background", but you can use custom ones when starting a transaction.

Most of our Elixir customers use the Phoenix framework, which automatically starts a transaction per request through our Plug integration. Since 1.7.0, the Elixir integration allows setting the namespace after a transaction is started by using Transaction.set_namespace/1-2:

elixir
defmodule AppsignalPhoenixExampleWeb.AdminController do use AppsignalPhoenixExampleWeb, :controller def index(conn, _params) do Appsignal.Transaction.set_namespace(:admin) render(conn, "index.html") end end

Drop HTTPoison and cURL

Instead of using HTTPoison for communication with the AppSignal API, and cURL for downloading the agent, we've removed both dependencies and are using hackney directly from 1.7.0 onward to fix dependency issues.

Bundled CA certificate

Version 1.7.0 of the Elixir integration comes bundled with its own CA certificate to remove the dependency on the ca-certificates package on some machines.

Please see the changelog for more details about these improvements, and bug fixes. And as always: get in touch if you encounter problems after upgrading. We're happy to help!

Become our next author!

Find out more

AppSignal monitors your apps

AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!

Discover AppSignal
AppSignal monitors your apps