initial COM1 gateway system blueprint
This commit is contained in:
20
monitoring/docker-prometheus.yml
Normal file
20
monitoring/docker-prometheus.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
hxki-prometheus:
|
||||
image: prom/prometheus:latest
|
||||
container_name: hxki-prometheus
|
||||
volumes:
|
||||
- /opt/hx-ki/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
command:
|
||||
- "--config.file=/etc/prometheus/prometheus.yml"
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9090:9090"
|
||||
networks:
|
||||
- hxki-internal
|
||||
- grafana_default
|
||||
|
||||
networks:
|
||||
hxki-internal:
|
||||
external: true
|
||||
grafana_default:
|
||||
external: true
|
||||
10
monitoring/prometheus.yml
Normal file
10
monitoring/prometheus.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'node-exporter'
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'localhost:9100'
|
||||
- 'ubuntu-16gb-hel1-1:9100'
|
||||
- 'ubuntu-8gb-nbg1-1:9100'
|
||||
Reference in New Issue
Block a user