add prometheus testing confs
This commit is contained in:
parent
deca9d1275
commit
1578176160
|
@ -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'
|
|
@ -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
|
Loading…
Reference in New Issue