feat: ЛР6 - наблюдаемость OpenTelemetry, Grafana и исследование цены наблюдаемости

This commit is contained in:
Ильяс
2026-11-27 20:09:36 +03:00
parent 38a00e1930
commit c549409d7b
25 changed files with 2599 additions and 187 deletions
+3
View File
@@ -9,6 +9,7 @@ from fastapi import FastAPI
from app.config import APP_HOST, APP_PORT, LOG_LEVEL
from app.errors import register_error_handlers
from app.middleware import RequestIdAndLoggingMiddleware
from app.telemetry import init_telemetry
from app.routes.attachments import router as attachments_router
from app.routes.auth import router as auth_router
from app.routes.chats import router as chats_router
@@ -37,6 +38,8 @@ async def lifespan(app: FastAPI):
await storage.disconnect()
init_telemetry("messenger-api")
app = FastAPI(
title="highload-messenger",
version="1.6.0",