Docs update for prometheus metrics addition of Postgres connections

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7090
GitOrigin-RevId: b5837af1960bfdb7c203b1d45b6548be1dfc31fe
This commit is contained in:
Manas Agarwal 2022-12-01 20:47:43 +05:30 committed by hasura-bot
parent 6c2419c572
commit e008e113d3

View File

@ -107,6 +107,15 @@ curl 'http://127.0.0.1:8080/v1/metrics' -H 'Authorization: Bearer <secret>'
<td>Gauge</td>
<td>none</td>
</tr>
<tr>
<td>hasura_postgres_connections</td>
<td>Current number of active PostgreSQL connections</td>
<td>Gauge</td>
<td>&#8226; "source_name": name of the database<br/>
&#8226; "conn_info": connection url string (password omitted) or name of the connection url environment variable<br/>
&#8226; "role": primary|replica
</td>
</tr>
</table>