Current section

Files

Jump to
scout_apm lib scout_apm agent_note.ex
Raw

lib/scout_apm/agent_note.ex

defmodule ScoutApm.AgentNote do
@moduledoc """
A centralized place to log & note any agent misconfigurations, interesting
occurances, or other things that'd normally be log messages.
"""
def note({:metric_type, :over_limit, max_types}) do
ScoutApm.Logger.log(:info, "Skipping absorbing metric, over limit of #{max_types} unique metric types. See http://help.apm.scoutapp.com/#elixir-agent for more details")
end
end