xotcl-request-monitor

  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove all of /shared from request blocking

make blocked request easily detectable in monitoring tools like elasticsearch by using 429 as HTTP result code

added connection pool management

TODO: improved parmeterization

fix variable name (many thanks to Franz Penz)

whitespace cleanup

add support for deleted users, handle this case centrally

Try to avoid double-counting in request statistics, when a user logs

in. Previously, when a user logs in, the user was counted once as

un-authenticated user, and once as authenticated one.

TODO: when this works sufficiently well, the same should be done

as well for the 24h statistics.

- provide compatibility with Highcharts v8

- remove dependency on jquery

Highcharts: specify latest stable 7 as the version we support, as default is as today 8.0.1 , which is not compatible with current code

reduce string operations slightly

- set sanitize on logfile writer per default to 0

- change cleanup interval from 1h to 71min, since on the hour interval, there are already many things going on in OpenACS

Add 'require_html_procs' to the ::xo namespace in order to be compliant with OpenACS naming standards

  1. … 3 more files in changeset.
whitespace cleanup

strengthen page contracts

whitespace cleanup

provide nicer relative times

Rename string_truncate and string_truncate_middle to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

As string_truncate_middle was defined in xotcl-request-monitor, bring it to acs-tcl instead

    • -10
    • +10
    ./tcl/test/throttle_mod-test-procs.tcl
  1. … 8 more files in changeset.
Rename clock_to_ansi to lc_clock_to_ansi to comply with naming convention, replace occurrences, create deprecated wrapper

  1. … 5 more files in changeset.
handle newer versions of [ns_writer list] returning as well rate management info

Remove unnecessary 'aa_run_with_teardown'

    • -12
    • +8
    ./tcl/test/throttle_mod-test-procs.tcl
  1. … 3 more files in changeset.
improve spelling

prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 3 more files in changeset.
make sure, the dump fiile does not grow infinitely

adjust for boandwith management in NaviServer

modernize code: use resolver variables rather than method calls

  1. … 6 more files in changeset.
Add automated test for the 'string_truncate_middle'. Many thanks to Hanifa Hasan

    • -0
    • +35
    ./tcl/test/throttle_mod-test-procs.tcl
file throttle_mod-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/throttle_mod-test-procs.tcl
don't start accidentially thread via monitoring

improve documentation and make clear that strong dependency

of request monitor on bgdelivery does not exist anymore

use ns_asynclogfile instead of bgdelivery when available