Packages

Behaviour and use macro for Raven monitor integrations

Current section

Files

Jump to
raven_observer_sdk lib code_name_raven runtime null_adapter.ex
Raw

lib/code_name_raven/runtime/null_adapter.ex

defmodule CodeNameRaven.Runtime.NullAdapter do
@moduledoc false
# Implements the fallback adapter behaviour returning an empty list.
def recent_samples(_monitor_id, _opts), do: []
def instance_id, do: "null-instance"
end