Skip to content

Commit

Permalink
doc: added autovacuum metrics description
Browse files Browse the repository at this point in the history
  • Loading branch information
cuprumtan committed Sep 9, 2022
1 parent 17f123f commit 9bd4952
Showing 1 changed file with 116 additions and 0 deletions.
116 changes: 116 additions & 0 deletions documentation/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,122 @@ Default config:
</tr>
</table>

- **Autovacuum Utilization (instant)**

<table>
<tr>
<th>Name</th>
<td>PostgreSQL Autovacuum: Utilization per [MAMONSU_INTERVAL] seconds</td>
</tr>
<tr>
<th>Key</th>
<td>pgsql.autovacumm.utilization[]</td>
</tr>
<tr>
<th>Type</th>
<td>Numeric (float)</td>
</tr>
<tr>
<th>Units</th>
<td></td>
</tr>
<tr>
<th>Delta</th>
<td>As Is</td>
</tr>
<tr>
<th>Supported Version</th>
<td>9.5+</td>
</tr>
</table>

- **Autovacuum Utilization (average per 5 minutes)**

<table>
<tr>
<th>Name</th>
<td>PostgreSQL Autovacuum: Utilization per 5 minutes</td>
</tr>
<tr>
<th>Key</th>
<td>pgsql.autovacumm.utilization.avg5[]</td>
</tr>
<tr>
<th>Type</th>
<td>Numeric (float)</td>
</tr>
<tr>
<th>Units</th>
<td></td>
</tr>
<tr>
<th>Delta</th>
<td>As Is</td>
</tr>
<tr>
<th>Supported Version</th>
<td>9.5+</td>
</tr>
</table>

- **Autovacuum Utilization (average per 15 minutes)**

<table>
<tr>
<th>Name</th>
<td>PostgreSQL Autovacuum: Utilization per 15 minutes</td>
</tr>
<tr>
<th>Key</th>
<td>pgsql.autovacumm.utilization.avg15[]</td>
</tr>
<tr>
<th>Type</th>
<td>Numeric (float)</td>
</tr>
<tr>
<th>Units</th>
<td></td>
</tr>
<tr>
<th>Delta</th>
<td>As Is</td>
</tr>
<tr>
<th>Supported Version</th>
<td>9.5+</td>
</tr>
</table>

- **Autovacuum Utilization (average per 30 minutes)**

<table>
<tr>
<th>Name</th>
<td>PostgreSQL Autovacuum: Utilization per 30 minutes</td>
</tr>
<tr>
<th>Key</th>
<td>pgsql.autovacumm.utilization.avg30[]</td>
</tr>
<tr>
<th>Type</th>
<td>Numeric (float)</td>
</tr>
<tr>
<th>Units</th>
<td></td>
</tr>
<tr>
<th>Delta</th>
<td>As Is</td>
</tr>
<tr>
<th>Supported Version</th>
<td>9.5+</td>
</tr>
</table>

*Autovacuum Workers* evaluates as count of `pg_stat_activity.backend_type = 'autovacuum worker'` for PG 10+ and as summa of avtovacuum queries with not idle state for PG 9.6 and lower.

## Background Writer
Expand Down

0 comments on commit 9bd4952

Please sign in to comment.