Skip to content

Commit 0f7be54

Browse files
authored
feat(prometheus): Prometheus container and basic scraping configuration (#1838)
1 parent 9c87bba commit 0f7be54

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

prometheus.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
services:
2+
prometheus:
3+
image: prom/prometheus
4+
container_name: prometheus
5+
command:
6+
- "--config.file=/etc/prometheus/prometheus.yml"
7+
ports:
8+
- 9090:9090
9+
restart: ${RESTART_POLICY:-unless-stopped}
10+
volumes:
11+
- ./prometheus:/etc/prometheus
12+
networks:
13+
meet.jitsi:

prometheus/prometheus.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
scrape_configs:
2+
- job_name: "prometheus"
3+
scrape_interval: 5s
4+
static_configs:
5+
- targets: ["prosody:5280","jvb:8080","jicofo:8888"]

0 commit comments

Comments
 (0)