mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 06:34:22 +00:00
feat: init prometheus.yml file
This commit is contained in:
@@ -92,7 +92,7 @@ services:
|
|||||||
# Website
|
# Website
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
web:
|
web:
|
||||||
build: ./guezoloic/website
|
build: ./guezoloic/website # using guezoloic website repo
|
||||||
container_name: guezoloic-web
|
container_name: guezoloic-web
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
8
config/prometheus.yml
Normal file
8
config/prometheus.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
global:
|
||||||
|
scrape_interval: 15s
|
||||||
|
evaluation_interval: 15s
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: 'prometheus'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['prometheus:9090']
|
||||||
Reference in New Issue
Block a user