From d456d314d2d422013afaf4819b19f010a337ca16 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Fri, 10 Apr 2026 16:01:23 +0200 Subject: [PATCH] Add some missing metrics protobuf field TypeScript definitions Signed-off-by: Julius Volz --- .../src/api/responseTypes/selfMetrics.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/web/ui/mantine-ui/src/api/responseTypes/selfMetrics.ts b/web/ui/mantine-ui/src/api/responseTypes/selfMetrics.ts index a19da1da44..c47374ae3b 100644 --- a/web/ui/mantine-ui/src/api/responseTypes/selfMetrics.ts +++ b/web/ui/mantine-ui/src/api/responseTypes/selfMetrics.ts @@ -31,15 +31,33 @@ export interface ProtoSummary { export interface ProtoBucket { cumulativeCount: string; + cumulativeCountFloat?: number; upperBound: number; exemplar?: ProtoExemplar; } +export interface ProtoBucketSpan { + offset: number; + length: number; +} + export interface ProtoHistogram { sampleCount: string; + sampleCountFloat?: number; sampleSum: number; bucket?: ProtoBucket[]; createdTimestamp?: string; + schema?: number; + zeroThreshold?: number; + zeroCount?: string; + zeroCountFloat?: number; + negativeSpan?: ProtoBucketSpan[]; + negativeDelta?: string[]; + negativeCount?: number[]; + positiveSpan?: ProtoBucketSpan[]; + positiveDelta?: string[]; + positiveCount?: number[]; + exemplars?: ProtoExemplar[]; } export interface ProtoExemplar {