From: Darold Gilles Date: Wed, 13 Nov 2013 17:22:19 +0000 (+0100) Subject: Change "Simultaneous Connections" label into "Established Connections", it is less... X-Git-Tag: v5.0~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc4d13313a13fe2f501e68a6b88b1ad0d02b128f;p=pgbadger Change "Simultaneous Connections" label into "Established Connections", it is less confusing as many people think that this is the number of simultaneous sessions, which is not the case. It only count the number of connections established at same time. Thanks to Ronan Dunklau for the report. --- diff --git a/pgbadger b/pgbadger index a1e6286..5709554 100755 --- a/pgbadger +++ b/pgbadger @@ -2455,7 +2455,7 @@ sub html_header }; if (!$disable_hourly) { print $fh qq{ -
  • Simultaneous connections
  • +
  • Established connections
  • }; } print $fh qq{ @@ -3272,7 +3272,7 @@ sub compute_query_graphs } -sub print_simultaneous_connection +sub print_established_connection { my $connection_peak = 0; @@ -3286,8 +3286,8 @@ sub print_simultaneous_connection print $fh qq{

    Connections

    -
    -

    Simultaneous Connections

    +
    +

    Established Connections

    Key values

    @@ -3301,7 +3301,7 @@ sub print_simultaneous_connection

    Connections per second ($avg_minutes minutes average)

    $drawn_graphs{connectionspersecond_graph}
    -
    +
    }; delete $drawn_graphs{connectionspersecond_graph}; @@ -6026,7 +6026,7 @@ sub dump_as_html }; # Draw connections information - &print_simultaneous_connection() if (!$disable_hourly); + &print_established_connection() if (!$disable_hourly); # Show per database/user connections &print_database_connection() if (exists $connection_info{database});