feat(prometheus): Prometheus container and basic scraping configuration (#1838)
parent
9c87bba711
commit
0f7be5444b
@ -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…
Reference in new issue