Releases: lyokha/nginx-custom-counters-module
Releases · lyokha/nginx-custom-counters-module
nginx-custom-counters-module version 4.4
nginx-custom-counters-module version 4.3
- Using logarithmic inclusive upper bound search algorithm when getting the range index in histograms.
- Log messages wrongly tagged as alert were re-tagged as notice or error.
nginx-custom-counters-module version 4.2
- Implemented histogram operation reuse to enable repeated re-declarations of histograms in a single counter set.
- Various bug fixes and improvements in histograms implementation.
nginx-custom-counters-module version 4.1
Added 7 predefined counters from the Nginx stub status module.
nginx-custom-counters-module version 4.0
- New features
- Added new predefined counter variables
$cnt_uptime
and$cnt_uptime_reload
to show seconds elapsed since Nginx master start and reload. - Added new directive
map_to_range_index
to facilitate working with contiguously distributed histograms such as request durations and sent bytes. - Added new predefined variable
$cnt_histograms
to expose internal layouts of histograms.
- Added new predefined counter variables
- Improvements
- Internal code reorganization.
- See also
- Haskell module NgxExport.Tools.Prometheus to convert custom counters from this module to Prometheus metrics.
nginx-custom-counters-module version 3.2
Bugfix: histograms were not properly initialized which could lead to segfaults when using them.
nginx-custom-counters-module version 3.1
Do not enable building persistent counters by default.
nginx-custom-counters-module version 3.0
- Implemented counter operation undo to disable changing the counter in the scope where this operation is declared.
- Implemented histograms as a convenient way of dealing with a set of normal counters associated with an arbitrary range.
nginx-custom-counters-module version 2.2
More fixes and improvements in implementation of persistent counters.
- Now relative path in directive counters_persistent_storage means that the counters will be loaded and stored in the Nginx prefix directory.
- Always set correct permissions for the backup storage file such that worker processes can write into it.
- Do not try to reopen inexistent main storage file on backup copy failure.
- Skip parsing empty persistent storages.
nginx-custom-counters-module version 2.1
Various fixes and improvements in implementation of the persistent counters backup.
- Stricter check for corruption of the backup file (
JSMN_STRICT
is on). - Check if to write the backup file only in a single phase of a request (namely, in the late log phase).
- Ensure that the backup file gets always checked after copying into the main storage file.
- Other less significant improvements and fixes.