Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/postgresql/pgbouncer_ | ||
|---|---|---|
| 31 | 31 |
if (!$pool_name) |
| 32 | 32 |
{
|
| 33 | 33 |
print "Cannot get pool name\n"; |
| 34 |
exit 1;
|
|
| 34 |
exit 1; |
|
| 35 | 35 |
} |
| 36 | 36 |
|
| 37 | 37 |
# command line arguments for autconf and config |
| ... | ... | |
| 164 | 164 |
} |
| 165 | 165 |
|
| 166 | 166 |
# connect to data |
| 167 |
my $dbh = DBI->connect("DBI:Pg:dbname=$db_name;host=$db_host;port=$db_port", $db_user, $db_pass)
|
|
| 167 |
my $dbh = DBI->connect("DBI:Pg:dbname=$db_name;host=$db_host;port=$db_port", $db_user, $db_pass)
|
|
| 168 | 168 |
or die ("Cannot connect to database");
|
| 169 | 169 |
# go trough each set and get the data |
| 170 | 170 |
foreach my $get ('pools', 'stats')
|
| ... | ... | |
| 256 | 256 |
env.pgbouncer_port 6542 |
| 257 | 257 |
env.pgbouncer_host localhost |
| 258 | 258 |
env.pgbouncer_pool dbname |
| 259 |
|
|
| 259 |
|
|
| 260 | 260 |
[pgbouncer_webmain] |
| 261 | 261 |
env.pgbouncer_pass barfoo |
| 262 | 262 |
env.pgbouncer_user bar |
| ... | ... | |
| 276 | 276 |
|
| 277 | 277 |
=head2 Average connections |
| 278 | 278 |
|
| 279 |
This graph will show the average amount of connections to the pgbouncer for this pool
|
|
| 279 |
This graph will show the average amount of connections to the pgbouncer for this pool |
|
| 280 | 280 |
|
| 281 | 281 |
=head2 Average query time |
| 282 | 282 |
|
Formats disponibles : Unified diff