mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 12:01:06 +02:00
Add some missing metrics protobuf field TypeScript definitions
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
034c29411a
commit
d456d314d2
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user