From da56ea1dcb6b0ff2027b7d981d1eb3bacfd0bafb Mon Sep 17 00:00:00 2001 From: David Dios Date: Fri, 5 Jul 2024 22:53:00 +0100 Subject: [PATCH] fixing Spec typos --- doc/prometheus_boolean.md | 4 ++-- doc/prometheus_counter.md | 4 ++-- doc/prometheus_gauge.md | 4 ++-- doc/prometheus_histogram.md | 4 ++-- doc/prometheus_quantile_summary.md | 4 ++-- doc/prometheus_summary.md | 4 ++-- src/metrics/prometheus_boolean.erl | 4 ++-- src/metrics/prometheus_counter.erl | 4 ++-- src/metrics/prometheus_gauge.erl | 4 ++-- src/metrics/prometheus_histogram.erl | 4 ++-- src/metrics/prometheus_quantile_summary.erl | 4 ++-- src/metrics/prometheus_summary.erl | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/prometheus_boolean.md b/doc/prometheus_boolean.md index 47f390f8..3b5725c2 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 3d8211a8..1debd8af 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 9164c4d8..2028756c 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 c87cc4c5..3adca63a 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 4e179132..156c6dc2 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 1171b66b..0ed3a7cf 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 c88e6299..392e7e59 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 73072e54..b06741c5 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 1ada1aad..bf2844c0 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 7bcad791..5f9db44f 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 9ffdd3e8..66ecd941 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 d735a01a..b739bbc2 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.