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

This commit is contained in:
24kushang 2024-07-03 21:50:28 +05:30 committed by GitHub
parent 9c87bba711
commit 0f7be5444b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

13
prometheus.yml Normal file
View File

@ -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:

View File

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