Skip to content

Commit

Permalink
Document histogram consistency limitations (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
knyar committed May 25, 2024
1 parent 1479fce commit d51ef8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,10 @@ Records a value in a previously registered histogram. Usually called from
[log_by_lua_block](https://github.com/openresty/lua-nginx-module#log_by_lua_block)
globally or per server/location.

Note that recording an observation requires incrementing several histogram,
which does not happen atomically and might race with metric collection (see
#161).

* `value` is a value that should be recorded. Required.
* `label_values` is an array of label values.

Expand Down

0 comments on commit d51ef8f

Please sign in to comment.