an Appsignal.io exporter for Beeline telemetry
This exporter publishes the difference between the latest event number in a producer's stream and the current stream position of the producer. This can be used to create graphs and anomaly triggers in Appsignal to notify you when a producer falls behind.
def deps do
[
{:beeline_appsignal, "~> 0.1"}
]
end
Check out the docs here: https://hexdocs.pm/beeline_appsignal
Add the Beeline.Appsignal
task to your application's supervision tree
# lib/my_app/application.ex
defmodule MyApp.Application do
# ..
def start(_type, _args) do
children = [
# ..
Beeline.Appsignal,
# ..
]
opts = [strategy: :one_for_one, name: MyApp.Supervisor]
Supervisor.start_link(children, opts)
end
end