summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-07-21 11:17:56 +0800
committerGitHub <noreply@github.com>2023-07-21 11:17:56 +0800
commit8c4c122a1d213600f2bdad05e2f18e8ffc1a180c (patch)
treee6df1e5c3b8a8766aa15e1ab108da5f2983c093e
parent8aa391239f1e0df0f3f59ecbba9da063b5396e70 (diff)
parenta254bb56f06999d2580e908f9e0946fe166fd546 (diff)
downloadlua-language-server-8c4c122a1d213600f2bdad05e2f18e8ffc1a180c.zip
Merge pull request #2206 from ellutionist/fix_prometheus_doc_error
fix: doc mistake in meta/3rd/OpenResty/library/prometheus.lua
-rw-r--r--meta/3rd/OpenResty/library/prometheus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/3rd/OpenResty/library/prometheus.lua b/meta/3rd/OpenResty/library/prometheus.lua
index c56ebb03..88036b81 100644
--- a/meta/3rd/OpenResty/library/prometheus.lua
+++ b/meta/3rd/OpenResty/library/prometheus.lua
@@ -234,7 +234,7 @@ local PrometheusHist = {}
--- metric_response_sizes:observe(tonumber(ngx.var.bytes_sent))
---}
---```
----@param value string is a value that should be recorded. Required.
+---@param value number is a value that should be recorded. Required.
---@param label_values? string[] is an array of label values.
function PrometheusHist:observe(value, label_values) end