LFG
Some checks failed
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Create Release (push) Has been cancelled

This commit is contained in:
Dev
2025-09-11 18:59:15 +03:00
commit 5440884b85
20 changed files with 3074 additions and 0 deletions

30
examples/prometheus.yml Normal file
View File

@@ -0,0 +1,30 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'gorz'
static_configs:
- targets: ['gorz:9090']
metrics_path: '/metrics'
scrape_interval: 5s
- job_name: 'webapp'
static_configs:
- targets: ['webapp:80']
metrics_path: '/metrics'
scrape_interval: 5s
- job_name: 'api'
static_configs:
- targets: ['api:80']
metrics_path: '/metrics'
scrape_interval: 5s