first commit
This commit is contained in:
45
prometheus_data/prometheus.yml
Normal file
45
prometheus_data/prometheus.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
# config file for prometheus
|
||||
|
||||
# global config
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
evaluation_interval: 15s
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- follow_redirects: true
|
||||
enable_http2: true
|
||||
scheme: http
|
||||
timeout: 10s
|
||||
api_version: v2
|
||||
static_configs:
|
||||
- targets: []
|
||||
scrape_configs:
|
||||
#- job_name: prometheus
|
||||
# honor_timestamps: true
|
||||
# scrape_interval: 15s
|
||||
# scrape_timeout: 10s
|
||||
# metrics_path: /metrics
|
||||
# scheme: http
|
||||
# follow_redirects: true
|
||||
# enable_http2: true
|
||||
# static_configs:
|
||||
# - targets:
|
||||
# - 0.0.0.0:9090
|
||||
|
||||
- job_name: 'fastapi-node-1'
|
||||
scrape_interval: 10s
|
||||
metrics_path: "/metrics"
|
||||
static_configs:
|
||||
- targets: ['wag_management_service:41575']
|
||||
- job_name: 'fastapi-node-2'
|
||||
scrape_interval: 10s
|
||||
metrics_path: "/metrics"
|
||||
static_configs:
|
||||
- targets: ['wag_management_service_second:41575']
|
||||
#- job_name: 'fastapi-app'
|
||||
# scrape_interval: 10s
|
||||
# metrics_path: /metrics
|
||||
# static_configs:
|
||||
# - targets:
|
||||
# - wag_management_service:41575
|
||||
Reference in New Issue
Block a user