Skip to content

Commit

Permalink
Improved perldoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Jan 19, 2025
1 parent 7933637 commit b759108
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions parse_tomcat_access_logs.pl
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
#!/usr/bin/perl

#we do it in perl, since that's available on ubuntu:latest

=encoding Big5
=head1 parse_tomcat_access_logs()
Make an abstract of the tomcat access logs
Make an abstract of the tomcat access logs. This can be called manually,
but it return format is also recognized by ScriptMeterBinder.java (in vpro-shared-monitoring) which will use it as gauges for micrometer.
Parameters
- max age in minutes (defaults to 1440, one day)
=over 2
=item - max age in minutes (defaults to 60, one hour)
=back
It will give of the number of requests per
=over 2
=item - method and (beginning of) the path
=item - client
=item - status code
=item - what we might come up later
=back
January 2025 - Michiel Meeuwissen
=cut

Expand Down

0 comments on commit b759108

Please sign in to comment.