Dogmatix.start_link
You're seeing just the function
start_link
, go back to Dogmatix module for more information.
Specs
start_link(id(), binary(), pos_integer(), start_options()) :: Supervisor.on_start()
Starts a new pool of connection to an agent.
name
- a binary or an atom to identify this instance of Dogmatixhost
- a binary, the agent's hostport
- a positive integer, the agent's host
Options
See the module documentation for details.
:worker_count
- (positive integer) - number of UDP sockets and workers used to distribute the metrics. Defaults to4
.:prefix
- (binary) - all metrics sent to the agent will be prefixed with this value. Not set by default.:tags
- ([binary]) - a list of tags to be sent with all metrics. Format:["tag1:value1", "tag2:value2"]
. Not set by default.:max_datagram_size
- (integer) - the maximum number of bytes for a message that can be sent. Defaults to1432
.:buffer_flush_ms
- (integer) - metric flush interval in milliseconds. Defaults to500
.0
to disable.