Skip to content

Commit

Permalink
Merge pull request #1805 from vprashar2929/web-compose
Browse files Browse the repository at this point in the history
feat(compose): enable admin API for prometheus snapshot
  • Loading branch information
vprashar2929 authored Oct 14, 2024
2 parents 8672dc3 + 40357f7 commit 3eb6297
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/compose/monitoring/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ services:
target: /etc/prometheus/prometheus.yml
networks:
- monitoring
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --web.enable-admin-api

healthcheck:
test: wget -q --spider http://localhost:9090/ -O /dev/null || exit 1
Expand Down

0 comments on commit 3eb6297

Please sign in to comment.