Implement lab6 observability with OpenTelemetry and Grafana
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import uvicorn
|
||||
|
||||
from src.core.settings import settings
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run(
|
||||
"src.main:app",
|
||||
host=settings.app_host,
|
||||
port=settings.app_port,
|
||||
workers=settings.app_workers,
|
||||
log_level=settings.log_level.lower(),
|
||||
timeout_graceful_shutdown=settings.shutdown_timeout_seconds,
|
||||
)
|
||||
Reference in New Issue
Block a user