Skip to content

Commit

Permalink
ci: expose postgres metric exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Jan 23, 2023
1 parent 7432034 commit 8e33b43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ services:
command:
- "--statsd.mapping-config=/statsd/statsd.conf"
ports:
- 9102:9102
- ${STATSD_EXPOSE:-9102}:9102
postgres_exporter:
image: prometheuscommunity/postgres-exporter:v0.10.0
image: prometheuscommunity/postgres-exporter:v0.11.1
environment:
- DATA_SOURCE_NAME=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}?sslmode=disable
depends_on:
- postgres
ports:
- ${POSTGRES_EXPORTER_EXPOSE:-9187}:9187

0 comments on commit 8e33b43

Please sign in to comment.