From 11933f15ecc940973b1f205311647cc4dc6bb1f0 Mon Sep 17 00:00:00 2001 From: Aleksei Magusev Date: Mon, 16 Apr 2018 23:58:26 +0200 Subject: [PATCH] Simplify the :prefix option description --- lib/statix.ex | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/statix.ex b/lib/statix.ex index 1aea06a..dff5a5c 100644 --- a/lib/statix.ex +++ b/lib/statix.ex @@ -42,11 +42,10 @@ defmodule Statix do The following is a list of all the supported options: - * `:prefix` - (binary or `nil`) all metrics sent to the StatsD-compatible + * `:prefix` - (binary) all metrics sent to the StatsD-compatible server through the configured Statix connection will be prefixed with the - value of this option. If `nil`, metrics will not be prefixed. Defaults to - `nil`. - * `:host` - (binary) the host where the StatsD-compatible server lives. + value of this option. By default this option is not present. + * `:host` - (binary) the host where the StatsD-compatible server is running. Defaults to `"127.0.0.1"`. * `:port` - (integer) the port (on `:host`) where the StatsD-compatible server is running. Defaults to `8125`.