diff --git a/doc/prometheus_boolean.md b/doc/prometheus_boolean.md index 47f390f..3b5725c 100644 --- a/doc/prometheus_boolean.md +++ b/doc/prometheus_boolean.md @@ -63,7 +63,7 @@ and LabelValues. Creates a boolean using `Spec`. If a boolean with the same `Spec` exists returns `false`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
@@ -104,7 +104,7 @@ Otherwise returns `{true, _}`. Creates a boolean using `Spec`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
diff --git a/doc/prometheus_counter.md b/doc/prometheus_counter.md index 3d8211a..1debd8a 100644 --- a/doc/prometheus_counter.md +++ b/doc/prometheus_counter.md @@ -92,7 +92,7 @@ and LabelValues.
Creates a counter using `Spec`, if a counter with the same `Spec` exists returns `false`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
@@ -176,7 +176,7 @@ mismatch. Creates a counter using `Spec`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
diff --git a/doc/prometheus_gauge.md b/doc/prometheus_gauge.md index 9164c4d..2028756 100644 --- a/doc/prometheus_gauge.md +++ b/doc/prometheus_gauge.md @@ -122,7 +122,7 @@ Equivalent to [`inc(Registry, Name, LabelValues, -1 * Value)`](#inc-4). Creates a gauge using `Spec`. If a gauge with the same `Spec` exists returns `false`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
@@ -208,7 +208,7 @@ mismatch. Creates a gauge using `Spec`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
diff --git a/doc/prometheus_histogram.md b/doc/prometheus_histogram.md index c87cc4c..3adca63 100644 --- a/doc/prometheus_histogram.md +++ b/doc/prometheus_histogram.md @@ -95,7 +95,7 @@ and `LabelValues`. Creates a histogram using `Spec`. If a histogram with the same `Spec` exists returns `false`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
@@ -145,7 +145,7 @@ Otherwise returns `{false, _}`. Creates a histogram using `Spec`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
diff --git a/doc/prometheus_quantile_summary.md b/doc/prometheus_quantile_summary.md index 4e17913..156c6dc 100644 --- a/doc/prometheus_quantile_summary.md +++ b/doc/prometheus_quantile_summary.md @@ -66,7 +66,7 @@ and LabelValues.
Creates a summary using `Spec`. If a summary with the same `Spec` exists returns `false`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
@@ -109,7 +109,7 @@ Otherwise returns `{false, _}`. Creates a summary using `Spec`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
diff --git a/doc/prometheus_summary.md b/doc/prometheus_summary.md index 1171b66..0ed3a7c 100644 --- a/doc/prometheus_summary.md +++ b/doc/prometheus_summary.md @@ -59,7 +59,7 @@ and LabelValues.
Creates a summary using `Spec`. If a summary with the same `Spec` exists returns `false`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
@@ -102,7 +102,7 @@ Otherwise returns `{false, _}`. Creates a summary using `Spec`. -Raises `{missing_metric_spec_key, Key, Spec}` error if required `Soec` key +Raises `{missing_metric_spec_key, Key, Spec}` error if required `Spec` key is missing.
Raises `{invalid_metric_name, Name, Message}` error if metric `Name` is invalid.
diff --git a/src/metrics/prometheus_boolean.erl b/src/metrics/prometheus_boolean.erl index c88e629..392e7e5 100644 --- a/src/metrics/prometheus_boolean.erl +++ b/src/metrics/prometheus_boolean.erl @@ -73,7 +73,7 @@ %% @doc Creates a boolean using `Spec'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
@@ -92,7 +92,7 @@ new(Spec) -> %% @doc Creates a boolean using `Spec'. %% If a boolean with the same `Spec' exists returns `false'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
diff --git a/src/metrics/prometheus_counter.erl b/src/metrics/prometheus_counter.erl index 73072e5..b06741c 100644 --- a/src/metrics/prometheus_counter.erl +++ b/src/metrics/prometheus_counter.erl @@ -98,7 +98,7 @@ %% @doc Creates a counter using `Spec'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
@@ -117,7 +117,7 @@ new(Spec) -> %% @doc Creates a counter using `Spec', if a counter with the same `Spec' exists %% returns `false'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
diff --git a/src/metrics/prometheus_gauge.erl b/src/metrics/prometheus_gauge.erl index 1ada1aa..bf2844c 100644 --- a/src/metrics/prometheus_gauge.erl +++ b/src/metrics/prometheus_gauge.erl @@ -100,7 +100,7 @@ %% @doc Creates a gauge using `Spec'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
@@ -121,7 +121,7 @@ new(Spec) -> %% @doc Creates a gauge using `Spec'. %% If a gauge with the same `Spec' exists returns `false'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
diff --git a/src/metrics/prometheus_histogram.erl b/src/metrics/prometheus_histogram.erl index 7bcad79..5f9db44 100644 --- a/src/metrics/prometheus_histogram.erl +++ b/src/metrics/prometheus_histogram.erl @@ -103,7 +103,7 @@ %% @doc Creates a histogram using `Spec'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
@@ -132,7 +132,7 @@ new(Spec) -> %% @doc Creates a histogram using `Spec'. %% If a histogram with the same `Spec' exists returns `false'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
diff --git a/src/metrics/prometheus_quantile_summary.erl b/src/metrics/prometheus_quantile_summary.erl index 9ffdd3e..66ecd94 100644 --- a/src/metrics/prometheus_quantile_summary.erl +++ b/src/metrics/prometheus_quantile_summary.erl @@ -85,7 +85,7 @@ %% @doc Creates a summary using `Spec'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
@@ -107,7 +107,7 @@ new(Spec) -> %% @doc Creates a summary using `Spec'. %% If a summary with the same `Spec' exists returns `false'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
diff --git a/src/metrics/prometheus_summary.erl b/src/metrics/prometheus_summary.erl index d735a01..b739bbc 100644 --- a/src/metrics/prometheus_summary.erl +++ b/src/metrics/prometheus_summary.erl @@ -75,7 +75,7 @@ %% @doc Creates a summary using `Spec'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.
@@ -97,7 +97,7 @@ new(Spec) -> %% @doc Creates a summary using `Spec'. %% If a summary with the same `Spec' exists returns `false'. %% -%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Soec' key +%% Raises `{missing_metric_spec_key, Key, Spec}' error if required `Spec' key %% is missing.
%% Raises `{invalid_metric_name, Name, Message}' error if metric `Name' %% is invalid.