Skip to content

Releases: lyokha/nginx-custom-counters-module

nginx-custom-counters-module version 4.4

09 May 07:33
Compare
Choose a tag to compare
  • Added new predefined counters $cnt_start_time and $cnt_start_time_reload.
  • Separated JSON parse and structure errors.

nginx-custom-counters-module version 4.3

16 Nov 10:55
Compare
Choose a tag to compare
  • 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

11 Aug 15:02
Compare
Choose a tag to compare
  • 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

03 Jul 09:25
Compare
Choose a tag to compare

Added 7 predefined counters from the Nginx stub status module.

nginx-custom-counters-module version 4.0

02 Jul 12:46
Compare
Choose a tag to compare
  • 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.
  • Improvements
    • Internal code reorganization.
  • See also

nginx-custom-counters-module version 3.2

27 May 12:39
Compare
Choose a tag to compare

Bugfix: histograms were not properly initialized which could lead to segfaults when using them.

nginx-custom-counters-module version 3.1

26 May 09:01
Compare
Choose a tag to compare

Do not enable building persistent counters by default.

nginx-custom-counters-module version 3.0

22 May 07:11
Compare
Choose a tag to compare
  • 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

18 Mar 10:00
Compare
Choose a tag to compare

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

19 Feb 16:12
Compare
Choose a tag to compare

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.