%% -*- erlang -*-

%% @doc The DalmatinerDB backend ip and port.
{mapping, "folsom_ddb.ip", "folsom_ddb.endpoint",
 [{commented, {"127.0.0.1", 5555}},
  {datatype, ip}]}.

%% @doc The bucket to store folsom data in.
{mapping, "folsom_ddb.bucket", "folsom_ddb.bucket",
 [{default, "folsom"},
  {datatype, string}]}.

%% @doc The prefix that is added to each metric, in total the metric
%% will be contructed [<PREFIX> | <Metric Path>]
{mapping, "folsom_ddb.prefix", "folsom_ddb.prefix",
 [{default, "folsom"},
  {datatype, string}]}.

%% @doc The interval in which folsom data is checked, default is 1 Second.
{mapping, "folsom_ddb.interval", "folsom_ddb.interval",
 [{default, "1s"},
  {datatype, {duration, ms}}]}.

%% @doc Enables or disables metrics for the Erlang VM.
{mapping, "folsom_ddb.vm_metrics", "folsom_ddb.vm_metrics",
 [{default, false},
  {datatype, {flag, true, false}}]}.
