aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/providers/common/metrics/protos/metrics_registry.proto
blob: 071444625820a205fdbdbd06933acd49ca52c8ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package NYql.NProto;


message TLabel {
    optional string Name = 1;
    optional string Value = 2;
}

message TBucket {
    optional double UpperBound = 1;
    optional int64 Value = 2;
}

message TCounter {
    optional TLabel Label = 1;
    optional int64 Value = 2;
    optional bool Derivative = 3;
    repeated TBucket Bucket = 4;
}

message TCounterGroup {
    optional TLabel Label = 1;
    repeated TCounter Counters = 2;
    repeated TCounterGroup Groups = 3;
}

message TMetricsRegistrySnapshot {
    optional TCounterGroup RootGroup = 1;
    optional bool DontIncrement = 2;
    optional bool MergeToRoot = 3;
}