AppSignal v0.0.3 Appsignal

Main library entrypoint.

This module contains the main Appsignal OTP application, as well as a few helper functions for sending metrics to Appsignal.

These metrics do not rely on an active transaction being present. For transaction related-functions, see the Appsignal.Transaction module.

Summary

Functions

Add a value to a distribution

Increment a counter of some metric

Set a gauge for a measurement of some metric

Application callback function

Application callback function

Functions

add_distribution_value(key, value)

Specs

add_distribution_value(String.t, float) :: :ok

Add a value to a distribution

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

increment_counter(key, count \\ 1)

Specs

increment_counter(String.t, integer) :: :ok

Increment a counter of some metric.

set_gauge(key, value)

Specs

set_gauge(String.t, float) :: :ok

Set a gauge for a measurement of some metric.

start(type, args)

Application callback function

stop(state)

Application callback function