feat(admin): 添加用户管理相关文件

添加用户管理视图、API和状态管理文件
This commit is contained in:
张翔
2026-03-28 14:37:29 +08:00
commit 08ea5fbe98
1643 changed files with 255646 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'test-environment'
scrape_configs:
- job_name: 'test-api-gateway'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['test-api-gateway:8080']
labels:
service: 'api-gateway'
application: 'everything-is-suitable-api'
environment: 'test'
scrape_interval: 15s
scrape_timeout: 10s
- job_name: 'test-admin-backend'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['test-admin-backend:8081']
labels:
service: 'admin-backend'
application: 'everything-is-suitable-admin'
environment: 'test'
scrape_interval: 15s
scrape_timeout: 10s
- job_name: 'test-postgres'
static_configs:
- targets: ['test-postgres:5432']
labels:
service: 'postgres'
environment: 'test'
scrape_interval: 30s
scrape_timeout: 10s
- job_name: 'test-redis'
static_configs:
- targets: ['test-redis:6379']
labels:
service: 'redis'
environment: 'test'
scrape_interval: 30s
scrape_timeout: 10s
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
labels:
service: 'prometheus'
environment: 'test'
scrape_interval: 30s
scrape_timeout: 10s
alerting:
alertmanagers:
- static_configs:
- targets: []
rule_files:
- 'alerting_rules.yml'