add prometheus testing confs

This commit is contained in:
rasmus 2020-12-23 10:33:46 +02:00
parent deca9d1275
commit 1578176160
2 changed files with 16 additions and 1 deletions

View File

@ -7,4 +7,10 @@ services:
#ports:
# - '8000:8000' # EXPOSING TO THE INTERWEBZ IS A BAD IDEA. USE DOCKER NETWORKS OR A REVERSE PROXY INSTEAD.
env_file:
- bss.env # SSH_HOSTNAME=172.16.16.16
- bss.env # SSH_HOSTNAME=172.16.16.16 ENCNAME=bladinator
#prometheus:
# image: prom/prometheus
# volumes:
# - './prometheus.yml:/etc/prometheus/prometheus.yml'
# ports:
# - '9090:9090'

9
prometheus.yml Normal file
View File

@ -0,0 +1,9 @@
# This is supplied to test bss, not run it.
global:
scrape_interval: 215s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets:
- bss:8000