Appsignal (AppSignal v2.1.12) View Source

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.

Link to this section Summary

Link to this section Functions

Link to this function

add_distribution_value(key, value, tags \\ %{})

View Source

Specs

add_distribution_value(String.t(), float() | integer(), map()) :: :ok

Add a value to a distribution

Use this to collect multiple data points that will be merged into a graph.

Link to this function

increment_counter(key, count \\ 1, tags \\ %{})

View Source

Specs

increment_counter(String.t(), number(), map()) :: :ok

Increment a counter of a metric.

See Appsignal.Instrumentation.instrument/1.

See Appsignal.Instrumentation.instrument/2.

Link to this function

instrument(name, category, fun)

View Source

See Appsignal.Instrumentation.instrument/3.

Link to this function

send_error(exception, stacktrace)

View Source

See Appsignal.Instrumentation.send_error/2.

Link to this function

send_error(kind, reason, stacktrace)

View Source

See Appsignal.Instrumentation.send_error/3.

Link to this function

send_error(kind, reason, stacktrace, fun)

View Source

See Appsignal.Instrumentation.send_error/4.

Link to this function

set_error(exception, stacktrace)

View Source

See Appsignal.Instrumentation.set_error/2.

Link to this function

set_error(kind, reason, stacktrace)

View Source

See Appsignal.Instrumentation.set_error/3.

Link to this function

set_gauge(key, value, tags \\ %{})

View Source

Specs

set_gauge(String.t(), float() | integer(), map()) :: :ok

Set a gauge for a measurement of a metric.