chore(ui): regenerate openapi types with AttributeFilter

This commit is contained in:
hsiegeln
2026-04-24 10:39:45 +02:00
parent f27a0044f1
commit 58e9695b4c
2 changed files with 200 additions and 2 deletions

File diff suppressed because one or more lines are too long

200
ui/src/api/schema.d.ts vendored
View File

@@ -1037,6 +1037,26 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/admin/server-metrics/query": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Generic time-series query
* @description Returns bucketed series for a single metric_name. Supports aggregation (avg/sum/max/min/latest), group-by-tag, filter-by-tag, counter delta mode, and a derived 'mean' statistic for timers.
*/
post: operations["query"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/admin/roles": { "/admin/roles": {
parameters: { parameters: {
query?: never; query?: never;
@@ -1556,7 +1576,7 @@ export interface paths {
}; };
/** /**
* Find the latest diagram for this app's route in this environment * Find the latest diagram for this app's route in this environment
* @description Resolves agents in this env for this app, then looks up the latest diagram for the route they reported. Env scope prevents a dev route from returning a prod diagram. * @description Returns the most recently stored diagram for (app, env, route). Independent of the agent registry, so routes removed from the current app version still resolve.
*/ */
get: operations["findByAppAndRoute"]; get: operations["findByAppAndRoute"];
put?: never; put?: never;
@@ -1912,6 +1932,46 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/admin/server-metrics/instances": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* List server_instance_id values observed in the window
* @description Returns first/last seen timestamps — use to partition counter-delta computations.
*/
get: operations["instances"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/admin/server-metrics/catalog": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* List metric names observed in the window
* @description For each metric_name, returns metric_type, the set of statistics emitted, and the union of tag keys.
*/
get: operations["catalog"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/admin/rbac/stats": { "/admin/rbac/stats": {
parameters: { parameters: {
query?: never; query?: never;
@@ -2209,6 +2269,17 @@ export interface components {
[key: string]: number; [key: string]: number;
}; };
sensitiveKeys?: string[]; sensitiveKeys?: string[];
/** Format: int32 */
exportBatchSize?: number;
/** Format: int32 */
exportQueueSize?: number;
/** Format: int64 */
exportFlushIntervalMs?: number;
exportOverflowMode?: string;
/** Format: int64 */
exportBlockTimeoutMs?: number;
/** Format: int32 */
flushRecordThreshold?: number;
}; };
TapDefinition: { TapDefinition: {
tapId?: string; tapId?: string;
@@ -2630,6 +2701,12 @@ export interface components {
/** Format: date-time */ /** Format: date-time */
createdAt?: string; createdAt?: string;
}; };
AttributeFilter: {
key?: string;
value?: string;
keyOnly?: boolean;
wildcard?: boolean;
};
SearchRequest: { SearchRequest: {
status?: string; status?: string;
/** Format: date-time */ /** Format: date-time */
@@ -2658,6 +2735,7 @@ export interface components {
sortDir?: string; sortDir?: string;
afterExecutionId?: string; afterExecutionId?: string;
environment?: string; environment?: string;
attributeFilters?: components["schemas"]["AttributeFilter"][];
}; };
ExecutionSummary: { ExecutionSummary: {
executionId: string; executionId: string;
@@ -2967,6 +3045,42 @@ export interface components {
SetPasswordRequest: { SetPasswordRequest: {
password?: string; password?: string;
}; };
QueryBody: {
metric?: string;
statistic?: string;
from?: string;
to?: string;
/** Format: int32 */
stepSeconds?: number;
groupByTags?: string[];
filterTags?: {
[key: string]: string;
};
aggregation?: string;
mode?: string;
serverInstanceIds?: string[];
};
ServerMetricPoint: {
/** Format: date-time */
t?: string;
/** Format: double */
v?: number;
};
ServerMetricQueryResponse: {
metric?: string;
statistic?: string;
aggregation?: string;
mode?: string;
/** Format: int32 */
stepSeconds?: number;
series?: components["schemas"]["ServerMetricSeries"][];
};
ServerMetricSeries: {
tags?: {
[key: string]: string;
};
points?: components["schemas"]["ServerMetricPoint"][];
};
CreateRoleRequest: { CreateRoleRequest: {
name?: string; name?: string;
description?: string; description?: string;
@@ -3491,6 +3605,19 @@ export interface components {
/** Format: int64 */ /** Format: int64 */
avgDurationMs?: number; avgDurationMs?: number;
}; };
ServerInstanceInfo: {
serverInstanceId?: string;
/** Format: date-time */
firstSeen?: string;
/** Format: date-time */
lastSeen?: string;
};
ServerMetricCatalogEntry: {
metricName?: string;
metricType?: string;
statistics?: string[];
tagKeys?: string[];
};
SensitiveKeysConfig: { SensitiveKeysConfig: {
keys?: string[]; keys?: string[];
}; };
@@ -6246,6 +6373,30 @@ export interface operations {
}; };
}; };
}; };
query: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["QueryBody"];
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ServerMetricQueryResponse"];
};
};
};
};
listRoles: { listRoles: {
parameters: { parameters: {
query?: never; query?: never;
@@ -7068,6 +7219,7 @@ export interface operations {
agentId?: string; agentId?: string;
processorType?: string; processorType?: string;
application?: string; application?: string;
attr?: string[];
offset?: number; offset?: number;
limit?: number; limit?: number;
sortField?: string; sortField?: string;
@@ -7822,6 +7974,52 @@ export interface operations {
}; };
}; };
}; };
instances: {
parameters: {
query?: {
from?: string;
to?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ServerInstanceInfo"][];
};
};
};
};
catalog: {
parameters: {
query?: {
from?: string;
to?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ServerMetricCatalogEntry"][];
};
};
};
};
getStats: { getStats: {
parameters: { parameters: {
query?: never; query?: never;