View Source Appsignal (AppSignal v2.13.2)
AppSignal for Elixir. Follow the installation guide to install AppSignal into your Elixir app.
This module contains the main AppSignal OTP application, as well as a few helper functions for sending metrics to AppSignal.
Summary
Functions
Add a value to a distribution
heartbeat(name)
deprecated
heartbeat(name, fun)
deprecated
Increment a counter of a metric.
See Appsignal.Instrumentation.instrument/1
.
Set a gauge for a measurement of a metric.
Functions
Add a value to a distribution
Use this to collect multiple data points that will be merged into a graph.
This function is deprecated. Use `Appsignal.CheckIn.cron/1` instead..
@spec heartbeat(String.t()) :: :ok
This function is deprecated. Use `Appsignal.CheckIn.cron/2` instead..
@spec heartbeat(String.t(), (-> out)) :: out when out: var
Increment a counter of a metric.
See Appsignal.Instrumentation.instrument/1
.
Set a gauge for a measurement of a metric.