slaventius 2 years ago
parent 08aa25b7ce
commit 0567e35cf8
  1. 11
      deploy/grafana/docker-compose.yaml
  2. 12
      deploy/prometheus/docker-compose.yaml
  3. 13
      deploy/prometheus/prometheus.yml

@ -0,0 +1,11 @@
version: "3.2"
services:
grafana:
image: grafana/grafana:latest
ports:
- 3000:3000
volumes:
- grafana-storage:/var/lib/grafana
volumes:
grafana-storage:

@ -0,0 +1,12 @@
version: "3.2"
services:
prometheus:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- prometheus_data:/prometheus
- ./prometheus.yml:/etc/prometheus/prometheus.yml
volumes:
prometheus_data:

@ -0,0 +1,13 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
static_configs:
- targets:
- localhost:9090
- job_name: test3k_auth
# metrics_path: /prometheus
static_configs:
- targets:
- 192.168.31.107:9994
Loading…
Cancel
Save