Improve auth flow

This commit is contained in:
Urtzi Alfaro
2025-07-19 17:49:03 +02:00
parent f3071c00bd
commit abc8b68ab4
16 changed files with 1437 additions and 572 deletions

View File

@@ -1,31 +1,59 @@
---
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- "alerts.yml"
scrape_configs:
- job_name: 'gateway'
static_configs:
- targets: ['gateway:8080']
- targets: ['gateway:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'auth-service'
static_configs:
- targets: ['auth-service:8080']
- job_name: 'training-service'
static_configs:
- targets: ['training-service:8080']
- job_name: 'forecasting-service'
static_configs:
- targets: ['forecasting-service:8080']
- job_name: 'data-service'
static_configs:
- targets: ['data-service:8080']
- targets: ['auth-service:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'tenant-service'
static_configs:
- targets: ['tenant-service:8080']
- targets: ['tenant-service:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'training-service'
static_configs:
- targets: ['training-service:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'forecasting-service'
static_configs:
- targets: ['forecasting-service:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'data-service'
static_configs:
- targets: ['data-service:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'notification-service'
static_configs:
- targets: ['notification-service:8080']
- targets: ['notification-service:8000']
metrics_path: '/metrics'
scrape_interval: 30s
- job_name: 'redis'
static_configs:
- targets: ['redis:6379']
- job_name: 'rabbitmq'
static_configs:
- targets: ['rabbitmq:15692']