Configuration
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- follow_redirects: true
scheme: http
timeout: 10s
api_version: v2
static_configs:
- targets:
- localhost:9093
rule_files:
- /etc/prometheus/prometheus/alert_rules.yml
- /etc/prometheus/prometheus/recording_rules.yml
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- localhost:4444
- job_name: windows-servers
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
file_sd_configs:
- files:
- /etc/prometheus/prometheus/sd/windows-servers.json
refresh_interval: 5m
- job_name: linux-servers
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
file_sd_configs:
- files:
- /etc/prometheus/prometheus/sd/linux-servers.json
refresh_interval: 5m
- job_name: keycloak
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: https
follow_redirects: true
static_configs:
- targets:
- sec02.celuwebcloud.com
labels:
env: production
service: auth
- job_name: loki
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- localhost:3100
labels:
service: logging
- job_name: api-gateway
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- API-GATEWAY:8001
- job_name: external-apis
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: https
follow_redirects: true
static_configs:
- targets:
- cw20-api-web-etix.celuwebcloud.com
- erp-cloud-api.celuwebdev.com
- cw20-api-scaffold-integration.celuwebcloud.com
- job_name: blackbox-http
honor_timestamps: true
params:
module:
- http_2xx
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /probe
scheme: http
follow_redirects: true
relabel_configs:
- source_labels: [__address__]
separator: ;
regex: (.*)
target_label: __param_target
replacement: $1
action: replace
- source_labels: [__param_target]
separator: ;
regex: (.*)
target_label: instance
replacement: $1
action: replace
- separator: ;
regex: (.*)
target_label: __address__
replacement: 127.0.0.1:9115
action: replace
static_configs:
- targets:
- https://cw20-api-web.sandboxcw.net/api/auth/business_unit?company_code=1000&device=mobile
- https://cw20-api-web.celuwebdev.com/api/auth/business_unit?company_code=1008&device=mobile
- https://cw20-api-web.celuwebcloud.com/api/auth/business_unit?company_code=1008&device=mobile
- https://cw20-api-web-etix.celuwebcloud.com/api/auth/business_unit?company_code=1008&device=mobile
- https://cw20-api-web-lego.celuwebcloud.com/api/auth/business_unit?company_code=1008&device=mobile
- https://pideky.celuwebcloud.com/Api/api/Status
- job_name: blackbox-exporter-metrics
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- 127.0.0.1:9115