added gitlab to my setup and configured it

This commit is contained in:
rezayaghobi-dev
2026-08-07 23:45:59 +03:30
parent 1c5997246a
commit 0f5a5f06ac
10 changed files with 1987 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'cadvisor'
static_configs:
- targets: ['cadvisor:8080']
- job_name: 'node_exporter'
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'gitlab'
metrics_path: '/-/metrics'
static_configs:
- targets: ['192.168.100.6:8929']
- job_name: 'gitlab-runner'
static_configs:
- targets: ['192.168.100.6:9252'] # Or your runner container name/IP