14 lines
416 B
Python
14 lines
416 B
Python
"""监控模块"""
|
|
import os
|
|
|
|
from app.monitoring.metrics import *
|
|
from app.monitoring.middleware import MonitoringMiddleware
|
|
from app.monitoring.agent_hooks import agent_execution_context, record_agent_execution
|
|
from app.monitoring.llm_metrics import get_llm_metrics, LLMMetricsWrapper
|
|
|
|
# 设置服务信息
|
|
SERVICE_INFO.info({
|
|
"version": "1.0.0",
|
|
"environment": os.getenv("ENVIRONMENT", "development"),
|
|
})
|