Skip to content

Commit

Permalink
image changes for monitoring
Browse files Browse the repository at this point in the history
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
  • Loading branch information
HiranmoyChowdhury authored and raihankhan committed Dec 13, 2024
1 parent d03be11 commit 17b4b93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/guides/pgbouncer/monitoring/using-builtin-prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,9 @@ Forwarding from [::1]:9090 -> 9090
Now, we can access the dashboard at `localhost:9090`. Open [http://localhost:9090](http://localhost:9090) in your browser. You should see the endpoint of `builtin-prom-pb-stats` service as one of the targets.

<p align="center">
  <img alt="Prometheus Target" height="100%" src="/docs/images/pgbouncer/monitoring/pb-builtin-prom-target.png" style="padding:10px">
  <img alt="Prometheus Target" src="/docs/images/pgbouncer/monitoring/pb-builtin-prom-target.png" style="padding:10px">
</p>


Check the labels marked with red rectangle. These labels confirm that the metrics are coming from `PgBouncer` database `builtin-prom-pb` through stats service `builtin-prom-pb-stats`.

Now, you can view the collected metrics and create a graph from homepage of this Prometheus dashboard. You can also use this Prometheus server as data source for [Grafana](https://grafana.com/) and create beautiful dashboard with collected metrics.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 17b4b93

Please sign in to comment.