feat:初始化工程

This commit is contained in:
2025-10-19 22:16:27 +08:00
commit cb1a26b270
41 changed files with 657 additions and 0 deletions

Binary file not shown.

14
schemas/log_alert.py Normal file
View File

@@ -0,0 +1,14 @@
from pydantic import BaseModel, Field
class LogAlertTrigger(BaseModel):
alter_name: str
timestamp: int
class OpenobserveQuery(BaseModel):
start_time: int
end_time: int
from_: int = Field(default=0, alias="from")
size: int = 10
sql: str = "select * from default"