feat(prometheus): Prometheus container and basic scraping configuration (#1838)
This commit is contained in:
13
prometheus.yml
Normal file
13
prometheus.yml
Normal 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:
|
||||||
5
prometheus/prometheus.yml
Normal file
5
prometheus/prometheus.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
scrape_configs:
|
||||||
|
- job_name: "prometheus"
|
||||||
|
scrape_interval: 5s
|
||||||
|
static_configs:
|
||||||
|
- targets: ["prosody:5280","jvb:8080","jicofo:8888"]
|
||||||
Reference in New Issue
Block a user