Skip to content

Commit

Permalink
Merge pull request #2206 from ellutionist/fix_prometheus_doc_error
Browse files Browse the repository at this point in the history
fix: doc mistake in meta/3rd/OpenResty/library/prometheus.lua
  • Loading branch information
sumneko committed Jul 21, 2023
2 parents 8aa3912 + a254bb5 commit 8c4c122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/3rd/OpenResty/library/prometheus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8c4c122

Please sign in to comment.