Dogmatix.start_link

You're seeing just the function start_link, go back to Dogmatix module for more information.
Link to this function

start_link(name, host, port, opts \\ [])

View Source

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 Dogmatix
  • host - a binary, the agent's host
  • port - 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 to 4.
  • :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 to 1432.
  • :buffer_flush_ms - (integer) - metric flush interval in milliseconds. Defaults to 500. 0 to disable.