From a254bb56f06999d2580e908f9e0946fe166fd546 Mon Sep 17 00:00:00 2001 From: ellutionist Date: Thu, 20 Jul 2023 14:26:55 +0800 Subject: fix: doc mistake in meta/3rd/OpenResty/library/prometheus.lua --- meta/3rd/OpenResty/library/prometheus.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3