
We've just released version 1.8 of the AppSignal for Elixir integration, which adds support for more precise values for custom metrics and adds the working_directory_path
option to replace working_dir_path
.
Doubles for custom metrics
Custom metrics always supported integers as values for the count
metric. This allowed you to increment the counter with whole numbers, but not fractions. In Elixir package 1.8 you can increment the counter by 0.10
, 0.20
, 0.30
, etc. Add that extra bit of precision to your counters!
Appsignal.increment_counter("metric_name", 3.14)
Read more about custom metrics in our docs.
New working_directory_path
option
In this release we've reworked the option that configures where the AppSignal working directory is located. (Read about what the working directory is used for in our docs.)
There already was the working_dir_path
option, but it's behavior wasn't completely self explanatory. For one, it appended /appsignal
to the path.
# config/appsignal.exs config :appsignal, :config, working_dir_path: "/tmp/my_app/" # would become working_dir_path: "/tmp/my_app/appsignal"
Instead working_directory_path
will not append the path to the user specified path. It will create the specified path if it does not exist yet.
You can switch to the working_directory_path
option without any additional configuration. Do note the /appsignal
sub directory will no longer be created.
In this release we've also immediatly deprecated the working_dir_path
option. Please use working_directory_path
instead.
It's also possible configure the working_directory_path
option with an environment variable.
Other improvements
- Support Elixir 1.7 without warnings.
- Detect Kubernetes machines as containers for
running_in_container
config option. No more need to configure this manually for Kubernetes 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!
Wondering what you can do next?
Finished this article? Here are a few more things you can do:
- Try out AppSignal with a 30-day free trial.
- Reach out to our support team with any feedback or questions.
- Share this article on social media
Most popular AppSignal articles
Easily Monitor Multiple Heroku Apps with AppSignal
You can now monitor multiple Heroku apps from a single AppSignal instance.
See moreFine-Tune Your Charts with Minutely Metrics in AppSignal
Discover how minutely metrics in AppSignal deliver precise performance monitoring. Check out detailed performance data, spot anomalies quickly, troubleshoot issues more efficiently, and optimize your application's performance.
See moreSecure Your Sign-Ins with AppSignal's Single Sign-On
Secure team sign-ins and enhance access management with AppSignal's Single Sign-On Business Add-On. Integrate AppSignal with your identity provider for seamless, secure access management.
See more

Tom de Bruijn
Tom is a developer at AppSignal, organizer, and writer from Amsterdam, The Netherlands.
All articles by Tom de BruijnBecome our next author!
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!
