feat(prometheus): Prometheus container and basic scraping configuration (#1838)

pull/1850/head^2
24kushang 5 months ago committed by GitHub
parent 9c87bba711
commit 0f7be5444b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 13
      prometheus.yml
  2. 5
      prometheus/prometheus.yml

@ -0,0 +1,13 @@
services:
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
ports:
- 9090:9090
restart: ${RESTART_POLICY:-unless-stopped}
volumes:
- ./prometheus:/etc/prometheus
networks:
meet.jitsi:

@ -0,0 +1,5 @@
scrape_configs:
- job_name: "prometheus"
scrape_interval: 5s
static_configs:
- targets: ["prosody:5280","jvb:8080","jicofo:8888"]
Loading…
Cancel
Save