feat(ops): upload node logs and task traffic [CI]
This commit is contained in:
1 parent
e82b165eb0
commit
6cf6b23585
25 files changed
+714
-13
No files matched your search
@@ -501,6 +501,23 @@ export interface paths {
|
||||
patch: operations["agents_update"];
|
||||
trace?: never;
|
||||
};
|
||||
"/api/admin/nodes/{id}/logs": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Recent Agent or Probe runtime logs */
|
||||
get: operations["node_runtime_logs"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/admin/agents/{id}/approve": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
@@ -1830,6 +1847,22 @@ export interface components {
|
||||
passkey: null | string;
|
||||
account: null | string;
|
||||
};
|
||||
NodeRuntimeLogDto: {
|
||||
/** Format: int64 */
|
||||
id: number | string;
|
||||
/** Format: date-time */
|
||||
at: unknown;
|
||||
level: string;
|
||||
message: string;
|
||||
fields: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
NodeRuntimeLogsDto: {
|
||||
items: components["schemas"]["NodeRuntimeLogDto"][];
|
||||
/** Format: int64 */
|
||||
dropped: number | string;
|
||||
};
|
||||
/** @enum {unknown} */
|
||||
NodeRuntimeStatus: "initializing" | "running" | "probe_paused" | "maintenance" | "stopping" | "offline" | "updating";
|
||||
NodeUpdateDto: {
|
||||
@@ -3843,6 +3876,48 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
node_runtime_logs: {
|
||||
parameters: {
|
||||
query?: {
|
||||
limit?: number | string;
|
||||
};
|
||||
header?: never;
|
||||
path: {
|
||||
id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description OK */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["NodeRuntimeLogsDto"];
|
||||
};
|
||||
};
|
||||
/** @description Unauthorized */
|
||||
401: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/problem+json": components["schemas"]["ProblemDto"];
|
||||
};
|
||||
};
|
||||
/** @description Forbidden */
|
||||
403: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/problem+json": components["schemas"]["ProblemDto"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
agents_approve: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
||||
Reference in new issue
Block a user